@elastic/eui-theme-common 2.2.0 → 3.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.
@@ -242,6 +242,8 @@ export declare type _EuiThemeBorderColors = {
242
242
  borderBaseFloating: ColorModeSwitch;
243
243
  borderBaseFormsColorSwatch: ColorModeSwitch;
244
244
  borderBaseFormsControl: ColorModeSwitch;
245
+ borderInteractiveFormsHoverPlain: ColorModeSwitch;
246
+ borderInteractiveFormsHoverDanger: ColorModeSwitch;
245
247
  borderStrongPrimary: ColorModeSwitch;
246
248
  borderStrongAccent: ColorModeSwitch;
247
249
  borderStrongAccentSecondary: ColorModeSwitch;
@@ -330,9 +332,9 @@ export declare type _EuiThemeConstantColors = {
330
332
  ink: string;
331
333
  plainLight: string;
332
334
  plainDark: string;
333
- severity: _EuiThemeSeverityColors;
334
335
  };
335
336
  export declare type _EuiThemeColorsMode = _EuiThemeBrandColors & _EuiThemeBrandTextColors & _EuiThemeShadeColors & _EuiThemeSpecialColors & _EuiThemeTextColors & _EuiThemeBackgroundColors & _EuiThemeTransparentBackgroundColors & _EuiThemeBorderColors;
336
337
  export declare type _EuiThemeColors = StrictColorModeSwitch<_EuiThemeColorsMode & {
337
338
  vis: _EuiThemeVisColors;
339
+ severity: _EuiThemeSeverityColors;
338
340
  }> & _EuiThemeConstantColors;
@@ -1,5 +1,6 @@
1
1
  export declare type EuiThemeVariantFlags = {
2
2
  buttonVariant: 'classic' | 'refresh';
3
+ formVariant: 'classic' | 'refresh';
3
4
  };
4
5
  /**
5
6
  * Theme specific setting flags
@@ -8,9 +8,17 @@ export declare type _EuiThemeFormColors = {
8
8
  backgroundReadOnly: ColorModeSwitch;
9
9
  backgroundFocused: ColorModeSwitch;
10
10
  backgroundAutofilled: ColorModeSwitch;
11
+ backgroundDropping: ColorModeSwitch;
11
12
  prependBackground: ColorModeSwitch;
12
13
  border: ColorModeSwitch;
14
+ borderDisabled: ColorModeSwitch;
15
+ borderFocused: ColorModeSwitch;
16
+ borderInvalid: ColorModeSwitch;
17
+ borderHovered: ColorModeSwitch;
18
+ borderInvalidHovered: ColorModeSwitch;
13
19
  borderAutofilled: ColorModeSwitch;
20
+ borderAutofilledHovered: ColorModeSwitch;
21
+ clearButtonBackground: ColorModeSwitch;
14
22
  controlBorder: ColorModeSwitch;
15
23
  controlBorderSelected: ColorModeSwitch;
16
24
  controlBorderDisabled: ColorModeSwitch;
@@ -242,6 +242,8 @@ export declare type _EuiThemeBorderColors = {
242
242
  borderBaseFloating: ColorModeSwitch;
243
243
  borderBaseFormsColorSwatch: ColorModeSwitch;
244
244
  borderBaseFormsControl: ColorModeSwitch;
245
+ borderInteractiveFormsHoverPlain: ColorModeSwitch;
246
+ borderInteractiveFormsHoverDanger: ColorModeSwitch;
245
247
  borderStrongPrimary: ColorModeSwitch;
246
248
  borderStrongAccent: ColorModeSwitch;
247
249
  borderStrongAccentSecondary: ColorModeSwitch;
@@ -330,9 +332,9 @@ export declare type _EuiThemeConstantColors = {
330
332
  ink: string;
331
333
  plainLight: string;
332
334
  plainDark: string;
333
- severity: _EuiThemeSeverityColors;
334
335
  };
335
336
  export declare type _EuiThemeColorsMode = _EuiThemeBrandColors & _EuiThemeBrandTextColors & _EuiThemeShadeColors & _EuiThemeSpecialColors & _EuiThemeTextColors & _EuiThemeBackgroundColors & _EuiThemeTransparentBackgroundColors & _EuiThemeBorderColors;
336
337
  export declare type _EuiThemeColors = StrictColorModeSwitch<_EuiThemeColorsMode & {
337
338
  vis: _EuiThemeVisColors;
339
+ severity: _EuiThemeSeverityColors;
338
340
  }> & _EuiThemeConstantColors;
@@ -1,5 +1,6 @@
1
1
  export declare type EuiThemeVariantFlags = {
2
2
  buttonVariant: 'classic' | 'refresh';
3
+ formVariant: 'classic' | 'refresh';
3
4
  };
4
5
  /**
5
6
  * Theme specific setting flags
@@ -8,9 +8,17 @@ export declare type _EuiThemeFormColors = {
8
8
  backgroundReadOnly: ColorModeSwitch;
9
9
  backgroundFocused: ColorModeSwitch;
10
10
  backgroundAutofilled: ColorModeSwitch;
11
+ backgroundDropping: ColorModeSwitch;
11
12
  prependBackground: ColorModeSwitch;
12
13
  border: ColorModeSwitch;
14
+ borderDisabled: ColorModeSwitch;
15
+ borderFocused: ColorModeSwitch;
16
+ borderInvalid: ColorModeSwitch;
17
+ borderHovered: ColorModeSwitch;
18
+ borderInvalidHovered: ColorModeSwitch;
13
19
  borderAutofilled: ColorModeSwitch;
20
+ borderAutofilledHovered: ColorModeSwitch;
21
+ clearButtonBackground: ColorModeSwitch;
14
22
  controlBorder: ColorModeSwitch;
15
23
  controlBorderSelected: ColorModeSwitch;
16
24
  controlBorderDisabled: ColorModeSwitch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elastic/eui-theme-common",
3
- "version": "2.2.0",
3
+ "version": "3.1.0",
4
4
  "description": "EUI theme common",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "scripts": {
@@ -59,8 +59,8 @@
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@emotion/react": "11.x",
62
- "react": "^16.12 || ^17.0 || ^18.0",
63
- "react-dom": "^16.12 || ^17.0 || ^18.0"
62
+ "react": "^17.0 || ^18.0",
63
+ "react-dom": "^17.0 || ^18.0"
64
64
  },
65
65
  "main": "lib/cjs/index.js",
66
66
  "exports": {