Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ lib
es
yarn.lock
package-lock.json
pnpm-lock.yaml
coverage/
.doc
dist/
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@
"prepare": "husky install"
},
"dependencies": {
"classnames": "^2.2.1",
"@rc-component/util": "^1.3.0"
"@rc-component/util": "^1.3.0",
"clsx": "^2.1.1"
},
"devDependencies": {
"@rc-component/father-plugin": "^2.0.3",
"@rc-component/np": "^1.0.3",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.0.0-beta",
"@types/classnames": "^2.2.9",
"@types/jest": "^30.0.0",
"@types/node": "^24.5.2",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.1",
"@umijs/fabric": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/BaseInput.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import clsx from 'classnames';
import { clsx } from 'clsx';
import type { ReactElement, ReactNode } from 'react';
import React, { cloneElement, useRef } from 'react';
import type { BaseInputProps } from './interface';
Expand Down
2 changes: 1 addition & 1 deletion src/Input.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import clsx from 'classnames';
import { clsx } from 'clsx';
import useControlledState from '@rc-component/util/lib/hooks/useControlledState';
import omit from '@rc-component/util/lib/omit';
import React, {
Expand Down