Skip to content

Commit

Permalink
resolves imports now that is fully TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Mar 1, 2020
1 parent a496fcc commit 0c83005
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 19 deletions.
4 changes: 1 addition & 3 deletions src/components/date_picker/date_picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ import classNames from 'classnames';
import { Moment } from 'moment'; // eslint-disable-line import/named
import { ReactDatePicker as DatePicker } from '../../../packages';

import { EuiFormControlLayout } from '../form/form_control_layout';

import { EuiValidatableControl } from '../form/validatable_control';
import { EuiFormControlLayout, EuiValidatableControl } from '../form';

import { EuiErrorBoundary } from '../error_boundary';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import moment, { Moment, LocaleSpecifier } from 'moment'; // eslint-disable-line
import dateMath from '@elastic/datemath';

import { EuiDatePicker } from '../../date_picker';
import { EuiFormRow } from '../../../form/form_row';
import { EuiFieldText } from '../../../form/field_text';
import { EuiFormLabel } from '../../../form/form_label';
import { EuiFormRow, EuiFieldText, EuiFormLabel } from '../../../form';
import { toSentenceCase } from '../../../../services/string/to_case';
import { ReactDatePickerProps } from '../../react-datepicker'; // eslint-disable-line import/no-unresolved

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ import dateMath from '@elastic/datemath';
import { toSentenceCase } from '../../../../services/string/to_case';
import { htmlIdGenerator } from '../../../../services';
import { EuiFlexGroup, EuiFlexItem } from '../../../flex';
// @ts-ignore
import { EuiForm } from '../../../form/form';
import { EuiFormRow } from '../../../form/form_row';
import { EuiSelect } from '../../../form/select';
import { EuiFieldNumber } from '../../../form/field_number';
import { EuiFieldText } from '../../../form/field_text';
import { EuiSwitch, EuiSwitchEvent } from '../../../form/switch';
import { EuiFormLabel } from '../../../form/form_label';
import {
EuiForm,
EuiFormRow,
EuiSelect,
EuiFieldNumber,
EuiFieldText,
EuiSwitch,
EuiFormLabel,
EuiSwitchEvent,
} from '../../../form';
import { EuiSpacer } from '../../../spacer';

import { timeUnits } from '../time_units';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ import { htmlIdGenerator } from '../../../../services';
import { EuiButton, EuiButtonIcon } from '../../../button';
import { EuiFlexGroup, EuiFlexItem } from '../../../flex';
import { EuiSpacer } from '../../../spacer';
import { EuiSelect } from '../../../form/select';
import { EuiFieldNumber } from '../../../form/field_number';
import { EuiSelect, EuiFieldNumber } from '../../../form';
import { EuiToolTip } from '../../../tool_tip';
import { EuiHorizontalRule } from '../../../horizontal_rule';
import { EuiI18n } from '../../../i18n';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { EuiI18n } from '../../../i18n';
import { EuiFlexGroup, EuiFlexItem } from '../../../flex';
import { EuiTitle } from '../../../title';
import { EuiSpacer } from '../../../spacer';
import { EuiSelect } from '../../../form/select';
import { EuiFieldNumber } from '../../../form/field_number';
import { EuiSelect, EuiFieldNumber } from '../../../form';
import { EuiButton } from '../../../button';
import { htmlIdGenerator } from '../../../../services';
import { EuiScreenReaderOnly } from '../../../accessibility';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { EuiQuickSelectPopover } from './quick_select_popover/quick_select_popov
import { EuiDatePopoverButton } from './date_popover/date_popover_button';

import { EuiDatePickerRange } from '../date_picker_range';
import { EuiFormControlLayout } from '../../form/form_control_layout';
import { EuiFormControlLayout } from '../../form';
import { EuiFlexGroup, EuiFlexItem } from '../../flex';
import { AsyncInterval } from './async_interval';
import { EuiI18n } from '../../i18n';
Expand Down

0 comments on commit 0c83005

Please sign in to comment.