@dicebear/notionists 9.2.1 → 9.2.3
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/lib/components/base.js +1 -1
- package/lib/components/beard.js +12 -12
- package/lib/components/body.js +25 -25
- package/lib/components/bodyIcon.js +3 -3
- package/lib/components/brows.js +13 -13
- package/lib/components/eyes.js +5 -5
- package/lib/components/gesture.js +10 -10
- package/lib/components/glasses.js +11 -11
- package/lib/components/hair.js +64 -64
- package/lib/components/lips.js +30 -30
- package/lib/components/nose.js +20 -20
- package/lib/index.js +1 -1
- package/lib/schema.js +482 -500
- package/lib/types.d.ts +1 -1
- package/lib/utils/getColors.js +0 -1
- package/lib/utils/getComponents.d.ts +1 -1
- package/lib/utils/getComponents.js +18 -13
- package/lib/utils/pickComponent.d.ts +1 -1
- package/lib/utils/pickComponent.js +1 -1
- package/package.json +6 -6
package/lib/components/base.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* File: https://www.figma.com/file/gpLBQuklPE2XsOskwwv7QW
|
|
6
6
|
*/
|
|
7
7
|
export const base = {
|
|
8
|
-
|
|
8
|
+
variant01: (components, colors) => `<path d="M554 727.7c-99.2 297-363.8 388.6-503.7 19.8-19.3-50.7 31-69.5 66.2-91.9 24.1-15.3 36.8-28.5 35.3-42.2-7-64.4-36.9-243.8-36.9-243.8l-3-5.8s.7-1.6-2.2 1.2c-3 3-9.9 34.2-37 34.2-24.5 0-49.2-10.9-61-86.3C7.2 285.6 9.6 214 40 201c12.5-5.3 24-7.2 35.2-.8 11.3 6.4-13-22 112-126C268.4 6.4 396.7-3.5 448.5 8 500.3 19.5 552 44.8 574.9 98.5c27.8 65-25.9 114.3-14 262.5-2.2 53.6.8 171.2-146.6 210.6-28 7.5-19.3 48.4 22.7 58.4 67 21 117 72.3 117 97.9" fill="#fff"/><path fill-rule="evenodd" clip-rule="evenodd" d="m554 266.2.1-1.4c4.1-36.4 8.2-71.7 27.1-103.4 6.5 4.4 5.7 10 3.7 15.2-19.9 51.2-18 104.4-16.2 157.6l.4 14c2.1 66.4-14.5 126.8-58.7 177.5-15.4 17.6-35.8 29.8-56.5 40.3-21.4 11-25.9 20.1-19.2 43.6l.8 2.6c1.4 3.9 2.8 7.9-1 11.8-4.5 4.6-9.5 3.3-14.8 1.8l-.6-.1a406.4 406.4 0 0 1-137-68.3c-6-4.4-10.8-10.3-15.5-16.1l-.3-.4c-2.5-3-3-7.8.5-10.4 3.3-2.5 5.8-.5 8.7 1.8l1 .9a145.5 145.5 0 0 0 76.3 31.7c13.4 1.4 26.6.9 40 .4 7.4-.3 14.8-.6 22.3-.5 10.2 0 18.7-4.7 26.7-9.2l2.8-1.6c27.8-15.5 54.3-32.8 72.2-60.7 16.1-25 25.9-52.2 31.6-80.9 7.2-36.1 6.6-72.7 6-109.8-.3-12-.5-24.2-.5-36.4ZM50.6 190.8c21.9-1.7 34 11.2 44.3 26.3a140.4 140.4 0 0 1 22.4 61.5c.5 3.7 1 7.6-1.2 11.3-4.5.6-4.9-3-5-5.6-.5-20.7-9.7-38.7-18.9-56.1-6.6-12.5-16.2-24.6-31.4-27.6-17.2-3.5-33 12-40.8 32.2-14.5 37.6-12 74.6 1.4 111 5.8 15.9 13.1 32.1 27.8 43.2 14.8 11.3 32.7 9.3 43.6-5.7l2-2.5c2-2.6 4-5.1 5-8 2.1-5.8 5.4-11.2 11.3-10.4 6.8 1 8 8.3 8.7 14a3661 3661 0 0 0 22 156.7l5.9 38.8c2.6 17.1 5.6 41.7 3.6 52.1a28 28 0 0 0-.3 2.2c-.4 2.8-.6 5-4.2 5.5-4.9.8-7-2-7.7-6.4-2.3-17-3-23.6-4-49.6-.9-25.2-5.6-50-10.4-74.9l-5-27c-5.2-30.8-10.3-62-10.8-97l-2 3c-7.6 11.3-13.7 20.5-24.5 24a40.5 40.5 0 0 1-46.1-12.5 127.8 127.8 0 0 1-28.8-55.8c-8.4-34-9.9-67.1.9-100.6 5.2-16.1 23.7-44.7 42.2-42Zm34.6 127.5c4.4 3.2 8.4 6 12-5.4-1.1-42.2-14.7-69.2-35.8-70.3 11.2 14.6 22 28.8 23 48.5a32.3 32.3 0 0 1-10.7-8.8c-2-2.2-4-4.4-6.5-6l-3-2.4c-4.8-3.6-9.7-7.4-17.8-4.5 3.8 5.8 9 10 14.3 14 6 4.7 12 9.3 15.6 16.5-10.6 7.7-15.2 17.7-9.7 29.9 4.8 10.5 11.9 19.2 25.9 19.8-.6-6.3-4.7-10.9-8.8-15.4-5-5.4-9.7-10.6-7.5-18.6 3.2-1.5 6.2.7 9 2.7Z" fill="#000"/>`,
|
|
9
9
|
};
|
package/lib/components/beard.js
CHANGED
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* File: https://www.figma.com/file/gpLBQuklPE2XsOskwwv7QW
|
|
6
6
|
*/
|
|
7
7
|
export const beard = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
variant12: (components, colors) => `<path d="M138.5 199.8c0-10 62.6 41.1 126.8 25 24.4-6.1 16.3-36.7 16.3-36.7l22.6-2.3s-3.3 28.5 5.3 32c36.5 14.4 81.5-48.4 84.9-33 5.5 25.1-19.6 60.3-28 74-12.3 19.6-35.4 40.6-51.2 43.4-82.2 14.9-176.7-72.5-176.7-102.4Z" fill="#000"/>`,
|
|
9
|
+
variant11: (components, colors) => `<path d="M138.5 199.8c0-10 62.6 41.1 126.8 25 24.4-6.1 16.3-36.7 16.3-36.7l22.6-2.3s-3.3 28.5 5.3 32c36.5 14.4 81.5-48.4 84.9-33 5.5 25.1-19.6 60.3-28 74-12.3 19.6-35.4 40.6-51.2 43.4-82.2 14.9-176.7-72.5-176.7-102.4ZM219.4 134.6c-15.3 0-25-7-27.6-18.5-2.8-13.1 4.9-27.4 17.2-34 13-7 27.5-5.5 40-3.2 14.5 2.7 29.7 1.9 43.7 7a16 16 0 0 0 12.3-.2 39.3 39.3 0 0 1 17.6-2.7 296 296 0 0 0 42.8-.3c13.4-.9 22.2 7.5 26.1 22.6 2.5 9.3-3.8 23-13.3 28a33.6 33.6 0 0 1-34-.5c-6.8-3.7-12.9-6.4-21.4-2.9a20 20 0 0 1-19.6-2c-4.3-3.5-8.2-3.9-12.8-1.3-1.4.8-3.7 1.7-4.9 1-14.6-7-29.4-2.2-44.3-1.4-8.4.4-13 8-21.8 8.4Z" fill="#000"/>`,
|
|
10
|
+
variant10: (components, colors) => `<path d="M219.4 134.6c-15.3 0-25-7-27.6-18.5-2.8-13.1 4.9-27.4 17.2-34 13-7 27.5-5.5 40-3.2 14.5 2.7 29.7 1.9 43.7 7a16 16 0 0 0 12.3-.2 39.3 39.3 0 0 1 17.6-2.7 296 296 0 0 0 42.8-.3c13.4-.9 22.2 7.5 26.1 22.6 2.5 9.3-3.8 23-13.3 28a33.6 33.6 0 0 1-34-.5c-6.8-3.7-12.9-6.4-21.4-2.9a20 20 0 0 1-19.6-2c-4.3-3.5-8.2-3.9-12.8-1.3-1.4.8-3.7 1.7-4.9 1-14.6-7-29.4-2.2-44.3-1.4-8.4.4-13 8-21.8 8.4Z" fill="#000"/>`,
|
|
11
|
+
variant09: (components, colors) => `<path d="M406.9 115c-3.2 6.7-10.3 9-18.3 5.2-15.6-7.3-34-10.3-52.8-13.1-3.6-.7-7.4-1-11.2-1.2-26-.2-26-.2-27.2-15.5L296 94c-5.4 11.8-5.4 12.4-27.4 11.7-16.5-.6-30.7 3.1-45.4 6-10 1.9-19.6 4.2-30.3 4.9-5.4.3-11 .6-13.8-2-2.9-2.7-3.1-6.5.4-9 9.2-6.6 14.2-14.7 23.5-21.3a53 53 0 0 1 47-9.6c14.7 3 31 3 44 8.8 2.5 1 5.4.8 8.5.1 12.7-2.7 26-3.8 39.4-5.2 32.1-3.2 39.9 3.3 57.6 16 8.6 6 7.4 13 7.3 20.6Z" fill="#000"/>`,
|
|
12
|
+
variant08: (components, colors) => `<g fill="#000"><path d="M303.2 282.3c-80.1 2-172.3-72.2-169.7-84.8 2.3-11.3 50.5 2 56.4 6.4a130 130 0 0 0 43.1 21.6c10.5 2.7 20-1.2 28.2-8.2 5.7-4.8 10.1-14 3.3-28.3-2.3-4.8-5.1-10-3-15.2 2.2-5.3 5.7-7.7 10.3-5 15.2 9.1 29.2 10.6 42.6 0 7-5.5 12.7 5.9 12.3 21.5-.5 19.5 2.8 23.2 13.4 20.7 11.4-2.8 22.7-24.6 32-35.4 108.1-126.5-4 54.2-4.8 56-11.3 27-45.5 45.5-64.1 50.7Z"/><path d="M329 101.5c15-19 23.4-19.3 40.8-1.4 5.8 6 12.6 9.8 17 18.4 1.9 3.8 5.4 7.2 3.7 12.4-1.8 5.4-4.7 9.3-9.5 8.2-5.1-1-10.2-2.7-15-4.8-9.4-4.5-18.6-10-28.4-12.5-9.8-2.5-13.1-10.4-8.7-20.3ZM267 101.5c-15-19-23.5-19.3-41-1.4-5.7 6-12.5 9.8-16.9 18.4-1.9 3.8-5.4 7.2-3.7 12.4 1.8 5.4 4.7 9.3 9.5 8.2 5.1-1 10.2-2.7 15-4.8 9.4-4.5 18.6-10 28.4-12.5 9.8-2.5 13.1-10.4 8.7-20.3Z"/></g>`,
|
|
13
|
+
variant07: (components, colors) => `<path d="M232.7 76.6c13.8-9.2 26.5-6 38.8 1.8 5.1 3.2 10.2 8 9.4 15.5-.7 6.6-6.6 7.5-11.3 10-17.6 8.9-37 10-54.9 17.4a141 141 0 0 0-24.9 14.7c-4.1 2.9-8.1 4-12.3 2-4.7-2-3.6-7.5-3.8-12-.1-3.8.2-7.7-.1-11.5-1.6-20.6-1-21.6 17-23.6 2.2-.2 4.4-.5 5.5-3 8.8-17.8 22-16.2 36.6-11.3ZM410.3 110.5c2.5 10.3-2 14-8.8 13.4-24.5-2.4-49.3-3.5-72.8-13.8-6-2.7-14.3-4.7-13.7-13.4.8-10 8.1-16.3 16-20.2 4.3-2.2 8.8-3.7 13-6.1 11.9-7 19.3-6 28.8 5.7 2 2.6 3.4 4.7 7 4.2 12.3-1.8 20.4 4.8 24.7 18.5 1.2 4 3.6 7.3 5.8 11.7Z" fill="#000"/>`,
|
|
14
|
+
variant06: (components, colors) => `<path d="M216.6 81.8c17.1 0 33.2-1.6 49.1 1.8 12 2.6 15 7.8 11.9 22.6-2.4 11.5-31.6 4.6-54 4.4-7.4-.1-30.4 2.6-36.2 7-4.5 3.4-9 6.1-14.8 5.7-.2-14.2 21-34.2 44-41.5ZM341.1 115.4c-9 .7-39.4 1.6-39.4-16.7 0-7.2 2-11.6 6.2-13.7 16.1-8 32.6-.5 52.4 4.6 10 2.6 12.4 8 19 15.7 4.5 5.3 2 9.8-5 10-10.7.4-21.3.1-33.2 0Z" fill="#000"/>`,
|
|
15
|
+
variant05: (components, colors) => `<path d="M228.4 117.6c-21.6 3.1-40.3-2.1-61.6 3.7-4.3 1.2-9 0-11-2.7-2.3-3.4 3.5-5.5 6.2-7.8 16.7-14.3 34.5-27.4 59.2-26 10.4.6 20 3 30.7 3.1 3.6 0 7.4-.4 10.6.3 5.2 1.2 14.6-1 13.5 6.2-1 6.3-7.4 11-15 13-10.8 2.8-21 7.1-32.6 10.2ZM351.6 115.6c21.6 3.1 40.3-2.1 61.6 3.7 4.3 1.2 9 0 11-2.7 2.3-3.4-3.5-5.5-6.2-7.8-16.7-14.3-34.5-27.4-59.2-26-10.4.6-20 3-30.7 3.1-3.6 0-7.4-.4-10.6.3-5.2 1.2-14.6-1-13.5 6.2 1 6.3 7.4 11 15 13 10.8 2.8 21 7.1 32.6 10.2Z" fill="#000"/>`,
|
|
16
|
+
variant04: (components, colors) => `<path d="M272.7 104.6c-5.5 11.8-15.8 14-26 14.6-8.2.5-12.6-6.2-10.5-13.5a36 36 0 0 1 21.5-25c5.1-1.9 10.4-4.4 15.6-.2 5.7 4.6 4.4 10.6 3.3 16.4-.5 2.4-2.2 4.6-3.9 7.7ZM342.8 122.3c-14.3-3-21.2-13.2-27.3-23.9-5.8-10 3.2-13.6 9.7-16.8 7.4-3.7 21 5 25.3 16.5 3.6 9.2 6.5 19.2-7.7 24.2Z" fill="#000"/>`,
|
|
17
|
+
variant03: (components, colors) => `<path d="M247.6 145.3c-12 11.6-26 12-40 10-12.1-1.7-21-20-17-33 6-19.8 34.6-36.3 55.5-34.2 26.9 2.6 53.7 6.3 81 .7 25.1-5 49.3 9.3 54.3 30.2 5.3 22.1-2.2 30.4-24.7 28-11-1-21.6-5.2-30.4-11.9-25.1-19.1-56.5-9-78.7 10.2Z" fill="#000"/>`,
|
|
18
|
+
variant02: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M387.7 121.5c13.4-17.5 50-64.5 50-64.5s14 50.4 11.2 79.3a252 252 0 0 0-1 18.5c-.6 26-.6 27-78.6 119-33.1 39-95.3 41-117.3 36.7-73-14.6-160.3-130-180-180.6C54 83.4 0 0 0 0l31.2 5s39.1 23.2 56 67.3c8.7 22.7 59.7 88.2 134 52.4 17.7-8.6 35-16.7 55.5-14.5h.1c7.3.8 13.3 1.4 16 8.7 30.8-24.4 46.8-5.3 62.3 13 3.4 4 6.7 8 10.1 11.5 9.6-3.2 14.2-10 18.8-16.6a111 111 0 0 1 3.7-5.3Zm-130.8 49c7.8 9 72.3 6.5 74.3-7.7 1.6-12-4.3-15.3-12.2-19.6a82.2 82.2 0 0 1-7.7-4.6c-18.3-12.8-78.7 4-54.4 32Z" fill="#000"/>`,
|
|
19
|
+
variant01: (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M253.6 88.3c-20.7-5.7-48.8-5.8-63.4.2C130 113.4 128 190 145.8 223.4c11.6 21.8 35.6 41.4 59.7 61 18.8 15.4 36.8 19.7 59.8 25l3.3.9c10.2 2.4 18.8 1.8 27.7 1.1 4.3-.3 8.7-.6 13.3-.6 17 .1 32.8-11.3 44.3-21.8 18.9-17.3 32.6-38.3 30.4-65.5-1.1-14 2-26.7 8.4-39.2 10.7-20.6 15.1-42 10.4-65.3a40.4 40.4 0 0 0-37.5-33.8C343.2 83.7 290 99 290 99l-36.4-10.7Zm63.8 129.8-27.2 3.9c-21.2 20.7-60.3 24.6-73.8 11.4-21.7-21.1-16.2-30.5-11.9-38 1.8-3 3.4-5.8 2.7-8.9 5.3 3.7 9.8 7.8 14.2 11.8 6.8 6.1 13.1 12 21.4 15.2 3.9-6.2.6-9.2-2.3-12l-.3-.3a122.9 122.9 0 0 1-19.8-27c-10-16-1.3-33.2 17.8-35.8 15.2-2 22.7-3.1 29.2-6.1 6.4-3 12-7.7 23-17 13 12.4 30 15.3 47.3 17.7 11.2 1.6 16.7 11.5 15.2 22.7a63 63 0 0 1-12 26.2c-2.8 4.3-5.7 8.6-7.9 13.3l-.8 1.5c-1 1.6-2.1 3.3-.6 5.4 6.2.2 10.1-4.5 14-9.2 5.4-6.4 10.9-12.9 22.3-7.1-13 58.8-50.5 32.3-50.5 32.3Z" fill="#000"/>`,
|
|
20
20
|
};
|