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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"gh-pages": "npm run docs:build && npm run docs:deploy",
"lint": "eslint src/ --ext .tsx,.ts",
"prepare": "husky install",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x",
"postpublish": "npm run gh-pages",
"start": "dumi dev",
"test": "rc-test"
Expand All @@ -48,9 +48,9 @@
"@babel/runtime": "^7.22.5",
"@rc-component/trigger": "^2.0.0",
"classnames": "^2.2.6",
"rc-input": "~1.7.1",
"rc-input": "~1.8.0",
"rc-menu": "~9.16.0",
"rc-textarea": "~1.9.0",
"rc-textarea": "~1.10.0",
"rc-util": "^5.34.1"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions tests/__snapshots__/AllowClear.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand All @@ -42,6 +43,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand All @@ -67,6 +69,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand All @@ -92,6 +95,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand All @@ -117,6 +121,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand All @@ -142,6 +147,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
>
<button
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
tabindex="-1"
type="button"
>
Expand Down