@dicebear/notionists-neutral 6.0.0 → 6.0.1
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/glasses.js +2 -2
- package/lib/schema.js +10 -0
- package/lib/types.d.ts +1 -0
- package/package.json +3 -3
|
@@ -14,6 +14,6 @@ export const glasses = {
|
|
|
14
14
|
'variant05': (components, colors) => `<path d="M474.1 17C499.7 31.2 503.5 68 495 84.7c-8 15.4-19.5 28.5-32.9 39.9a104.9 104.9 0 0 1-38.8 22.8c-7 2-13 .1-18.1-3.3-18.1-12-33.2-27.5-47.5-43.7-3-3.6-5.3-7.7-6.6-12.3-4.3-14.2-14.9-19.2-28.3-13a50.9 50.9 0 0 0-22.3 18.4 150.8 150.8 0 0 1-53.6 49.7c-14.2 8.1-23.5 6.4-37-3.6-13-9.7-24.9-20.8-35.4-33-8.4-9.8-16.8-19.4-15.7-33.5.3-4.6-2.5-7-6.5-8.3a14 14 0 0 0-3.7-.7c-21.3-1-41.3-9-62.6-10.3-16-1-30.9-8.7-46.5-12.6-4.5-1.2-8.7-3.8-13.2-4.6-6.5-1.2-7.8-5.5-9-11.6A65.5 65.5 0 0 1 52 29c18.3 7.3 38 8.5 57 12.8 15.5 3.6 31.5 5 47.7 10.1 4.5-17.5 11.5-32.7 29.6-40 19.9-8 33.2 3.2 48 15 15.2-8.1 31.4-17.3 49.7-9.8 18.4 7.4 22.8 24.7 26.2 42.7 11.6.4 22.8-3.5 34-.7 3.9-7 4.4-14.3 6.3-21.2a37.2 37.2 0 0 1 57.7-21.8c9.8 9 19 9.6 31.5 2.9a38.5 38.5 0 0 1 34.3-2.2Z" fill="#000"/>`,
|
|
15
15
|
'variant04': (components, colors) => `<path d="M474.1 17C499.7 31.2 503.5 68 495 84.7c-8 15.4-19.5 28.5-32.9 39.9a104.9 104.9 0 0 1-38.8 22.8c-7 2-13 .1-18.1-3.3-18.1-12-33.2-27.5-47.5-43.7-3-3.6-5.3-7.7-6.6-12.3-4.3-14.2-14.9-19.2-28.3-13a50.9 50.9 0 0 0-22.3 18.4 150.8 150.8 0 0 1-53.6 49.7c-14.2 8.1-23.5 6.4-37-3.6-13-9.7-24.9-20.8-35.4-33-8.4-9.8-16.8-19.4-15.7-33.5.3-4.6-2.5-7-6.5-8.3a14 14 0 0 0-3.7-.7c-21.3-1-41.3-9-62.6-10.3-16-1-30.9-8.7-46.5-12.6-4.5-1.2-8.7-3.8-13.2-4.6-6.5-1.2-7.8-5.5-9-11.6A65.5 65.5 0 0 1 52 29c18.3 7.3 38 8.5 57 12.8 15.5 3.6 31.5 5 47.7 10.1 4.5-17.5 11.5-32.7 29.6-40 19.9-8 33.2 3.2 48 15 15.2-8.1 31.4-17.3 49.7-9.8 18.4 7.4 22.8 24.7 26.2 42.7 11.6.4 22.8-3.5 34-.7 3.9-7 4.4-14.3 6.3-21.2a37.2 37.2 0 0 1 57.7-21.8c9.8 9 19 9.6 31.5 2.9a38.5 38.5 0 0 1 34.3-2.2Z" fill="#000"/><path d="M193 63.5c-1-.3 1 0-.2.4-6.6 2 50.7 52.8 55.8 48.5 3-2.5-49.5-46.3-55.7-49ZM213.3 39.7c-.9-.3 1 0-.1.4-6.7 2 50.7 52.8 55.7 48.5 3-2.5-49.5-46.3-55.6-49ZM388.2 63.5c-.8-.3 1 0 0 .4-6.7 2 50.6 52.8 55.7 48.5 3-2.5-49.5-46.3-55.7-49ZM408.6 39.7c-.9-.3 1 0-.1.4-6.6 2 50.7 52.8 55.7 48.5 3-2.5-49.5-46.3-55.6-49Z" fill="#fff"/>`,
|
|
16
16
|
'variant03': (components, colors) => `<g fill="#000"><path fill-rule="evenodd" clip-rule="evenodd" d="m326 14.3 154.5 1c4.7.2 9.4.6 14 1.3 7.1.9 10.4 4.2 12 12a181 181 0 0 1-6.3 90.4c-5.4 17.7-20 28.1-37.5 33.6-23 7.1-46.5 12.4-69.8 3.9-20.8-7.6-37.2-20-42.9-44-.7-3-1.6-5.9-2.5-8.8-2.5-8.3-5-16.5-3.2-25.7.7-4-3.1-5.9-6-7.4h-.1c-15-7.6-29.7-.2-32.4 16.5-3 18.3-9 35.8-19.4 50.8-16.5 23.9-41.6 29.4-69 26.1a97.2 97.2 0 0 1-56.2-26.6 58 58 0 0 1-20-48.8c.8-11.2-5.5-16.3-13.8-17.7-14.3-2.4-27.6-7.8-40.8-13.2-4.7-2-9.4-3.9-14.2-5.6-7.2-2.7-14.5-5-21.8-7.3a384.7 384.7 0 0 1-25-8.5c-3.8-1.4-7-2.6-6.4-8.5 5.7-2.6 11-1 16.4.8C39 29.8 42.8 31 46.8 31c-2.7-9-8.3-12.4-17.3-12.8A35.3 35.3 0 0 1 2 5C6.7.4 11 .7 15 1.8c21.4 5.8 43.2 9.1 65 12.4 18 2.7 36 5.4 53.8 9.6 10.3 2.3 21.4 2.4 31-6.5 6.3-5.6 15.5-5.5 24-5.3h3.1c25.3.3 50.5.9 76.2 1.4l32.3.7 25.6.2ZM150.5 80c3.3 41.7 26.7 63 62.7 71 23.6 5.2 52.3.1 66.8-26.8a203.8 203.8 0 0 0 17-47.6c4-15.2 14.3-20 35.7-18.3 14.3 1.2 20.9 7.9 22.8 22.5 1.4 11 3 22 5 32.8 2.5 13.7 19.5 30.3 33.3 33a117 117 0 0 0 64-4.6c12-4.3 22.9-10.4 28.7-23 10-22 13-45.3 12.7-69.2-.2-22-1.6-23.4-24.3-23.5h-42.2c-19.6 0-39.1 0-58.6-.2l-75-.8c-29-.4-58-.8-87.1-1-3.5 0-7.1-.3-10.7-.7-10.8-1-21.7-2-30.3 5.1-9 7.4-17.8 7.4-27.4 7.4h-3.4c-2.5 0-5-.5-7.5-1-4.2-.9-8.5-1.8-13.1-.1 1.3 14.8 4.7 27.7 21.9 31.2 6.3 1.2 9.7 4.8 9 13.8ZM74.5 26.6c8.9-1.2 17-2.2 20 10.5a195 195 0 0 0 4 11.4c-13-2.7-23.2-7.7-28.1-21.4l4.1-.5Z"/><path d="M287 44.8c-.8-6 3-7.4 7-7.4 19 0 38 0 57.1.5 4.4 0 8.5 2 11.1 5.5-6.9 8.1-53.6 9.4-75.3 1.4Z"/></g>`,
|
|
17
|
-
'variant02': (components, colors) => `<
|
|
18
|
-
'variant01': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
17
|
+
'variant02': (components, colors) => `<g fill="#000"><path fill-rule="evenodd" clip-rule="evenodd" d="m264.3 14.3 78.4-.5 125.6-.8 6.2-.2c7.2-.4 14.6-.7 21 2.4 10.1 5 10.7 15 11.3 24.4a172.3 172.3 0 0 1-8.8 79.6 50.5 50.5 0 0 1-32 30.5c-23.5 7.8-48 13.5-72 4.8a65.7 65.7 0 0 1-42.1-39c-1.2-3.2-2.7-6.4-4.1-9.5a58.9 58.9 0 0 1-7-23.5c-.2-4.7-5.7-8.1-11.7-8.1-7 0-10.7 4.5-13.6 9.9a56.8 56.8 0 0 0-4.6 14.3c-.8 3.6-1.7 7.3-3 10.8-14.2 37-38.8 55.3-78.1 54.5a100.6 100.6 0 0 1-66.7-27.4A61.5 61.5 0 0 1 142.2 87a311.6 311.6 0 0 0 0-12 399 399 0 0 1-59.6-20.4C64.2 47 45.8 39.8 26.6 35c-3.3-.8-5.5-2-6.8-4.9-4-8.3-9.6-15.5-16.6-24.5L.3 2.1l18.9 3.3C32 7.7 43.9 9.8 55.9 11.7c9.8 1.6 19.7 3.4 29.5 5.2 20.1 3.7 40.2 7.4 60.7 8.9 6.6.4 12.5.3 18.2-5.9 6.2-6.8 16.3-6.3 25-6l2.8.2c23.7.8 47.3 1 72.2.2ZM96.1 51.7c2.8 1.5 5.2 1.1 5.2-2.4 0-18.9-14.5-29-34.1-23.5 4 14 14.6 20.5 28.9 26Zm16 3.6c-2-1.5-3-4.2-5.6-11.3-3.5-6-5-10.6-3.7-18a38.7 38.7 0 0 1 11.4 21c1 3.5 2 7 3.6 10.2-2.7-.6-4.4-1-5.7-2Z"/><path d="M287 44.8c-.8-6 3-7.4 7-7.4 19 0 38 0 57.1.5 4.4 0 8.5 2 11.1 5.5-6.9 8.1-53.6 9.4-75.3 1.4Z"/></g>`,
|
|
18
|
+
'variant01': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="m264.3 14.3 78.4-.5 125.6-.8 6.2-.2c7.2-.4 14.6-.7 21 2.4 10.1 5 10.7 15 11.3 24.4a172.3 172.3 0 0 1-8.8 79.6 50.5 50.5 0 0 1-32 30.5c-23.5 7.8-48 13.5-72 4.8a65.7 65.7 0 0 1-42.1-39c-1.2-3.2-2.7-6.4-4.1-9.5a58.9 58.9 0 0 1-7-23.5c-.2-4.7-5.7-8.1-11.7-8.1-7 0-10.7 4.5-13.6 9.9a56.8 56.8 0 0 0-4.6 14.3c-.8 3.6-1.7 7.3-3 10.8-14.2 37-38.8 55.3-78.1 54.5a100.6 100.6 0 0 1-66.7-27.4A61.5 61.5 0 0 1 142.2 87a311.6 311.6 0 0 0 0-12 399 399 0 0 1-59.6-20.4C64.2 47 45.8 39.8 26.6 35c-3.3-.8-5.5-2-6.8-4.9-4-8.3-9.6-15.5-16.6-24.5L.3 2.1l18.9 3.3C32 7.7 43.9 9.8 55.9 11.7c9.8 1.6 19.7 3.4 29.5 5.2 20.1 3.7 40.2 7.4 60.7 8.9 6.6.4 12.5.3 18.2-5.9 6.2-6.8 16.3-6.3 25-6l2.8.2c23.7.8 47.3 1 72.2.2ZM96.1 51.7c2.8 1.5 5.2 1.1 5.2-2.4 0-18.9-14.5-29-34.1-23.5 4 14 14.6 20.5 28.9 26Zm16 3.6c-2-1.5-3-4.2-5.6-11.3-3.5-6-5-10.6-3.7-18a38.7 38.7 0 0 1 11.4 21c1 3.5 2 7 3.6 10.2-2.7-.6-4.4-1-5.7-2Z" fill="#000"/><path d="M287 44.8c-.8-6 3-7.4 7-7.4 19 0 38 0 57.1.5 4.4 0 8.5 2 11.1 5.5-6.9 8.1-53.6 9.4-75.3 1.4Z" fill="#000"/><path d="M193 63.5c-1-.3 1 0-.2.4-6.6 2 50.7 52.8 55.8 48.5 3-2.5-49.5-46.3-55.7-49ZM213.3 39.7c-.9-.3 1 0-.1.4-6.7 2 50.7 52.8 55.7 48.5 3-2.5-49.5-46.3-55.6-49ZM388.2 63.5c-.8-.3 1 0 0 .4-6.7 2 50.6 52.8 55.7 48.5 3-2.5-49.5-46.3-55.7-49ZM408.6 39.7c-.9-.3 1 0-.1.4-6.6 2 50.7 52.8 55.7 48.5 3-2.5-49.5-46.3-55.6-49Z" fill="#fff"/>`,
|
|
19
19
|
};
|
package/lib/schema.js
CHANGED
|
@@ -7,6 +7,16 @@
|
|
|
7
7
|
export const schema = {
|
|
8
8
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
9
|
"properties": {
|
|
10
|
+
"backgroundColor": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"pattern": "^(transparent|[a-fA-F0-9]{6})$"
|
|
15
|
+
},
|
|
16
|
+
"default": [
|
|
17
|
+
"ffffff"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
10
20
|
"brows": {
|
|
11
21
|
"type": "array",
|
|
12
22
|
"items": {
|
package/lib/types.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export interface Options {
|
|
|
11
11
|
glasses?: ('variant11' | 'variant10' | 'variant09' | 'variant08' | 'variant07' | 'variant06' | 'variant05' | 'variant04' | 'variant03' | 'variant02' | 'variant01')[];
|
|
12
12
|
glassesProbability?: number;
|
|
13
13
|
brows?: ('variant13' | 'variant12' | 'variant11' | 'variant10' | 'variant09' | 'variant08' | 'variant07' | 'variant06' | 'variant05' | 'variant04' | 'variant03' | 'variant02' | 'variant01')[];
|
|
14
|
+
backgroundColor?: string[];
|
|
14
15
|
}
|
|
15
16
|
export type ColorPickCollection = Record<string, string>;
|
|
16
17
|
export type ComponentGroup = Record<string, ComponentGroupItem>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/notionists-neutral",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
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": "6.0.
|
|
32
|
+
"@dicebear/core": "6.0.1",
|
|
33
33
|
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
35
|
"typescript": "^4.9.5",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "082cf399581121d55e2ec72835ab9c867e50353e"
|
|
48
48
|
}
|