Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
With commits:
Merge pull request #20386 from akeneo/dsm-update-2024-01-10
DSM Update
Merge pull request #20386 from akeneo/dsm-update-2024-01-10
  • Loading branch information
akeneo committed Jan 10, 2024
1 parent 00bf911 commit 0198b5c
Show file tree
Hide file tree
Showing 27 changed files with 319 additions and 192 deletions.
9 changes: 1 addition & 8 deletions lib/components/Avatar/Avatar.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
import React from 'react';
import { Override } from '../../shared';
declare type AvatarProps = Override<React.HTMLAttributes<HTMLSpanElement>, {
username: string;
firstName: string;
lastName: string;
avatarUrl?: string;
size?: 'default' | 'big';
}>;
import { AvatarProps } from './types';
declare const Avatar: ({ username, firstName, lastName, avatarUrl, size, ...rest }: AvatarProps) => React.JSX.Element;
export { Avatar };
export type { AvatarProps };
2 changes: 1 addition & 1 deletion lib/components/Avatar/Avatar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/components/Avatar/Avatar.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lib/components/Avatar/Avatars.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import React from 'react';
import { Override } from '../../shared';
declare type AvatarsProps = Override<React.HTMLAttributes<HTMLDivElement>, {
max: number;
maxTitle?: number;
}>;
declare const Avatars: ({ max, children, ...rest }: AvatarsProps) => React.JSX.Element;
declare const Avatars: React.FC<AvatarsProps>;
export { Avatars };
export type { AvatarsProps };
22 changes: 19 additions & 3 deletions lib/components/Avatar/Avatars.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/components/Avatar/Avatars.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions lib/components/Avatar/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Override } from '../../shared';
import React from 'react';
export declare type User = {
username: string;
firstName: string;
lastName: string;
avatarUrl?: string;
};
export declare type AvatarProps = Override<React.HTMLAttributes<HTMLSpanElement>, User & {
size?: 'default' | 'big';
}>;
3 changes: 3 additions & 0 deletions lib/components/Avatar/types.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/components/Avatar/types.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/components/Dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ declare const Dropdown: {
} & React.RefAttributes<HTMLDivElement>>;
Surtitle: React.FC<{
label: string;
children?: React.ReactNode;
}>;
};
export { Dropdown };
1 change: 1 addition & 0 deletions lib/components/Dropdown/Surtitle/Surtitle.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
declare type SurtitleProps = {
label: string;
children?: React.ReactNode;
};
declare const Surtitle: React.FC<SurtitleProps>;
export { Surtitle };
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ declare type SubNavigationPanelProps = {
close: () => void;
closeTitle?: string;
openTitle?: string;
noPadding?: boolean;
};
declare type SubNavigationPanelCompoundType = ForwardRefExoticComponent<PropsWithoutRef<SubNavigationPanelProps> & RefAttributes<HTMLDivElement>> & {
Collapsed?: any;
Section?: any;
};
declare const SubNavigationPanel: SubNavigationPanelCompoundType;
export { SubNavigationPanel };
Loading

0 comments on commit 0198b5c

Please sign in to comment.