From dcf7ddad57a521c45c2cfc7bb0b6bce6951faed5 Mon Sep 17 00:00:00 2001
From: thinkasany <480968828@qq.com>
Date: Fri, 16 May 2025 10:36:19 +0800
Subject: [PATCH 1/5] fix: actions semantic
---
src/InputNumber.tsx | 5 +----
tests/semantic.test.tsx | 3 ++-
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/InputNumber.tsx b/src/InputNumber.tsx
index 44795bb8..ed3a1001 100644
--- a/src/InputNumber.tsx
+++ b/src/InputNumber.tsx
@@ -619,10 +619,7 @@ const InternalInputNumber = React.forwardRef(
onStep={onInternalStep}
/>
)}
-
+
{
classNames={testClassNames}
/>,
);
+
const input = container.querySelector('.rc-input-number')!;
const prefix = container.querySelector('.rc-input-number-prefix')!;
const suffix = container.querySelector('.rc-input-number-suffix')!;
- const actions = container.querySelector('.rc-input-number-input-wrap')!;
+ const actions = container.querySelector('.rc-input-number-handler-wrap')!;
expect(input.className).toContain(testClassNames.input);
expect(prefix.className).toContain(testClassNames.prefix);
expect(suffix.className).toContain(testClassNames.suffix);
From 90de905f36e9dc7b200a2beb9bc96483611fb82a Mon Sep 17 00:00:00 2001
From: thinkasany <480968828@qq.com>
Date: Fri, 16 May 2025 10:38:47 +0800
Subject: [PATCH 2/5] fix
---
src/InputNumber.tsx | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/InputNumber.tsx b/src/InputNumber.tsx
index ed3a1001..5ef0697a 100644
--- a/src/InputNumber.tsx
+++ b/src/InputNumber.tsx
@@ -154,8 +154,6 @@ const InternalInputNumber = React.forwardRef(
...inputProps
} = props;
- const { classNames, styles } = React.useContext(SemanticContext) || {};
-
const inputClassName = `${prefixCls}-input`;
const inputRef = React.useRef(null);
From 85463cf1506a97fab80b8d57ee618939164d24ed Mon Sep 17 00:00:00 2001
From: thinkasany <480968828@qq.com>
Date: Fri, 16 May 2025 10:49:55 +0800
Subject: [PATCH 3/5] empty
From e0ddc17503b423f4853a5caac29d2b2eb9fd26ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?=
Date: Fri, 16 May 2025 12:02:35 +0800
Subject: [PATCH 4/5] chore: tmp of ajv install
---
package.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/package.json b/package.json
index 334fa115..da6f516e 100644
--- a/package.json
+++ b/package.json
@@ -64,6 +64,7 @@
"@types/responselike": "^1.0.0",
"@umijs/fabric": "^4.0.1",
"@umijs/test": "^4.0.36",
+ "ajv": "^8.17.1",
"cross-env": "^7.0.3",
"dumi": "^2.0.13",
"eslint": "^8.54.0",
From 2d5a385efda896576d295ced1e898de4864d7626 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?=
Date: Fri, 16 May 2025 14:39:28 +0800
Subject: [PATCH 5/5] chore: bump father version
---
package.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package.json b/package.json
index da6f516e..57a5999c 100644
--- a/package.json
+++ b/package.json
@@ -64,14 +64,13 @@
"@types/responselike": "^1.0.0",
"@umijs/fabric": "^4.0.1",
"@umijs/test": "^4.0.36",
- "ajv": "^8.17.1",
"cross-env": "^7.0.3",
"dumi": "^2.0.13",
"eslint": "^8.54.0",
"eslint-plugin-jest": "^28.10.0",
"eslint-plugin-unicorn": "^56.0.0",
"expect.js": "~0.3.1",
- "father": "^4.1.1",
+ "father": "^4.5.5",
"glob": "^11.0.0",
"husky": "^9.1.7",
"jest-environment-jsdom": "^29.3.1",