@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 CHANGED
@@ -5,13 +5,13 @@
5
5
  </p>
6
6
 
7
7
  <p align="center">
8
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Mimi" width="64" />
9
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Sasha" width="64" />
10
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Lilly" width="64" />
11
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Tigger" width="64" />
12
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Bella" width="64" />
13
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Zoe" width="64" />
14
- <img src="https://api.dicebear.com/5.x/bottts-neutral/svg?seed=Kitty" width="64" />
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">
@@ -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="M0 10a8 8 0 0 1 8-8h88a8 8 0 0 1 8 8v18a8 8 0 0 1-8 8H82.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2.47 2.12-5.15 4.4-8.24 4.4H38.67c-3.14 0-5.94-2.12-8.62-4.16-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 21.02 36H8a8 8 0 0 1-8-8V10Z" fill="#000" fill-opacity=".8"/><mask id="eyesShade01-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="2" width="104" height="42"><path d="M0 10a8 8 0 0 1 8-8h88a8 8 0 0 1 8 8v18a8 8 0 0 1-8 8H82.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2.47 2.12-5.15 4.4-8.24 4.4H38.67c-3.14 0-5.94-2.12-8.62-4.16-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 21.02 36H8a8 8 0 0 1-8-8V10Z" fill="#000" fill-opacity=".8"/></mask><g mask="url(#eyesShade01-a)"><path d="M12 19a5 5 0 0 1 5-5h70a5 5 0 0 1 5 5v2a5 5 0 0 1-5 5H74.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2 1.72-4.14 3.54-6.52 4.18V34H46.67c-3.14 0-5.94-2.13-8.62-4.17-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 29.02 26H17a5 5 0 0 1-5-5v-2Z" fill="#FF3D3D"/><path d="M12 44 32-2h-4L8 44h4ZM50-2H39L19 44h11L50-2Z" fill="#fff" fill-opacity=".2"/></g>`,
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": "5.3.4",
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": "5.3.4",
33
- "@tsconfig/recommended": "^1.0.1",
32
+ "@dicebear/core": "6.0.0-alpha.0",
33
+ "@tsconfig/recommended": "^1.0.2",
34
34
  "del-cli": "^5.0.0",
35
- "typescript": "^4.6.3",
36
- "uvu": "^0.5.3"
35
+ "typescript": "^5.0.2",
36
+ "uvu": "^0.5.6"
37
37
  },
38
38
  "peerDependencies": {
39
- "@dicebear/core": "^5.0.0"
39
+ "@dicebear/core": "^6.0.0"
40
40
  },
41
41
  "engines": {
42
- "node": "^14.13.1 || >=16.0.0"
42
+ "node": ">=16.0.0"
43
43
  },
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "923fd5f3ba29d50959fb4f82364e98973f822701"
47
+ "gitHead": "64646747611ff92b5028205ef3e509be5ff2060b"
48
48
  }