Cleanup migration issues.

Signed-off-by: Johan Persson <johanopersson@gmail.com>
This commit is contained in:
Johan Persson
2026-02-24 16:24:01 +01:00
parent 041d065141
commit 98788bf358
6 changed files with 5 additions and 20 deletions
+2 -9
View File
@@ -276,7 +276,6 @@ export const AvatarDefinition: {
readonly name: {};
readonly children: {};
readonly className: {};
readonly style: {};
};
};
@@ -288,15 +287,11 @@ export type AvatarOwnProps = {
purpose?: 'decoration' | 'informative';
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
};
// @public (undocumented)
export interface AvatarProps
extends Omit<
React.ComponentPropsWithoutRef<'div'>,
'children' | 'className' | 'style'
>,
extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children' | 'className'>,
AvatarOwnProps {}
// @public (undocumented)
@@ -757,7 +752,6 @@ export const CheckboxDefinition: {
};
readonly children: {};
readonly className: {};
readonly style: {};
};
};
@@ -767,12 +761,11 @@ export type CheckboxOwnProps = {
indeterminate?: boolean;
children: React.ReactNode;
className?: string;
style?: React.CSSProperties;
};
// @public (undocumented)
export interface CheckboxProps
extends Omit<CheckboxProps_2, 'children' | 'className' | 'style'>,
extends Omit<CheckboxProps_2, 'children' | 'className'>,
CheckboxOwnProps {}
// @public
+1 -2
View File
@@ -26,7 +26,7 @@ export const Avatar = forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {
props,
);
const { classes, size, src, name, purpose, style } = ownProps;
const { classes, size, src, name, purpose } = ownProps;
const [imageStatus, setImageStatus] = useState<
'loading' | 'loaded' | 'error'
@@ -61,7 +61,6 @@ export const Avatar = forwardRef<HTMLDivElement, AvatarProps>((props, ref) => {
aria-label={purpose === 'informative' ? name : undefined}
aria-hidden={purpose === 'decoration' ? true : undefined}
className={classes.root}
style={style}
{...dataAttributes}
{...restProps}
>
@@ -36,6 +36,5 @@ export const AvatarDefinition = defineComponent<AvatarOwnProps>()({
name: {},
children: {},
className: {},
style: {},
},
});
+1 -5
View File
@@ -42,13 +42,9 @@ export type AvatarOwnProps = {
children?: React.ReactNode;
className?: string;
style?: React.CSSProperties;
};
/** @public */
export interface AvatarProps
extends Omit<
React.ComponentPropsWithoutRef<'div'>,
'children' | 'className' | 'style'
>,
extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children' | 'className'>,
AvatarOwnProps {}
@@ -33,6 +33,5 @@ export const CheckboxDefinition = defineComponent<CheckboxOwnProps>()({
indeterminate: { dataAttribute: true },
children: {},
className: {},
style: {},
},
});
+1 -2
View File
@@ -21,10 +21,9 @@ export type CheckboxOwnProps = {
indeterminate?: boolean;
children: React.ReactNode;
className?: string;
style?: React.CSSProperties;
};
/** @public */
export interface CheckboxProps
extends Omit<RACheckboxProps, 'children' | 'className' | 'style'>,
extends Omit<RACheckboxProps, 'children' | 'className'>,
CheckboxOwnProps {}