Skip to content

Commit 6bb4fd7

Browse files
authored
chore: bump rc-input and rc-textarea (#294)
1 parent 41a3e6a commit 6bb4fd7

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"gh-pages": "npm run docs:build && npm run docs:deploy",
3434
"lint": "eslint src/ --ext .tsx,.ts",
3535
"prepare": "husky install",
36-
"prepublishOnly": "npm run compile && np --yolo --no-publish",
36+
"prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x",
3737
"postpublish": "npm run gh-pages",
3838
"start": "dumi dev",
3939
"test": "rc-test"
@@ -48,9 +48,9 @@
4848
"@babel/runtime": "^7.22.5",
4949
"@rc-component/trigger": "^2.0.0",
5050
"classnames": "^2.2.6",
51-
"rc-input": "~1.7.1",
51+
"rc-input": "~1.8.0",
5252
"rc-menu": "~9.16.0",
53-
"rc-textarea": "~1.9.0",
53+
"rc-textarea": "~1.10.0",
5454
"rc-util": "^5.34.1"
5555
},
5656
"devDependencies": {

tests/__snapshots__/AllowClear.spec.tsx.snap

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
1717
>
1818
<button
1919
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
20+
tabindex="-1"
2021
type="button"
2122
>
2223
@@ -42,6 +43,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
4243
>
4344
<button
4445
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
46+
tabindex="-1"
4547
type="button"
4648
>
4749
@@ -67,6 +69,7 @@ exports[`should support allowClear should not show icon if defaultValue is undef
6769
>
6870
<button
6971
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
72+
tabindex="-1"
7073
type="button"
7174
>
7275
@@ -92,6 +95,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
9295
>
9396
<button
9497
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
98+
tabindex="-1"
9599
type="button"
96100
>
97101
@@ -117,6 +121,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
117121
>
118122
<button
119123
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
124+
tabindex="-1"
120125
type="button"
121126
>
122127
@@ -142,6 +147,7 @@ exports[`should support allowClear should not show icon if value is undefined, n
142147
>
143148
<button
144149
class="rc-mentions-clear-icon rc-mentions-clear-icon-hidden"
150+
tabindex="-1"
145151
type="button"
146152
>
147153

0 commit comments

Comments
 (0)