@dicebear/bottts-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 +1 -1
- package/lib/utils/getComponents.js +2 -2
- 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/bottts-neutral/svg?seed=Mimi" width="64" />
|
|
9
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Sasha" width="64" />
|
|
10
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Lilly" width="64" />
|
|
11
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Tigger" width="64" />
|
|
12
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Bella" width="64" />
|
|
13
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Zoe" width="64" />
|
|
14
|
+
<img src="https://api.dicebear.com/6.x/bottts-neutral/svg?seed=Kitty" width="64" />
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
package/lib/components/eyes.js
CHANGED
|
@@ -18,5 +18,5 @@ export const eyes = {
|
|
|
18
18
|
'roundFrame01': (components, colors) => `<rect y="12" width="104" height="32" rx="16" fill="#000" fill-opacity=".8"/><rect x="24" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/><rect x="70" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/>`,
|
|
19
19
|
'roundFrame02': (components, colors) => `<rect y="11" width="104" height="34" rx="17" fill="#000" fill-opacity=".8"/><circle cx="29" cy="28" r="13" fill="#F1EEDA"/><circle cx="75" cy="28" r="13" fill="#F1EEDA"/><rect x="24" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/><rect x="70" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/>`,
|
|
20
20
|
'sensor': (components, colors) => `<path d="M28 44a20 20 0 0 0 19.9-18h41.52a5 5 0 1 0 0-4H47.9A20 20 0 1 0 28 44Z" fill="#000" fill-opacity=".2"/><circle cx="94" cy="24" r="2" fill="#fff"/><circle cx="28" cy="24" r="16" fill="#000" fill-opacity=".6"/><circle cx="34" cy="16" r="3" fill="#fff"/>`,
|
|
21
|
-
'shade01': (components, colors) => `<path d="
|
|
21
|
+
'shade01': (components, colors) => `<path d="M96 2H8c-4.5 0-8 3.5-8 8.03V28c0 4.5 3.5 8 8 8h13c8 0 11 8 18 8h27c7 0 9-8 17-8h13c4.5 0 8-3.5 8-8V10c0-4.5-3.5-8-8-8Z" fill="#000" fill-opacity=".8"/><path d="M87 14H17c-3.5 0-5 3-5 5v2c0 2 1.5 5 5 5h12c6 0 11.62 8 17 8h14c5.38 0 9-8 15-8h12c3.5 0 5-3 5-5v-2c0-2-1.5-5-5-5Z" fill="#FF3D3D"/><path d="M22.44 36.09 37.26 2h11L31.4 40.78l-.76-.58c-2.38-1.82-4.83-3.69-8.2-4.11ZM11.48 36 26.26 2h4L15.48 36h-4Z" fill="#fff" fill-opacity=".2"/>`,
|
|
22
22
|
};
|
|
@@ -9,12 +9,12 @@ 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
|
return {
|
|
20
20
|
'mouth': mouthComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/bottts-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
|
}
|