@ledgerhq/lumen-ui-rnative 0.1.53 → 0.1.54
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.
|
@@ -4,7 +4,7 @@ import { primitiveColorTokens } from '@ledgerhq/lumen-design-core';
|
|
|
4
4
|
import { resolveAvatarColorKey } from '@ledgerhq/lumen-utils-shared';
|
|
5
5
|
|
|
6
6
|
// either light or dark works, they're the same regardless of theme
|
|
7
|
-
const AVATAR_COLOR_TOKENS = primitiveColorTokens.light.
|
|
7
|
+
const AVATAR_COLOR_TOKENS = primitiveColorTokens.light.decorative;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Resolves a stable identifier (e.g. a user id) to one of the avatar pastel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["primitiveColorTokens","resolveAvatarColorKey","AVATAR_COLOR_TOKENS","light","
|
|
1
|
+
{"version":3,"names":["primitiveColorTokens","resolveAvatarColorKey","AVATAR_COLOR_TOKENS","light","decorative","resolveAvatarColor","identifier"],"sourceRoot":"../../../../../src","sources":["lib/Components/Avatar/resolveAvatarColor.ts"],"mappings":";;AAAA,SAASA,oBAAoB,QAAQ,6BAA6B;AAClE,SACEC,qBAAqB,QAEhB,8BAA8B;;AAErC;AACA,MAAMC,mBAAmD,GACvDF,oBAAoB,CAACG,KAAK,CAACC,UAAU;;AAEvC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,kBAAkBA,CAACC,UAAkB,EAAU;EAC7D,OAAOJ,mBAAmB,CAACD,qBAAqB,CAACK,UAAU,CAAC,CAAC;AAC/D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ledgerhq/lumen-ui-rnative",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.54",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@types/react": "^19.0.0",
|
|
54
54
|
"@gorhom/bottom-sheet": "^5.0.0",
|
|
55
|
-
"@ledgerhq/lumen-design-core": "0.1.
|
|
55
|
+
"@ledgerhq/lumen-design-core": "0.1.24",
|
|
56
56
|
"react": "^19.0.0",
|
|
57
57
|
"react-native": "~0.81.6",
|
|
58
58
|
"react-native-reanimated": "^4.1.0",
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
|
|
7
7
|
// either light or dark works, they're the same regardless of theme
|
|
8
8
|
const AVATAR_COLOR_TOKENS: Record<AvatarColorKey, string> =
|
|
9
|
-
primitiveColorTokens.light.
|
|
9
|
+
primitiveColorTokens.light.decorative;
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Resolves a stable identifier (e.g. a user id) to one of the avatar pastel
|