@transferwise/components 0.0.0-experimental-94b3197 → 0.0.0-experimental-28800ab
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/es/no-polyfill/avatar/Avatar.js +1 -1
- package/build/es/no-polyfill/avatar/colors/avatarColorTestCases.json +100 -100
- package/build/es/no-polyfill/avatar/colors/colors.js +1 -5
- package/build/es/polyfill/avatar/Avatar.js +1 -1
- package/build/es/polyfill/avatar/colors/avatarColorTestCases.json +100 -100
- package/build/es/polyfill/avatar/colors/colors.js +1 -5
- package/build/main.css +1 -1
- package/build/styles/avatar/Avatar.css +1 -1
- package/build/styles/main.css +1 -1
- package/build/types/avatar/Avatar.d.ts +1 -1
- package/build/types/avatar/colors/colors.d.ts +1 -1
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +7 -7
|
@@ -3,7 +3,7 @@ type NumericAvatarSize = 24 | 40 | 48 | 56 | 72;
|
|
|
3
3
|
type LegacyAvatarSize = 'sm' | 'md' | 'lg';
|
|
4
4
|
export type AvatarSize = NumericAvatarSize | LegacyAvatarSize;
|
|
5
5
|
export type AvatarTheme = 'light' | 'dark';
|
|
6
|
-
type AvatarType = 'thumbnail' | 'icon' | 'emoji' | 'initials';
|
|
6
|
+
export type AvatarType = 'thumbnail' | 'icon' | 'emoji' | 'initials';
|
|
7
7
|
export interface AvatarProps {
|
|
8
8
|
backgroundColor?: string;
|
|
9
9
|
seed?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const avatarColours: readonly ["
|
|
1
|
+
declare const avatarColours: readonly ["--color-bright-blue", "--color-bright-yellow", "--color-bright-pink", "--color-bright-orange"];
|
|
2
2
|
export declare const getAvatarColorFromSeed: (seed: string) => (typeof avatarColours)[number];
|
|
3
3
|
export {};
|