diff --git a/package.json b/package.json index 9ffc790..35efc28 100644 --- a/package.json +++ b/package.json @@ -51,11 +51,11 @@ ] }, "dependencies": { - "@rc-component/util": "^1.2.1", + "@rc-component/util": "^1.11.1", "clsx": "^2.1.1" }, "devDependencies": { - "@rc-component/father-plugin": "^2.0.2", + "@rc-component/father-plugin": "^2.2.0", "@rc-component/np": "^1.0.0", "@testing-library/jest-dom": "^6.4.5", "@testing-library/react": "^15.0.6", diff --git a/src/Step.tsx b/src/Step.tsx index 2d2cd00..1eb9122 100644 --- a/src/Step.tsx +++ b/src/Step.tsx @@ -1,7 +1,7 @@ /* eslint react/prop-types: 0 */ import * as React from 'react'; import { clsx } from 'clsx'; -import KeyCode from '@rc-component/util/lib/KeyCode'; +import { KeyCode } from '@rc-component/util'; import type { Status, StepItem, StepsProps } from './Steps'; import Rail from './Rail'; import { UnstableContext } from './UnstableContext'; diff --git a/src/StepIcon.tsx b/src/StepIcon.tsx index fce6a63..83b16f8 100644 --- a/src/StepIcon.tsx +++ b/src/StepIcon.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { clsx } from 'clsx'; +import { pickAttrs } from '@rc-component/util'; import { StepsContext } from './Context'; -import pickAttrs from '@rc-component/util/lib/pickAttrs'; export interface StepIconSemanticContextProps { className?: string;