@dicebear/pixel-art-neutral 7.0.3 → 7.0.5
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 +3 -3
- package/lib/index.d.ts +3 -3
- package/lib/index.js +2 -2
- package/lib/utils/getComponents.js +3 -3
- package/package.json +3 -3
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: Florian Körner (https://dicebear.com)
|
|
9
|
-
License: CC0 1.0 (https://creativecommons.org/
|
|
8
|
+
Designer: Florian Körner (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
1
|
<h1 align="center"><img src="https://dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Pixel Art Neutral</h1>
|
|
2
2
|
<p align="center">
|
|
3
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">Florian Körner</a>
|
|
4
|
+
<a href="https://www.figma.com/community/file/1198754108850888330">Pixel Art Neutral</a> by <a href="https://www.dicebear.com">Florian Körner</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
18
18
|
The avatar style is based on <a href="https://www.figma.com/community/file/1198754108850888330">Pixel Art Neutral</a> by
|
|
19
|
-
<a href="https://dicebear.com">Florian Körner</a>, licensed under
|
|
20
|
-
<a href="https://creativecommons.org/
|
|
19
|
+
<a href="https://www.dicebear.com">Florian Körner</a>, licensed under
|
|
20
|
+
<a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>. / Remix of the original.
|
|
21
21
|
</p>
|
|
22
22
|
<p align="center">
|
|
23
23
|
See <a href="https://dicebear.com/licenses">license overview</a> for more information.
|
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
13
|
* Design "Pixel Art Neutral" by Florian Körner licensed under CC0 1.0. / Remix of the original.
|
|
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
|
@@ -10,10 +10,10 @@ export const meta = {
|
|
|
10
10
|
title: 'Pixel Art Neutral',
|
|
11
11
|
creator: 'Florian Körner',
|
|
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": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
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.
|
|
32
|
+
"@dicebear/core": "7.0.5",
|
|
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": "
|
|
47
|
+
"gitHead": "644f1f7d23af086cdd17dda5bf64f5c3afa16a64"
|
|
48
48
|
}
|