-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20386 from akeneo/dsm-update-2024-01-10
DSM Update
- Loading branch information
Showing
12 changed files
with
245 additions
and
135 deletions.
There are no files selected for viewing
Binary file added
BIN
+11.5 KB
...ation-sub-navigation-panel-content-with-collapse-component-correctly-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.63 KB
...ts-navigation-sub-navigation-panel-content-without-padding-correctly-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+11.8 KB
...ponents-navigation-sub-navigation-panel-scrollable-content-correctly-1-snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
front-packages/akeneo-design-system/src/components/Avatar/types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import {Override} from '../../shared'; | ||
import React from 'react'; | ||
|
||
export type User = { | ||
/** | ||
* Username to use as fallback if the avatar is not provided and the Firstname and Lastname are empty. | ||
*/ | ||
username: string; | ||
|
||
/** | ||
* Firstname to use as fallback with the Lastname if the avatar is not provided. | ||
*/ | ||
firstName: string; | ||
|
||
/** | ||
* Lastname to use as fallback with the Firstname if the avatar is not provided. | ||
*/ | ||
lastName: string; | ||
|
||
/** | ||
* Url of the avatar image. | ||
*/ | ||
avatarUrl?: string; | ||
}; | ||
|
||
export type AvatarProps = Override< | ||
React.HTMLAttributes<HTMLSpanElement>, | ||
User & { | ||
/** | ||
* Size of the avatar. | ||
*/ | ||
size?: 'default' | 'big'; | ||
} | ||
>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.