Skip to content

Commit

Permalink
Remove deprecated euiPaletteComplimentary (#7333)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Nov 2, 2023
1 parent 6428ca8 commit 8b67ea6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/services/color/eui_palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,6 @@ export const euiPaletteComplementary = function (steps: number): EuiPalette {
);
};

/**
* The old typo'd name for this palette remains exported until the end of its deprecation period
* @deprecated Use euiPaletteComplementary instead
*/
export const euiPaletteComplimentary = euiPaletteComplementary;

export const euiPaletteNegative = function (steps: number): EuiPalette {
if (steps === 1) {
return [lightNegativeColor];
Expand Down
1 change: 0 additions & 1 deletion src/services/color/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export {
euiPaletteColorBlindBehindText,
euiPaletteForStatus,
euiPaletteForTemperature,
euiPaletteComplimentary,
euiPaletteComplementary,
euiPaletteNegative,
euiPalettePositive,
Expand Down
1 change: 0 additions & 1 deletion src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export {
desaturate,
euiPaletteColorBlind,
euiPaletteColorBlindBehindText,
euiPaletteComplimentary,
euiPaletteComplementary,
euiPaletteCool,
euiPaletteForDarkBackground,
Expand Down
3 changes: 3 additions & 0 deletions upcoming_changelogs/7333.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Breaking changes**

- Removed deprecated `euiPaletteComplimentary` - use `euiPaletteComplementary` Instead

0 comments on commit 8b67ea6

Please sign in to comment.