From c19afc90639de11bb80282f794a4472c8f6eb96e Mon Sep 17 00:00:00 2001 From: Bree Hall Date: Wed, 21 Sep 2022 14:14:18 -0400 Subject: [PATCH 001/107] Updated EUI to version 67.1.2. Updated instaces of ButtonColor from EUI to EuiButtonColor. --- package.json | 2 +- .../src/application_leave.tsx | 4 ++-- .../application/core-application-browser/src/app_leave.ts | 6 +++--- .../sample_data_card/src/sample_data_card.component.tsx | 2 +- src/dev/license_checker/config.ts | 2 +- yarn.lock | 8 ++++---- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index c138d74d8f0a87..cfb0c1147e2d7d 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.3.0-canary.1", "@elastic/ems-client": "8.3.3", - "@elastic/eui": "64.0.4", + "@elastic/eui": "67.1.2", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", diff --git a/packages/core/application/core-application-browser-internal/src/application_leave.tsx b/packages/core/application/core-application-browser-internal/src/application_leave.tsx index e6c7bc8b4ad7a0..d2a82cbb129c88 100644 --- a/packages/core/application/core-application-browser-internal/src/application_leave.tsx +++ b/packages/core/application/core-application-browser-internal/src/application_leave.tsx @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import type { ButtonColor } from '@elastic/eui'; +import type { EuiButtonColor } from '@elastic/eui'; import { AppLeaveActionType, type AppLeaveActionFactory, @@ -20,7 +20,7 @@ const appLeaveActionFactory: AppLeaveActionFactory = { title?: string, callback?: () => void, confirmButtonText?: string, - buttonColor?: ButtonColor + buttonColor?: EuiButtonColor ) { return { type: AppLeaveActionType.confirm, diff --git a/packages/core/application/core-application-browser/src/app_leave.ts b/packages/core/application/core-application-browser/src/app_leave.ts index 683d55296ff660..edc18c5ef8a483 100644 --- a/packages/core/application/core-application-browser/src/app_leave.ts +++ b/packages/core/application/core-application-browser/src/app_leave.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import type { ButtonColor } from '@elastic/eui'; +import type { EuiButtonColor } from '@elastic/eui'; /** * A handler that will be executed before leaving the application, either when @@ -61,7 +61,7 @@ export interface AppLeaveConfirmAction { text: string; title?: string; confirmButtonText?: string; - buttonColor?: ButtonColor; + buttonColor?: EuiButtonColor; callback?: () => void; } @@ -95,7 +95,7 @@ export interface AppLeaveActionFactory { title?: string, callback?: () => void, confirmButtonText?: string, - buttonColor?: ButtonColor + buttonColor?: EuiButtonColor ): AppLeaveConfirmAction; /** diff --git a/packages/home/sample_data_card/src/sample_data_card.component.tsx b/packages/home/sample_data_card/src/sample_data_card.component.tsx index 65712271faff29..eb0217dc61c89c 100644 --- a/packages/home/sample_data_card/src/sample_data_card.component.tsx +++ b/packages/home/sample_data_card/src/sample_data_card.component.tsx @@ -36,7 +36,7 @@ export const SampleDataCard = ({ const { name: title, description, id } = sampleDataSet; const betaBadgeProps = { - label: sampleDataSet.status === INSTALLED_STATUS ? INSTALLED_STATUS : null, + label: sampleDataSet.status === INSTALLED_STATUS ? INSTALLED_STATUS : '', }; const footer =