Skip to content

Commit

Permalink
fixed some imports (#3043)
Browse files Browse the repository at this point in the history
* fixed some imports

* more imports fixed

* added changelog entry

* Update CHANGELOG.md
  • Loading branch information
anishagg17 authored Mar 11, 2020
1 parent f416a41 commit f2b07da
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## [`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))

Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/accordion/accordion_grow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
5 changes: 1 addition & 4 deletions src-docs/src/views/elastic_charts/sizes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
5 changes: 1 addition & 4 deletions src-docs/src/views/elastic_charts/time_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 1 addition & 2 deletions src-docs/src/views/expression/expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' };

Expand Down
2 changes: 1 addition & 1 deletion src-docs/src/views/facet/facet_layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions src/services/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export {
formatDate,
formatNumber,
formatText,
dateFormatAliases,
} from './format';

export { isEvenlyDivisibleBy, isWithinRange } from './number';
Expand Down

0 comments on commit f2b07da

Please sign in to comment.