Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated euiPaletteComplimentary #7333

Merged
merged 2 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading