Skip to content

Commit f94db4b

Browse files
committed
chore(common): CHECKOUT-6970 Add index file to folders
1 parent 8ad7b79 commit f94db4b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+63
-45
lines changed

packages/ui/src/form/BasicFormField/BasicFormField.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Formik } from 'formik';
33
import { noop } from 'lodash';
44
import React from 'react';
55

6-
import FormContext from '../context/FormContext';
6+
import { FormContext } from '../contexts';
77

88
import BasicFormField from './BasicFormField';
99

packages/ui/src/form/BasicFormField/BasicFormField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import React, {
1010
} from 'react';
1111
import shallowEqual from 'shallowequal';
1212

13-
import FormFieldContainer from '../FormFieldContainer/FormFieldContainer';
13+
import { FormFieldContainer } from '../FormFieldContainer';
1414

1515
export interface BasicFormFieldProps extends FieldConfig {
1616
additionalClassName?: string;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as BasicFormField } from './BasicFormField';

packages/ui/src/form/CheckboxFormField/CheckboxFormField.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { FieldProps } from 'formik';
22
import { kebabCase } from 'lodash';
33
import React, { FunctionComponent, memo, ReactNode, useCallback } from 'react';
44

5-
import BasicFormField from '../BasicFormField/BasicFormField';
6-
import CheckboxInput from '../CheckboxInput/CheckboxInput';
7-
import FormFieldError from '../FormFieldError/FormFieldError';
5+
import { BasicFormField } from '../BasicFormField';
6+
import { CheckboxInput } from '../CheckboxInput';
7+
import { FormFieldError } from '../FormFieldError';
88

99
export interface CheckboxFormFieldProps {
1010
additionalClassName?: string;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as CheckboxFormField } from './CheckboxFormField';

packages/ui/src/form/CheckboxInput/CheckboxInput.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { shallow } from 'enzyme';
22
import React from 'react';
33

4-
import Input from '../Input/Input';
5-
import Label from '../Label/Label';
4+
import { Input } from '../Input';
5+
import { Label } from '../Label';
66

77
import CheckboxInput from './CheckboxInput';
88

packages/ui/src/form/CheckboxInput/CheckboxInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import classNames from 'classnames';
22
import React, { forwardRef, ReactNode, Ref } from 'react';
33

4-
import Input, { InputProps } from '../Input/Input';
5-
import Label from '../Label/Label';
4+
import { Input, InputProps } from '../Input';
5+
import { Label } from '../Label';
66

77
export interface CheckboxInputProps extends InputProps {
88
additionalClassName?: string;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as CheckboxInput } from './CheckboxInput';

packages/ui/src/form/ChecklistItemInput/ChecklistItemInput.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { mount, shallow } from 'enzyme';
22
import React from 'react';
33

4-
import Label from '../Label/Label';
4+
import { Label } from '../Label';
55

66
import ChecklistItemInput from './ChecklistItemInput';
77

packages/ui/src/form/ChecklistItemInput/ChecklistItemInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, { FunctionComponent, InputHTMLAttributes } from 'react';
22

3-
import Input from '../Input/Input';
4-
import Label from '../Label/Label';
3+
import { Input } from '../Input';
4+
import { Label } from '../Label';
55

66
export interface ChecklistItemInputProps extends InputHTMLAttributes<HTMLInputElement> {
77
isSelected: boolean;

0 commit comments

Comments
 (0)