@dicebear/pixel-art-neutral 8.0.0-rc.2 → 8.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/LICENSE +3 -3
- package/README.md +8 -8
- package/lib/index.d.ts +4 -4
- package/lib/index.js +3 -3
- package/lib/utils/getComponents.js +3 -3
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -5,15 +5,15 @@ Licenses
|
|
|
5
5
|
Applies to all design files in this package.
|
|
6
6
|
|
|
7
7
|
Source: Pixel Art Neutral (https://www.figma.com/community/file/1198754108850888330)
|
|
8
|
-
Designer:
|
|
9
|
-
License: CC0 1.0 (https://creativecommons.org/
|
|
8
|
+
Designer: DiceBear (https://www.dicebear.com)
|
|
9
|
+
License: CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
|
|
10
10
|
|
|
11
11
|
# Code
|
|
12
12
|
Applies to all non-design files in this package.
|
|
13
13
|
|
|
14
14
|
MIT License
|
|
15
15
|
|
|
16
|
-
Copyright (c)
|
|
16
|
+
Copyright (c) 2024 Florian Körner
|
|
17
17
|
|
|
18
18
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
19
19
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<h1 align="center"><img src="https://dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Pixel Art Neutral</h1>
|
|
1
|
+
<h1 align="center"><img src="https://www.dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Pixel Art Neutral</h1>
|
|
2
2
|
<p align="center">
|
|
3
|
-
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br />
|
|
4
|
-
<a href="https://www.figma.com/community/file/1198754108850888330">Pixel Art Neutral</a> by <a href="https://dicebear.com">
|
|
3
|
+
<strong>Avatar Style for <a href="https://www.dicebear.com/">DiceBear</a></strong><br />
|
|
4
|
+
<a href="https://www.figma.com/community/file/1198754108850888330">Pixel Art Neutral</a> by <a href="https://www.dicebear.com">DiceBear</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
18
|
-
|
|
19
|
-
<a href="https://dicebear.com">
|
|
20
|
-
<a href="https://creativecommons.org/
|
|
18
|
+
<a href="https://www.figma.com/community/file/1198754108850888330">Pixel Art Neutral</a> by
|
|
19
|
+
<a href="https://www.dicebear.com">DiceBear</a>, licensed under
|
|
20
|
+
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>.
|
|
21
21
|
</p>
|
|
22
22
|
<p align="center">
|
|
23
|
-
See <a href="https://dicebear.com/licenses">license overview</a> for more information.
|
|
23
|
+
See <a href="https://www.dicebear.com/licenses">license overview</a> for more information.
|
|
24
24
|
</p>
|
|
25
25
|
|
|
26
26
|
<p align="center">
|
|
27
|
-
<a href="https://dicebear.com/styles/pixel-art-neutral">
|
|
27
|
+
<a href="https://www.dicebear.com/styles/pixel-art-neutral">
|
|
28
28
|
Read Documentation
|
|
29
29
|
</a>
|
|
30
30
|
</p>
|
package/lib/index.d.ts
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
* Pixel Art Neutral (@dicebear/pixel-art-neutral)
|
|
9
9
|
*
|
|
10
10
|
* Code licensed under MIT License.
|
|
11
|
-
* Copyright (c)
|
|
11
|
+
* Copyright (c) 2024 Florian Körner
|
|
12
12
|
*
|
|
13
|
-
* Design "Pixel Art Neutral" by
|
|
13
|
+
* Design "Pixel Art Neutral" by DiceBear licensed under CC0 1.0.
|
|
14
14
|
* Source: https://www.figma.com/community/file/1198754108850888330
|
|
15
|
-
* Homepage: https://dicebear.com
|
|
16
|
-
* License: https://creativecommons.org/
|
|
15
|
+
* Homepage: https://www.dicebear.com
|
|
16
|
+
* License: https://creativecommons.org/publicdomain/zero/1.0/
|
|
17
17
|
*/
|
|
18
18
|
import type { StyleCreate, StyleMeta } from '@dicebear/core';
|
|
19
19
|
import type { Options } from './types.js';
|
package/lib/index.js
CHANGED
|
@@ -8,12 +8,12 @@ import { getComponents } from './utils/getComponents.js';
|
|
|
8
8
|
import { getColors } from './utils/getColors.js';
|
|
9
9
|
export const meta = {
|
|
10
10
|
title: 'Pixel Art Neutral',
|
|
11
|
-
creator: '
|
|
11
|
+
creator: 'DiceBear',
|
|
12
12
|
source: 'https://www.figma.com/community/file/1198754108850888330',
|
|
13
|
-
homepage: 'https://dicebear.com',
|
|
13
|
+
homepage: 'https://www.dicebear.com',
|
|
14
14
|
license: {
|
|
15
15
|
name: 'CC0 1.0',
|
|
16
|
-
url: 'https://creativecommons.org/
|
|
16
|
+
url: 'https://creativecommons.org/publicdomain/zero/1.0/',
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
export const create = ({ prng, options }) => {
|
|
@@ -9,17 +9,17 @@ export function getComponents({ prng, options }) {
|
|
|
9
9
|
const eyesComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'eyes',
|
|
12
|
-
values: options.eyes
|
|
12
|
+
values: options.eyes,
|
|
13
13
|
});
|
|
14
14
|
const glassesComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'glasses',
|
|
17
|
-
values: options.glasses
|
|
17
|
+
values: options.glasses,
|
|
18
18
|
});
|
|
19
19
|
const mouthComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'mouth',
|
|
22
|
-
values: options.mouth
|
|
22
|
+
values: options.mouth,
|
|
23
23
|
});
|
|
24
24
|
return {
|
|
25
25
|
'eyes': eyesComponent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/pixel-art-neutral",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
"test": "uvu tests"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@dicebear/core": "8.0.
|
|
32
|
+
"@dicebear/core": "8.0.1",
|
|
33
33
|
"@tsconfig/recommended": "^1.0.2",
|
|
34
34
|
"del-cli": "^5.0.0",
|
|
35
35
|
"typescript": "^5.1.6",
|
|
36
36
|
"uvu": "^0.5.6"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@dicebear/core": "^8.0.0
|
|
39
|
+
"@dicebear/core": "^8.0.0"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=16.0.0"
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"publishConfig": {
|
|
45
45
|
"access": "public"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "dc11ff0fa0328c521e5769fde4414ad5a6dc7d2d"
|
|
48
48
|
}
|