@dicebear/big-ears-neutral 5.3.4 → 6.0.0-alpha.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/README.md +7 -7
- package/lib/components/eyes.js +2 -2
- package/lib/utils/getComponents.js +4 -4
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img src="https://api.dicebear.com/
|
|
9
|
-
<img src="https://api.dicebear.com/
|
|
10
|
-
<img src="https://api.dicebear.com/
|
|
11
|
-
<img src="https://api.dicebear.com/
|
|
12
|
-
<img src="https://api.dicebear.com/
|
|
13
|
-
<img src="https://api.dicebear.com/
|
|
14
|
-
<img src="https://api.dicebear.com/
|
|
8
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Mimi" width="64" />
|
|
9
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Sasha" width="64" />
|
|
10
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Lilly" width="64" />
|
|
11
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Tigger" width="64" />
|
|
12
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Bella" width="64" />
|
|
13
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Zoe" width="64" />
|
|
14
|
+
<img src="https://api.dicebear.com/6.x/big-ears-neutral/svg?seed=Kitty" width="64" />
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
package/lib/components/eyes.js
CHANGED
|
@@ -28,8 +28,8 @@ export const eyes = {
|
|
|
28
28
|
'variant12': (components, colors) => `<g stroke="#000" stroke-linecap="round"><path d="M106 43c-3.6 2.9-9.3 8.7-20.3 8.7-9.4 0-17.3-6.4-18.7-8.7M184.9 43c3.7 2.9 9.3 8.7 20.4 8.7 9.4 0 17.3-6.4 18.7-8.7" stroke-width="7"/><path d="m73 74 35.5 15.5L73 110M220.5 74 185 89.5l35.5 20.5" stroke-width="4" stroke-linejoin="round"/></g>`,
|
|
29
29
|
'variant11': (components, colors) => `<g stroke="#000" stroke-linecap="round"><path d="M184.9 51.7c3.7-3 9.3-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M106 51.7c-3.6-3-9.3-8.7-20.3-8.7-9.4 0-17.3 6.4-18.7 8.7" stroke-width="7"/><path d="m73 74 35.5 15.5L73 110M220.5 74 185 89.5l35.5 20.5" stroke-width="4" stroke-linejoin="round"/></g>`,
|
|
30
30
|
'variant10': (components, colors) => `<path d="M55.3 43.2A59.1 59.1 0 0 1 87.4 34c17.8 0 34.4 7.7 32.2 9.2 0 17.8-3.3 0-31.2 0-30 0-33.1 17.8-33.1 0ZM169.3 43.2a59.1 59.1 0 0 1 32.1-9.2c17.8 0 34.4 7.7 32.2 9.2 0 17.8-3.3 0-31.2 0-30 0-33.1 17.8-33.1 0Z" fill="#000"/><path d="m87.2 56.6 8.1 25h26.3l-21.2 15.5 8 25-21.2-15.4L66 122l8.2-25-21.3-15.4H79l8.1-25ZM201 56.6l8.1 25h26.3l-21.3 15.5 8.2 25-21.3-15.4-21.3 15.4 8.1-25-21.2-15.4h26.3l8-25Z" fill="#FFEBB7"/>`,
|
|
31
|
-
'variant09': (components, colors) => `<path d="M56 44.4A60.5 60.5 0 0 1 89 35c18.2 0 35.1 7.8 33 9.4 0 18.2-3.5 0-32 0-30.8 0-34 18.2-34 0ZM166.9 44.4a60.5 60.5 0 0 1 33-9.4c18.1 0 35 7.8 32.9 9.4 0 18.2-3.4 0-32 0-30.7 0-34 18.2-34 0Z" fill="#000"/><ellipse cx="88" cy="97.5" rx="29" ry="17.5" fill="#fff"/><
|
|
32
|
-
'variant08': (components, colors) => `<ellipse
|
|
31
|
+
'variant09': (components, colors) => `<path d="M56 44.4A60.5 60.5 0 0 1 89 35c18.2 0 35.1 7.8 33 9.4 0 18.2-3.5 0-32 0-30.8 0-34 18.2-34 0ZM166.9 44.4a60.5 60.5 0 0 1 33-9.4c18.1 0 35 7.8 32.9 9.4 0 18.2-3.4 0-32 0-30.7 0-34 18.2-34 0Z" fill="#000"/><ellipse cx="88" cy="97.5" rx="29" ry="17.5" fill="#fff"/><path d="M81.2 114.5a18 18 0 0 0-1.9-33.7C67.5 83 59 89.7 59 97.5c0 8.2 9.5 15.2 22.2 17Z" fill="#000"/><ellipse cx="198" cy="97.5" rx="29" ry="17.5" fill="#fff"/><path d="M191.2 114.5a18 18 0 0 0-1.9-33.7C177.5 83 169 89.7 169 97.5c0 8.2 9.5 15.2 22.2 17Z" fill="#000"/>`,
|
|
32
|
+
'variant08': (components, colors) => `<ellipse cx="29" cy="17.5" rx="29" ry="17.5" transform="matrix(-1 0 0 1 117 80)" fill="#fff"/><path d="M94.8 114.5a18 18 0 0 1 1.9-33.7C108.5 83 117 89.7 117 97.5c0 8.2-9.5 15.2-22.2 17Z" fill="#000"/><path d="M57 43.4A60.5 60.5 0 0 1 90 34c18.2 0 35.1 7.8 33 9.4 0 18.2-3.5 0-32 0-30.8 0-34 18.2-34 0ZM167.9 43.4a60.5 60.5 0 0 1 33-9.4c18.1 0 35 7.8 32.9 9.4 0 18.2-3.4 0-32 0-30.7 0-34 18.2-34 0Z" fill="#000"/><ellipse cx="29" cy="17.5" rx="29" ry="17.5" transform="matrix(-1 0 0 1 227 80)" fill="#fff"/><path d="M204.8 114.5a18 18 0 0 1 1.9-33.7C218.5 83 227 89.7 227 97.5c0 8.2-9.5 15.2-22.2 17Z" fill="#000"/>`,
|
|
33
33
|
'variant07': (components, colors) => `<path d="M183.1 52.7c3.7-3 9.4-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M104.3 52.7C100.6 49.7 95 44 84 44c-9.4 0-17.2 6.4-18.7 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="87.2" cy="92" r="28.2" fill="#fff"/><circle cx="200.8" cy="92" r="28.2" fill="#fff"/><circle cx="87.2" cy="92" r="15.2" fill="#000"/><circle cx="200.8" cy="92" r="15.2" fill="#000"/><path d="M228.3 86.6h-56a28.2 28.2 0 0 1 56 0ZM115 86.6H59a28.2 28.2 0 0 1 56 0Z" fill="#CD9166"/>`,
|
|
34
34
|
'variant06': (components, colors) => `<path d="M183.1 52.7c3.7-3 9.4-8.7 20.4-8.7 9.4 0 17.3 6.4 18.7 8.7M104.3 52.7C100.6 49.7 95 44 84 44c-9.3 0-17.2 6.4-18.7 8.7" stroke="#000" stroke-width="3.7" stroke-linecap="round"/><circle cx="87.2" cy="92" r="28.2" fill="#fff"/><circle cx="200.8" cy="92" r="28.2" fill="#fff"/><circle cx="87.2" cy="92" r="15.2" fill="#757575"/><circle cx="200.8" cy="92" r="15.2" fill="#757575"/><path d="M228.3 86.6h-56a28.2 28.2 0 0 1 56 0ZM115 86.6H59a28.2 28.2 0 0 1 56 0Z" fill="#CD9166"/>`,
|
|
35
35
|
'variant05': (components, colors) => `<circle cx="199" cy="93.3" r="11.6" fill="#161616"/><circle cx="91" cy="93.3" r="11.6" fill="#161616"/><path d="M175 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2M67 68.2c4.4-3 11-9.2 24.1-9.2 11.1 0 20.4 6.8 22.1 9.2" stroke="#000" stroke-width="9.2" stroke-linecap="round"/>`,
|
|
@@ -9,22 +9,22 @@ export function getComponents({ prng, options }) {
|
|
|
9
9
|
const mouthComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'mouth',
|
|
12
|
-
values: options.mouth
|
|
12
|
+
values: options.mouth,
|
|
13
13
|
});
|
|
14
14
|
const eyesComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'eyes',
|
|
17
|
-
values: options.eyes
|
|
17
|
+
values: options.eyes,
|
|
18
18
|
});
|
|
19
19
|
const cheekComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'cheek',
|
|
22
|
-
values: options.cheek
|
|
22
|
+
values: options.cheek,
|
|
23
23
|
});
|
|
24
24
|
const noseComponent = pickComponent({
|
|
25
25
|
prng,
|
|
26
26
|
group: 'nose',
|
|
27
|
-
values: options.nose
|
|
27
|
+
values: options.nose,
|
|
28
28
|
});
|
|
29
29
|
return {
|
|
30
30
|
'mouth': mouthComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/big-ears-neutral",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-alpha.0",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,20 +29,20 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "
|
|
33
|
-
"@tsconfig/recommended": "^1.0.
|
|
32
|
+
"@dicebear/core": "6.0.0-alpha.0",
|
|
33
|
+
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
|
-
"typescript": "^
|
|
36
|
-
"uvu": "^0.5.
|
|
35
|
+
"typescript": "^5.0.2",
|
|
36
|
+
"uvu": "^0.5.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@dicebear/core": "^
|
|
39
|
+
"@dicebear/core": "^6.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
|
-
"node": "
|
|
42
|
+
"node": ">=16.0.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "64646747611ff92b5028205ef3e509be5ff2060b"
|
|
48
48
|
}
|