From 6f2e1caa09f3f54f0969990a9731231b0bf66b8b Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 11 Apr 2025 17:43:11 +0800 Subject: [PATCH 1/4] chore: bump rc-input to 1.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 34402a7..9cf47a7 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "dependencies": { "@babel/runtime": "^7.10.1", "classnames": "^2.2.1", - "rc-input": "~1.7.1", + "rc-input": "~1.8.0", "rc-resize-observer": "^1.0.0", "rc-util": "^5.27.0" }, From b640dea0352b615d1a9f2967ab3383cfdbacf07d Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 11 Apr 2025 17:43:59 +0800 Subject: [PATCH 2/4] chore: fix np branch --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9cf47a7..8c16087 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "docs:deploy": "gh-pages -d .doc", "compile": "father build && lessc assets/index.less assets/index.css", "gh-pages": "npm run docs:build && npm run docs:deploy", - "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", "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md", "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"", From 5c76b0e95f7ce027ea61438cadabaf958a0b7248 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 11 Apr 2025 17:46:31 +0800 Subject: [PATCH 3/4] update snapshot --- tests/__snapshots__/allowClear.test.tsx.snap | 42 +++++++++++--------- 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/tests/__snapshots__/allowClear.test.tsx.snap b/tests/__snapshots__/allowClear.test.tsx.snap index db1093c..0e3478f 100644 --- a/tests/__snapshots__/allowClear.test.tsx.snap +++ b/tests/__snapshots__/allowClear.test.tsx.snap @@ -10,12 +10,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - + `; @@ -30,12 +31,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - + `; @@ -50,12 +52,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - + `; @@ -70,12 +73,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - + `; @@ -90,12 +94,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - + `; @@ -110,12 +115,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - + `; From 74400378642c1cc620054234f7d18606cf2a806f Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 11 Apr 2025 18:02:49 +0800 Subject: [PATCH 4/4] update snapshot --- tests/__snapshots__/allowClear.test.tsx.snap | 36 ++++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/__snapshots__/allowClear.test.tsx.snap b/tests/__snapshots__/allowClear.test.tsx.snap index 0e3478f..a9783b9 100644 --- a/tests/__snapshots__/allowClear.test.tsx.snap +++ b/tests/__snapshots__/allowClear.test.tsx.snap @@ -10,13 +10,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - ✖ - + `; @@ -31,13 +31,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - ✖ - + `; @@ -52,13 +52,13 @@ exports[`should support allowClear should not show icon if defaultValue is undef - ✖ - + `; @@ -73,13 +73,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - ✖ - + `; @@ -94,13 +94,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - ✖ - + `; @@ -115,13 +115,13 @@ exports[`should support allowClear should not show icon if value is undefined, n - ✖ - + `;