diff --git a/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap index 95e40bc56f..528b82de68 100644 --- a/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/color-picker/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -3993,6 +3993,7 @@ exports[`renders components/color-picker/demo/line-gradient.tsx extend context c
} const InternalSegmented = React.forwardRef((props, ref) => { + const defaultName = useId(); + const { prefixCls: customizePrefixCls, className, @@ -60,6 +63,7 @@ const InternalSegmented = React.forwardRef((prop size: customSize = 'middle', style, vertical, + name = defaultName, ...restProps } = props; @@ -111,6 +115,7 @@ const InternalSegmented = React.forwardRef((prop return wrapCSSVar( = (token: SegmentedToken) background: token.trackBg, borderRadius: token.borderRadius, transition: `all ${token.motionDurationMid} ${token.motionEaseInOut}`, + ...genFocusStyle(token), [`${componentCls}-group`]: { position: 'relative', diff --git a/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap b/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap index 76452441fa..753db983e3 100644 --- a/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap +++ b/components/tabs/__tests__/__snapshots__/demo-extend.test.ts.snap @@ -2021,6 +2021,7 @@ Array [ >