From 04b8e98d31ebd230dda1dbd5b21a429b9ff3b750 Mon Sep 17 00:00:00 2001 From: Anish Aggarwal Date: Wed, 11 Mar 2020 15:45:05 +0530 Subject: [PATCH 1/4] fixed some imports --- src-docs/src/views/expression/expression.js | 3 +-- src-docs/src/views/facet/facet_layout.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src-docs/src/views/expression/expression.js b/src-docs/src/views/expression/expression.js index 37e167e0034..d6a8834c22d 100644 --- a/src-docs/src/views/expression/expression.js +++ b/src-docs/src/views/expression/expression.js @@ -7,10 +7,9 @@ import { EuiPopover, EuiSelect, EuiFieldNumber, + EuiExpression, } from '../../../../src/components'; -import { EuiExpression } from '../../../../src/components/expression'; - // Rise the popovers above GuidePageSideNav const POPOVER_STYLE = { zIndex: '200' }; diff --git a/src-docs/src/views/facet/facet_layout.js b/src-docs/src/views/facet/facet_layout.js index dadaf3f89a9..ecf95a1bd9e 100644 --- a/src-docs/src/views/facet/facet_layout.js +++ b/src-docs/src/views/facet/facet_layout.js @@ -9,7 +9,7 @@ import { EuiSpacer, } from '../../../../src/components'; -import { VISUALIZATION_COLORS } from '../../../../src/services/color/visualization_colors'; +import { VISUALIZATION_COLORS } from '../../../../src/services'; export default class extends Component { constructor(props) { From 8601a107d703aef20f15b6dba5b3e8f3dc3c8064 Mon Sep 17 00:00:00 2001 From: Anish Aggarwal Date: Wed, 11 Mar 2020 16:55:03 +0530 Subject: [PATCH 2/4] more imports fixed --- src-docs/src/views/accordion/accordion_grow.js | 2 +- src-docs/src/views/elastic_charts/sizes.js | 5 +---- src-docs/src/views/elastic_charts/time_chart.js | 5 +---- src/services/index.ts | 1 + 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src-docs/src/views/accordion/accordion_grow.js b/src-docs/src/views/accordion/accordion_grow.js index 4fed2a5b50d..f895955e114 100644 --- a/src-docs/src/views/accordion/accordion_grow.js +++ b/src-docs/src/views/accordion/accordion_grow.js @@ -10,7 +10,7 @@ import { EuiText, EuiScreenReaderOnly, } from '../../../../src/components'; -import { htmlIdGenerator } from '../../../../src/services/accessibility/html_id_generator'; +import { htmlIdGenerator } from '../../../../src/services'; class Rows extends Component { state = { diff --git a/src-docs/src/views/elastic_charts/sizes.js b/src-docs/src/views/elastic_charts/sizes.js index e6d702a20fb..e0568b9dbb1 100644 --- a/src-docs/src/views/elastic_charts/sizes.js +++ b/src-docs/src/views/elastic_charts/sizes.js @@ -29,10 +29,7 @@ import { EuiCopy, } from '../../../../src/components'; -import { - formatDate, - dateFormatAliases, -} from '../../../../src/services/format/format_date'; +import { formatDate, dateFormatAliases } from '../../../../src/services'; import { MultiChartCard, ChartCard } from './shared'; diff --git a/src-docs/src/views/elastic_charts/time_chart.js b/src-docs/src/views/elastic_charts/time_chart.js index 52885dc773a..dc4b182ac4c 100644 --- a/src-docs/src/views/elastic_charts/time_chart.js +++ b/src-docs/src/views/elastic_charts/time_chart.js @@ -24,10 +24,7 @@ import { EuiButton, } from '../../../../src/components'; -import { - formatDate, - dateFormatAliases, -} from '../../../../src/services/format/format_date'; +import { formatDate, dateFormatAliases } from '../../../../src/services'; import { TIME_DATA, TIME_DATA_2 } from './data'; import { diff --git a/src/services/index.ts b/src/services/index.ts index 6dcddf73154..78f6f8ff63d 100644 --- a/src/services/index.ts +++ b/src/services/index.ts @@ -53,6 +53,7 @@ export { formatDate, formatNumber, formatText, + dateFormatAliases, } from './format'; export { isEvenlyDivisibleBy, isWithinRange } from './number'; From bf29a753df3e6db66dc8bd1b9e74fbafd3395ee9 Mon Sep 17 00:00:00 2001 From: Anish Aggarwal Date: Wed, 11 Mar 2020 21:05:53 +0530 Subject: [PATCH 3/4] added changelog entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fb899c4736..e5b18330a8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## [`master`](https://github.com/elastic/eui/tree/master) + +- Exported `dateFormatAliases` as a part of the public API ([#3043](https://github.com/elastic/eui/pull/3043)) - Added `prepend` and `append` ability to `EuiComboBox` single selection only ([#3003](https://github.com/elastic/eui/pull/3003)) **Bug Fixes** From b583370ed5aa40c1492af14d544c4b30c94d4570 Mon Sep 17 00:00:00 2001 From: Anish Aggarwal <43617894+anishagg17@users.noreply.github.com> Date: Thu, 12 Mar 2020 00:57:28 +0530 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c07d32ae225..bc13fc4afc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,5 @@ ## [`master`](https://github.com/elastic/eui/tree/master) - - Exported `dateFormatAliases` as a part of the public API ([#3043](https://github.com/elastic/eui/pull/3043)) - Exported `EuiTextProps` type definition ([#3039](https://github.com/elastic/eui/pull/3039)) - Added `prepend` and `append` ability to `EuiComboBox` single selection only ([#3003](https://github.com/elastic/eui/pull/3003))