Skip to content

Commit

Permalink
fix: circular dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Oct 19, 2023
1 parent 79f7794 commit d369efb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FieldPropsPrimitive,
InputPrimitive,
InputPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';
import { useId } from '../../../../useId';

export type DatalistProps = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
FieldPropsPrimitive,
InputPrimitive,
InputPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';

type InputCopyProps = Omit<FieldPropsPrimitive, 'hasError'> &
Omit<InputPrimitiveProps, 'style' | 'className' | 'suffix'>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
FieldPropsPrimitive,
InputPrimitive,
InputPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';

import styles from './Input.File.module.scss';
import { useId } from '../../../../useId';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { forwardRef, Ref } from 'react';
import { RadioPrimitive, RadioPrimitiveType } from '../../Primitives/index';
import { RadioPrimitive, RadioPrimitiveType } from '../../Primitives';

export type RadioProps = Omit<RadioPrimitiveType, 'className' | 'style'>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FieldPropsPrimitive,
InputPrimitive,
InputPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';

export type InputFieldProps = FieldPropsPrimitive &
Omit<InputPrimitiveProps, 'className' | 'styles'>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { forwardRef, Ref } from 'react';
import { FieldPropsPrimitive, InputPrimitiveProps } from '../../../Primitives/index';
import { FieldPropsPrimitive, InputPrimitiveProps } from '../../../Primitives';
import Input from '../Input';

type InputPasswordProps = FieldPropsPrimitive &
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
FieldPropsPrimitive,
SelectPrimitive,
SelectPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';

export type SelectProps = FieldPropsPrimitive &
Omit<SelectPrimitiveProps, 'className' | 'style' | 'isAffix'> & { readOnly?: boolean };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
FieldPropsPrimitive,
TextareaPrimitive,
TextareaPrimitiveProps,
} from '../../Primitives/index';
} from '../../Primitives';

export type InputTextareaProps = FieldPropsPrimitive &
Omit<TextareaPrimitiveProps, 'className' | 'styles'> & { children?: string };
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/components/Form/Label/Label.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { forwardRef, Ref } from 'react';
import { LabelPrimitive, LabelPrimitiveProps } from '../Primitives/index';
import LabelPrimitive, { LabelPrimitiveProps } from '../Primitives/Label/Label';

const Label = forwardRef(
(props: Omit<LabelPrimitiveProps, 'className' | 'style'>, ref: Ref<HTMLLabelElement>) => {
Expand Down

0 comments on commit d369efb

Please sign in to comment.