Skip to content

Commit e0702e9

Browse files
committed
chore(skyroc-ui): 🔧 update import paths to use scoped naming convention for '@skyroc/form' across Form components
1 parent 6855549 commit e0702e9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

‎packages/ui/src/components/form/FormComputedField.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
import { ComputedField } from 'skyroc-form';
3+
import { ComputedField } from '@skyroc/form';
44

55
import FormField from './FormField';
66
import type { FormComputedFieldProps } from './types';

‎packages/ui/src/components/form/FormField.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use client';
22

3+
import type { AllPathsKeys } from '@skyroc/form';
4+
import { Field, useFieldError } from '@skyroc/form';
35
import { useId } from 'react';
4-
import type { AllPathsKeys } from 'skyroc-form';
5-
import { Field, useFieldError } from 'skyroc-form';
66

77
import FormDescription from './FormDescription';
88
import FormItem from './FormItem';

‎packages/ui/src/components/form/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export {
1111
useSelector,
1212
useUndoRedo,
1313
useWatch
14-
} from 'skyroc-form';
14+
} from '@skyroc/form';
1515

1616
export type {
1717
Action as FormAction,
@@ -24,7 +24,7 @@ export type {
2424
Rule,
2525
SubscribeMaskOptions,
2626
ValidateMessages
27-
} from 'skyroc-form';
27+
} from '@skyroc/form';
2828

2929
export { default as FormComputedField } from './FormComputedField';
3030
export { default as FormField } from './FormField';

‎packages/ui/src/components/form/types.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { ComputedFieldProps, FieldProps } from '@skyroc/form';
12
import type { ComponentProps, ElementType, ReactNode } from 'react';
2-
import type { ComputedFieldProps, FieldProps } from 'skyroc-form';
33

44
import type { BaseNodeProps, ClassValue } from '@/types/other';
55

0 commit comments

Comments
 (0)