From 3ec9469a42260b9c414bd80ceaecc2d7dcb67f15 Mon Sep 17 00:00:00 2001 From: Shrey Dubey Date: Sun, 21 Jun 2020 11:51:41 +0530 Subject: [PATCH 1/6] Returned EuiCardProps in the card component --- src/components/card/card.tsx | 2 +- src/components/card/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/card/card.tsx b/src/components/card/card.tsx index 51aa0a45840..4a3354e966e 100644 --- a/src/components/card/card.tsx +++ b/src/components/card/card.tsx @@ -66,7 +66,7 @@ const displayToClassNameMap: { [display in CardDisplay]: string } = { export const DISPLAYS = keysOf(displayToClassNameMap); -type EuiCardProps = Omit & { +export type EuiCardProps = Omit & { /** * Card's are required to have at least a title and description */ diff --git a/src/components/card/index.ts b/src/components/card/index.ts index 572aea4042f..c6770a6c576 100644 --- a/src/components/card/index.ts +++ b/src/components/card/index.ts @@ -17,5 +17,5 @@ * under the License. */ -export { EuiCard } from './card'; +export { EuiCard, EuiCardProps } from './card'; export { EuiCheckableCard } from './checkable_card'; From d80d783f217a39349d951a94e29f75936652ef79 Mon Sep 17 00:00:00 2001 From: Shrey Dubey Date: Sun, 21 Jun 2020 12:06:19 +0530 Subject: [PATCH 2/6] Updated Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6c7090a43e..6b8f1527367 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ No public interface changes since `26.0.1`. ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) +- Returned `EuiCardProps` in the `EuiCard` component ([#3640](https://github.com/elastic/eui/pull/3640)) + **Bug fixes** - Fixed fullscreen render issue in `EuiCode` ([#3633](https://github.com/elastic/eui/pull/3633)) From 436cd2ba2bd9ae22b1ca18246b95a33a4274a5b0 Mon Sep 17 00:00:00 2001 From: Shrey Dubey Date: Tue, 23 Jun 2020 21:18:57 +0530 Subject: [PATCH 3/6] Updated changes --- CHANGELOG.md | 2 +- src/components/card/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b8f1527367..5dc14278737 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ No public interface changes since `26.0.1`. ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) -- Returned `EuiCardProps` in the `EuiCard` component ([#3640](https://github.com/elastic/eui/pull/3640)) +- Exported `EuiCardProps` in the `EuiCard` component and `EuiCheckableCardProps` in `EuiCheckableCard` component([#3640](https://github.com/elastic/eui/pull/3640)) **Bug fixes** diff --git a/src/components/card/index.ts b/src/components/card/index.ts index c6770a6c576..b85e0d3cc63 100644 --- a/src/components/card/index.ts +++ b/src/components/card/index.ts @@ -18,4 +18,4 @@ */ export { EuiCard, EuiCardProps } from './card'; -export { EuiCheckableCard } from './checkable_card'; +export { EuiCheckableCard, EuiCheckableCardProps } from './checkable_card'; From 1a647c5e545442c15421a50717467b4a2ccc4e53 Mon Sep 17 00:00:00 2001 From: Shrey Dubey Date: Tue, 23 Jun 2020 21:21:22 +0530 Subject: [PATCH 4/6] updated --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dc14278737..0c4589b1c0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ No public interface changes since `26.0.1`. ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) -- Exported `EuiCardProps` in the `EuiCard` component and `EuiCheckableCardProps` in `EuiCheckableCard` component([#3640](https://github.com/elastic/eui/pull/3640)) +- Exported `EuiCardProps` in the `EuiCard` Typesrcipt types and `EuiCheckableCardProps` in `EuiCheckableCard` Typescript types([#3640](https://github.com/elastic/eui/pull/3640)) **Bug fixes** From bb36013d08487f9fcbe7f204e1298d75f0f5a357 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 23 Jun 2020 12:36:00 -0600 Subject: [PATCH 5/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c4589b1c0c..9d9da751a58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ No public interface changes since `26.0.1`. ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) -- Exported `EuiCardProps` in the `EuiCard` Typesrcipt types and `EuiCheckableCardProps` in `EuiCheckableCard` Typescript types([#3640](https://github.com/elastic/eui/pull/3640)) +- Exported `EuiCardProps` and `EuiCheckableCardProps` types ([#3640](https://github.com/elastic/eui/pull/3640)) **Bug fixes** From 38b18e31972a0f52e01363c4ae5c8026b8e21c11 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 23 Jun 2020 12:41:33 -0600 Subject: [PATCH 6/6] CL --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d9da751a58..89c84846981 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,9 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `26.0.1`. +- Exported `EuiCardProps` and `EuiCheckableCardProps` types ([#3640](https://github.com/elastic/eui/pull/3640)) ## [`26.0.1`](https://github.com/elastic/eui/tree/v26.0.1) -- Exported `EuiCardProps` and `EuiCheckableCardProps` types ([#3640](https://github.com/elastic/eui/pull/3640)) - **Bug fixes** - Fixed fullscreen render issue in `EuiCode` ([#3633](https://github.com/elastic/eui/pull/3633))