@dicebear/miniavs 7.0.3 → 7.0.5
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 +8 -8
- 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
|
* Miniavs (@dicebear/miniavs)
|
|
9
9
|
*
|
|
10
10
|
* Code licensed under MIT License.
|
|
11
|
-
* Copyright (c)
|
|
11
|
+
* Copyright (c) 2024 Florian Körner
|
|
12
12
|
*
|
|
13
13
|
* Design "Miniavs - Free Avatar Creator" by Webpixels licensed under CC BY 4.0. / Remix of the original.
|
|
14
14
|
* Source: https://www.figma.com/community/file/923211396597067458
|
|
@@ -9,42 +9,42 @@ export function getComponents({ prng, options }) {
|
|
|
9
9
|
const headComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'head',
|
|
12
|
-
values: options.head
|
|
12
|
+
values: options.head,
|
|
13
13
|
});
|
|
14
14
|
const bodyComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'body',
|
|
17
|
-
values: options.body
|
|
17
|
+
values: options.body,
|
|
18
18
|
});
|
|
19
19
|
const hairComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'hair',
|
|
22
|
-
values: options.hair
|
|
22
|
+
values: options.hair,
|
|
23
23
|
});
|
|
24
24
|
const mouthComponent = pickComponent({
|
|
25
25
|
prng,
|
|
26
26
|
group: 'mouth',
|
|
27
|
-
values: options.mouth
|
|
27
|
+
values: options.mouth,
|
|
28
28
|
});
|
|
29
29
|
const eyesComponent = pickComponent({
|
|
30
30
|
prng,
|
|
31
31
|
group: 'eyes',
|
|
32
|
-
values: options.eyes
|
|
32
|
+
values: options.eyes,
|
|
33
33
|
});
|
|
34
34
|
const glassesComponent = pickComponent({
|
|
35
35
|
prng,
|
|
36
36
|
group: 'glasses',
|
|
37
|
-
values: options.glasses
|
|
37
|
+
values: options.glasses,
|
|
38
38
|
});
|
|
39
39
|
const mustacheComponent = pickComponent({
|
|
40
40
|
prng,
|
|
41
41
|
group: 'mustache',
|
|
42
|
-
values: options.mustache
|
|
42
|
+
values: options.mustache,
|
|
43
43
|
});
|
|
44
44
|
const blushesComponent = pickComponent({
|
|
45
45
|
prng,
|
|
46
46
|
group: 'blushes',
|
|
47
|
-
values: options.blushes
|
|
47
|
+
values: options.blushes,
|
|
48
48
|
});
|
|
49
49
|
return {
|
|
50
50
|
'head': headComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/miniavs",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
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.0.5",
|
|
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": "644f1f7d23af086cdd17dda5bf64f5c3afa16a64"
|
|
48
48
|
}
|