@dicebear/adventurer-neutral 7.0.4 → 7.1.0
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/LICENSE +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/utils/getComponents.js +4 -4
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -13,7 +13,7 @@ Applies to all non-design files in this package.
|
|
|
13
13
|
|
|
14
14
|
MIT License
|
|
15
15
|
|
|
16
|
-
Copyright (c)
|
|
16
|
+
Copyright (c) 2024 Florian Körner
|
|
17
17
|
|
|
18
18
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
19
19
|
of this software and associated documentation files (the "Software"), to deal
|
package/lib/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Adventurer Neutral (@dicebear/adventurer-neutral)
|
|
9
9
|
*
|
|
10
10
|
* Code licensed under MIT License.
|
|
11
|
-
* Copyright (c)
|
|
11
|
+
* Copyright (c) 2024 Florian Körner
|
|
12
12
|
*
|
|
13
13
|
* Design "Adventurer Neutral" by Lisa Wischofsky licensed under CC BY 4.0. / Remix of the original.
|
|
14
14
|
* Source: https://www.figma.com/community/file/1184595184137881796
|
|
@@ -9,22 +9,22 @@ export function getComponents({ prng, options }) {
|
|
|
9
9
|
const eyesComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'eyes',
|
|
12
|
-
values: options.eyes
|
|
12
|
+
values: options.eyes,
|
|
13
13
|
});
|
|
14
14
|
const eyebrowsComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'eyebrows',
|
|
17
|
-
values: options.eyebrows
|
|
17
|
+
values: options.eyebrows,
|
|
18
18
|
});
|
|
19
19
|
const mouthComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'mouth',
|
|
22
|
-
values: options.mouth
|
|
22
|
+
values: options.mouth,
|
|
23
23
|
});
|
|
24
24
|
const glassesComponent = pickComponent({
|
|
25
25
|
prng,
|
|
26
26
|
group: 'glasses',
|
|
27
|
-
values: options.glasses
|
|
27
|
+
values: options.glasses,
|
|
28
28
|
});
|
|
29
29
|
return {
|
|
30
30
|
'eyes': eyesComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/adventurer-neutral",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "7.0
|
|
32
|
+
"@dicebear/core": "7.1.0",
|
|
33
33
|
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
35
|
"typescript": "^5.1.6",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "04b74170d60c613e1cff891f6fc4bdc573c39808"
|
|
48
48
|
}
|