style: inputNumber border unmerged (#45004)

* style: inputNumber border unmerged

* chore: update snapshot
This commit is contained in:
JiaQi 2023-10-07 17:06:10 +08:00 committed by GitHub
parent 485e95236d
commit 2f063a26e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View File

@ -99,7 +99,6 @@ const InputNumber = React.forwardRef<HTMLInputElement, InputNumberProps>((props,
[`${prefixCls}-in-form-item`]: isFormItemInput,
},
getStatusClassNames(prefixCls, mergedStatus),
compactItemClassnames,
hashId,
);
const wrapperClassName = `${prefixCls}-group`;
@ -108,7 +107,7 @@ const InputNumber = React.forwardRef<HTMLInputElement, InputNumberProps>((props,
<RcInputNumber
ref={inputRef}
disabled={mergedDisabled}
className={classNames(className, rootClassName)}
className={classNames(className, rootClassName, compactItemClassnames)}
upHandler={upIcon}
downHandler={downIcon}
prefixCls={prefixCls}

View File

@ -11498,7 +11498,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
class="ant-space-compact"
>
<div
class="ant-input-number-group-wrapper"
class="ant-input-number-group-wrapper ant-input-number-compact-item ant-input-number-compact-first-item ant-input-number-compact-last-item"
>
<div
class="ant-input-number-wrapper ant-input-number-group"
@ -11509,7 +11509,7 @@ exports[`renders components/space/demo/compact-debug.tsx extend context correctl
+
</div>
<div
class="ant-input-number ant-input-number-compact-item ant-input-number-compact-first-item ant-input-number-compact-last-item"
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"

View File

@ -3073,7 +3073,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
class="ant-space-compact"
>
<div
class="ant-input-number-group-wrapper"
class="ant-input-number-group-wrapper ant-input-number-compact-item ant-input-number-compact-first-item ant-input-number-compact-last-item"
>
<div
class="ant-input-number-wrapper ant-input-number-group"
@ -3084,7 +3084,7 @@ exports[`renders components/space/demo/compact-debug.tsx correctly 1`] = `
+
</div>
<div
class="ant-input-number ant-input-number-compact-item ant-input-number-compact-first-item ant-input-number-compact-last-item"
class="ant-input-number"
>
<div
class="ant-input-number-handler-wrap"