@dicebear/avataaars 7.0.0 → 8.0.0-rc.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.
@@ -12,5 +12,5 @@ export const accessories = {
12
12
  'round': (components, colors) => `<g fill-rule="evenodd" clip-rule="evenodd"><path d="M40 96a24 24 0 0 1-22.96-31H10.5a2.5 2.5 0 0 1 0-5h8c.23 0 .45.03.66.09a24 24 0 0 1 42.26 1.06A11.36 11.36 0 0 1 70.86 56c4.01 0 7.55 2.14 9.6 5.4a24 24 0 0 1 42.38-1.31c.2-.06.43-.1.66-.1h8a2.5 2.5 0 1 1 0 5h-6.54a24 24 0 1 1-46.6 2.83c-.08-4.37-3.45-7.83-7.5-7.83-3.73 0-6.89 2.94-7.42 6.83A24 24 0 0 1 40 96Zm0-4a20 20 0 1 0 0-40 20 20 0 0 0 0 40Zm82-20a20 20 0 1 1-40 0 20 20 0 0 1 40 0Z" fill="#000" fill-opacity=".1"/><path d="M40 94a24 24 0 0 1-22.96-31H10.5a2.5 2.5 0 0 1 0-5h8c.23 0 .45.03.66.09a24 24 0 0 1 42.26 1.06A11.36 11.36 0 0 1 70.86 54c4.01 0 7.55 2.14 9.6 5.4a24 24 0 0 1 42.38-1.31c.2-.06.43-.1.66-.1h8a2.5 2.5 0 1 1 0 5h-6.54a24 24 0 1 1-46.6 2.84c-.08-4.37-3.45-7.83-7.5-7.83-3.73 0-6.89 2.94-7.42 6.83A24 24 0 0 1 40 94Zm0-4a20 20 0 1 0 0-40 20 20 0 0 0 0 40Zm82-20a20 20 0 1 1-40 0 20 20 0 0 1 40 0Z" fill="${escape.xml(`${colors.accessories}`)}"/></g>`,
13
13
  'sunglasses': (components, colors) => `<g fill-rule="evenodd" clip-rule="evenodd"><path d="M111.71 53.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 93.8 87.34 88.53 81.53 79c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 68.5 63.01 74.7 60.4 79c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35l-.33.06-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13 3.73.4 7.72.3 10.82-2.05 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-9.28 4.5c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="#000" fill-opacity=".1"/><path d="M55.01 57.28c2.51.02 3.7.45 4.13 3.11.43 2.7 0 5.74-.5 8.4-.75 4.06-2.02 8.04-4.98 11a17.16 17.16 0 0 1-8.8 4.69c-.33.07-3.15.47-1.42.27-4.04.47-8.43.45-11.8-2.17-3.74-2.9-6.3-7.5-7.43-12.07-.66-2.66-2.04-9.06.49-11.2C27.6 56.85 55 57.28 55 57.28Z" fill="#000" fill-opacity=".7"/><path d="M55.01 57.28c2.51.02 3.7.45 4.13 3.11.43 2.7 0 5.74-.5 8.4-.75 4.06-2.02 8.04-4.98 11a17.16 17.16 0 0 1-8.8 4.69c-.33.07-3.15.47-1.42.27-4.04.47-8.43.45-11.8-2.17-3.74-2.9-6.3-7.5-7.43-12.07-.66-2.66-2.04-9.06.49-11.2C27.6 56.85 55 57.28 55 57.28Z" fill="url(#accessoriesSunglasses-a)" style="mix-blend-mode:screen"/><path d="M86.92 57.27c-2.51.03-3.7.45-4.13 3.12-.43 2.7 0 5.73.5 8.4.75 4.06 2.02 8.03 4.98 11a17.17 17.17 0 0 0 8.8 4.69c.33.07 3.15.47 1.42.26 4.04.47 8.43.45 11.8-2.16 3.74-2.9 6.3-7.5 7.43-12.07.66-2.67 2.04-9.07-.49-11.2-2.9-2.46-30.31-2.03-30.31-2.03Z" fill="#000" fill-opacity=".7"/><path d="M86.92 57.27c-2.51.03-3.7.45-4.13 3.12-.43 2.7 0 5.73.5 8.4.75 4.06 2.02 8.03 4.98 11a17.17 17.17 0 0 0 8.8 4.69c.33.07 3.15.47 1.42.26 4.04.47 8.43.45 11.8-2.16 3.74-2.9 6.3-7.5 7.43-12.07.66-2.67 2.04-9.07-.49-11.2-2.9-2.46-30.31-2.03-30.31-2.03Z" fill="url(#accessoriesSunglasses-b)" style="mix-blend-mode:screen"/><path d="M111.71 51.49c4.67.16 8 .88 10.55 4.52 3.01.15 6.25.37 8.98 1.63 3.39 1.56 3.9 5.1-.36 5.59-1.86.2-3.72-.12-5.55-.45l-.19-.03-.33-.06c1.1 9.46-6.21 20.87-14.23 24.35C99.6 91.8 87.34 86.53 81.53 77c-2.62-4.3-4.14-10.51-4.46-15.86-.42-.2-.83-.44-1.23-.67-.38-.22-.76-.44-1.12-.61-2-.98-5.34-1.1-7.5 0-.35.17-.7.37-1.05.58-.42.25-.86.5-1.3.72C64.53 66.5 63.01 72.7 60.4 77c-5.8 9.53-18.07 14.8-29.05 10.04-8.02-3.48-15.33-14.89-14.23-24.35-.11 0-.22.03-.33.05l-.2.03c-1.83.33-3.7.66-5.55.45-4.27-.5-3.74-4.03-.36-5.6 2.72-1.25 5.96-1.47 8.97-1.62 2.55-3.63 5.88-4.36 10.55-4.52l23.29-.46c5.19-.14 9.72 0 11.03 4.6a18.7 18.7 0 0 1 6.35-1.25c1.86 0 4.35.45 6.5 1.28 1.3-4.64 5.83-4.77 11.03-4.63l23.3.46Zm-24.03 6.78c-2.37.03-3.5.42-3.9 2.9-.4 2.5 0 5.31.46 7.78.73 3.77 1.92 7.46 4.71 10.22a16.24 16.24 0 0 0 8.32 4.34c.11.03.54.1.96.16.63.1 1.23.18.71.13 3.73.4 7.72.3 10.82-2.05 3.53-2.7 5.95-6.95 7.01-11.2.63-2.48 1.93-8.42-.46-10.4-2.73-2.28-28.63-1.88-28.63-1.88Zm-33.43 0c2.37.03 3.5.42 3.9 2.9.4 2.5 0 5.32-.46 7.78-.73 3.77-1.92 7.46-4.71 10.22a16.23 16.23 0 0 1-9.28 4.5c-.64.1-1.26.19-.68.13-3.73.4-7.74.32-10.85-2.05-3.53-2.69-5.95-6.95-7.01-11.2-.63-2.48-1.93-8.42.46-10.4 2.73-2.28 28.63-1.87 28.63-1.87Zm-10.93 25.5Z" fill="${escape.xml(`${colors.accessories}`)}"/></g><defs><linearGradient id="accessoriesSunglasses-a" x1="28.56" y1="57.25" x2="28.56" y2="76.8" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset="1" stop-opacity=".5"/></linearGradient><linearGradient id="accessoriesSunglasses-b" x1="82.61" y1="57.25" x2="82.61" y2="84.98" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient></defs>`,
14
14
  'wayfarers': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M39.25 52c-21.13 0-28.63 5.17-29.32 5.86A2.93 2.93 0 0 0 7 60.79v2.92a2.93 2.93 0 0 0 2.93 2.93s5.87 0 5.87 2.93c0 .2 0 .34.03.45-.03.82-.04 1.65-.04 2.48C15.78 85.34 24.07 93 37.96 93h2.75c14.68 0 24.93-8.43 24.93-20.5 0-1.44-.04-2.88-.16-4.28l1.45-.73c.57-.28 1.2-.5 1.87-.64 1.85-.39 3.93-.23 5.95.28.73.18 1.25.36 1.5.46l1.25.5a50.58 50.58 0 0 0-.16 4.4c0 12.84 8.29 20.5 22.17 20.5h2.75c14.68 0 24.93-8.43 24.93-20.5 0-.83 0-1.66-.04-2.48.02-.11.03-.26.03-.45 0-2.93 5.87-2.93 5.87-2.93 1.62 0 2.93-1.3 2.93-2.93V60.8a2.93 2.93 0 0 0-2.93-2.93c-.69-.69-8.2-5.86-29.32-5.86h-2.93c-1.83 0-3.52.07-5.08.21-9.38.56-14.46 2.19-19.63 4.76-.54.2-2.38.79-4.53.88a16.56 16.56 0 0 1-4.77-.92l-.42-.2v-.01c-4.9-2.45-8.36-4.18-20.55-4.61-1.15-.07-2.37-.1-3.66-.1h-2.93Zm-1.12 5.86h1.12c2.44 0 4.59.03 6.48.1 14.05.84 14.05 6.95 14.05 14.54 0 8.62-7.84 14.64-19.06 14.64h-2.75c-13.5 0-16.32-7.96-16.32-14.64 0-8 0-14.37 16.48-14.64Zm26.11 4.36.1.03-.07.03-.03-.06Zm14.52 0-.07.03.04.02c0-.02 0-.03.02-.05Zm16.7-4.12a125.22 125.22 0 0 1 9.4-.24c16.49.27 16.49 6.63 16.49 14.64 0 8.62-7.84 14.64-19.07 14.64h-2.75c-13.48 0-16.31-7.96-16.31-14.64 0-7.25 0-13.15 12.24-14.4Z" fill="#000" fill-opacity=".1"/><path d="M40.72 88.07c13.74 0 22-7.87 22-17.57s-1.3-17.57-20.54-17.57h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.25 17.57h2.75Z" fill="#000" fill-opacity=".7"/><path d="M40.72 88.07c13.74 0 22-7.87 22-17.57s-1.3-17.57-20.54-17.57h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.25 17.57h2.75Z" fill="url(#accessoriesWayfarers-a)" style="mix-blend-mode:screen"/><path d="M102.28 88.07c13.75 0 22-7.87 22-17.57S123 52.93 103.75 52.93h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.24 17.57h2.75Z" fill="#000" fill-opacity=".7"/><path d="M102.28 88.07c13.75 0 22-7.87 22-17.57S123 52.93 103.75 52.93h-2.93c-19.25 0-20.53 7.86-20.53 17.57 0 9.7 5.5 17.57 19.24 17.57h2.75Z" fill="url(#accessoriesWayfarers-b)" style="mix-blend-mode:screen"/><path fill-rule="evenodd" clip-rule="evenodd" d="M39.25 50c-21.13 0-28.63 5.17-29.32 5.86A2.93 2.93 0 0 0 7 58.79v2.92a2.93 2.93 0 0 0 2.93 2.93s5.87 0 5.87 2.93c0 .2 0 .34.03.45-.03.82-.04 1.65-.04 2.48C15.78 83.34 24.07 91 37.96 91h2.75c14.68 0 24.93-8.43 24.93-20.5 0-1.44-.04-2.88-.16-4.28l1.45-.73c.57-.28 1.2-.5 1.87-.64 1.85-.39 3.93-.23 5.95.28.73.18 1.25.36 1.5.46l1.25.5a50.58 50.58 0 0 0-.16 4.4c0 12.84 8.29 20.5 22.17 20.5h2.75c14.68 0 24.93-8.43 24.93-20.5 0-.83 0-1.66-.04-2.48.02-.11.03-.26.03-.45 0-2.93 5.87-2.93 5.87-2.93 1.62 0 2.93-1.3 2.93-2.93V58.8a2.93 2.93 0 0 0-2.93-2.93c-.69-.69-8.2-5.86-29.32-5.86h-2.93c-1.83 0-3.52.07-5.08.21-9.38.56-14.46 2.19-19.63 4.76-.54.2-2.38.79-4.53.88a16.56 16.56 0 0 1-4.77-.92l-.42-.2v-.01c-4.9-2.45-8.36-4.18-20.55-4.61-1.15-.07-2.37-.1-3.66-.1h-2.93Zm-1.12 5.86h1.12c2.44 0 4.59.03 6.48.1 14.05.84 14.05 6.95 14.05 14.54 0 8.62-7.84 14.64-19.06 14.64h-2.75c-13.5 0-16.32-7.96-16.32-14.64 0-8 0-14.37 16.48-14.64Zm26.11 4.36.1.03-.07.03-.03-.06Zm14.52 0-.07.03.04.02c0-.02 0-.03.02-.05Zm16.7-4.12a125.22 125.22 0 0 1 9.4-.24c16.49.27 16.49 6.63 16.49 14.64 0 8.62-7.84 14.64-19.07 14.64h-2.75c-13.48 0-16.31-7.96-16.31-14.64 0-7.25 0-13.15 12.24-14.4Z" fill="${escape.xml(`${colors.accessories}`)}"/><defs><linearGradient id="accessoriesWayfarers-a" x1="80.29" y1="52.93" x2="80.29" y2="88.07" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient><linearGradient id="accessoriesWayfarers-b" x1="80.29" y1="52.93" x2="80.29" y2="88.07" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity=".5"/><stop offset=".71" stop-opacity=".5"/></linearGradient></defs>`,
15
- 'eyepatch': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M94.4 4.78c-3.08-3.09-6.28 3.86-7.78 5.65-3.6 4.32-7.08 8.75-10.75 13.02-7.25 8.43-14.43 16.92-21.64 25.4-1.09 1.28-.96 1.41-2.4 1.54-.94.08-2.27-.4-3.26-.46-2.75-.16-5.46.3-8.13.9-5.35 1.17-11.01 3.1-15.65 6.07-1.22.78-2 1.7-3.32 1.94-1.15.21-2.68-.21-3.85-.32-2.08-.2-5.08-1.05-7.12-.6-2.6.55-3.58 3.7-.94 5.08 2.01 1.06 6.01.48 8.26.64 2.58.2 1.8.06 1.43 2.52-.53 3.54.35 7.49 1.84 10.72 3.46 7.5 13.03 15.46 21.77 14.72 7.28-.6 13.67-7.19 16.66-13.5a30.75 30.75 0 0 0 2.73-10.47c.19-2.27.08-4.67-.57-6.87a16.5 16.5 0 0 0-1.37-3.2c-.44-.79-2.4-2.64-2.52-3.44-.23-1.56 4.18-5.73 5.03-6.78 3.97-4.91 7.96-9.8 11.9-14.75 3.88-4.87 7.79-9.73 11.77-14.51 1.8-2.17 10.83-10.37 7.9-13.3" fill="#28354B"/>`,
15
+ 'eyepatch': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M94.4 4.78c-3.08-3.09-6.28 3.86-7.78 5.65-3.6 4.32-7.08 8.75-10.75 13.02-7.25 8.43-14.43 16.92-21.64 25.4-1.09 1.28-.96 1.41-2.4 1.54-.94.08-2.27-.4-3.26-.46-2.75-.16-5.46.3-8.13.9-5.35 1.17-11.01 3.1-15.65 6.07-1.22.78-2 1.7-3.32 1.94-1.15.21-2.68-.21-3.85-.32-2.08-.2-5.08-1.05-7.12-.6-2.6.55-3.58 3.7-.94 5.08 2.01 1.06 6.01.48 8.26.64 2.58.2 1.8.06 1.43 2.52-.53 3.54.35 7.49 1.84 10.72 3.46 7.5 13.03 15.46 21.77 14.72 7.28-.6 13.67-7.19 16.66-13.5a30.75 30.75 0 0 0 2.73-10.47c.19-2.27.08-4.67-.57-6.87a16.5 16.5 0 0 0-1.37-3.2c-.44-.79-2.4-2.64-2.52-3.44-.23-1.56 4.18-5.73 5.03-6.78 3.97-4.91 7.96-9.8 11.9-14.75 3.88-4.87 7.79-9.73 11.77-14.51 1.8-2.17 10.83-10.37 7.9-13.3" fill="${escape.xml(`${colors.accessories}`)}"/>`,
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/avataaars",
3
- "version": "7.0.0",
3
+ "version": "8.0.0-rc.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.0",
32
+ "@dicebear/core": "8.0.0-rc.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": "4e1f6af84fa8417a1b09e1d6f9fb209d8e4c2e42"
47
+ "gitHead": "46efe92668f9efd1eb8cd956617586439f870d19"
48
48
  }