@dicebear/adventurer 4.10.5 → 4.10.6
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/README.md +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +9 -9
- package/dist/index.js +9 -9
- package/dist/index.umd.js +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<h1 align="center"><img src="https://dicebear.com/api/adventurer/0.svg" width="124" /> <br />Adventurer</h1>
|
|
2
2
|
<p align="center">
|
|
3
3
|
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear Avatars</a>.</strong><br />
|
|
4
|
-
<a href="https://www.figma.com/file/
|
|
5
|
-
by <a href="https://www.instagram.com/
|
|
4
|
+
<a href="https://www.figma.com/community/file/1184595184137881796">Adventurer</a>
|
|
5
|
+
by <a href="https://www.instagram.com/lischi_art/">Lisa Wischofsky</a>
|
|
6
6
|
licensed under
|
|
7
7
|
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
|
|
8
8
|
</p>
|
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Copyright (c) 2021 Florian Körner
|
|
6
6
|
*
|
|
7
7
|
* Design "Adventurer" by Lisa Wischofsky licensed under CC BY 4.0.
|
|
8
|
-
* Source: https://www.instagram.com/
|
|
8
|
+
* Source: https://www.instagram.com/lischi_art/
|
|
9
9
|
* License: https://creativecommons.org/licenses/by/4.0/
|
|
10
10
|
*/
|
|
11
11
|
declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7;
|
package/dist/index.es.js
CHANGED
|
@@ -516,7 +516,7 @@ var style = {
|
|
|
516
516
|
meta: {
|
|
517
517
|
title: 'Adventurer',
|
|
518
518
|
creator: 'Lisa Wischofsky',
|
|
519
|
-
source: 'https://www.instagram.com/
|
|
519
|
+
source: 'https://www.instagram.com/lischi_art/',
|
|
520
520
|
license: {
|
|
521
521
|
name: 'CC BY 4.0',
|
|
522
522
|
url: 'https://creativecommons.org/licenses/by/4.0/'
|
|
@@ -538,15 +538,15 @@ var style = {
|
|
|
538
538
|
var accessoiresComponent = pickComponent(prng, 'accessoires', options.accessoires);
|
|
539
539
|
var hairComponent = pickComponent(prng, 'hair', options.hair);
|
|
540
540
|
var components = {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
541
|
+
eyes: eyesComponent,
|
|
542
|
+
eyebrows: eyebrowsComponent,
|
|
543
|
+
mouth: mouthComponent,
|
|
544
|
+
accessoires: prng.bool(options.accessoiresProbability) ? accessoiresComponent : undefined,
|
|
545
|
+
hair: hairComponent
|
|
546
546
|
};
|
|
547
547
|
var colors = {
|
|
548
|
-
|
|
549
|
-
|
|
548
|
+
skin: pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []),
|
|
549
|
+
hair: pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : [])
|
|
550
550
|
};
|
|
551
551
|
onPostCreate({
|
|
552
552
|
prng: prng,
|
|
@@ -571,7 +571,7 @@ var style = {
|
|
|
571
571
|
* Copyright (c) 2021 Florian Körner
|
|
572
572
|
*
|
|
573
573
|
* Design "Adventurer" by Lisa Wischofsky licensed under CC BY 4.0.
|
|
574
|
-
* Source: https://www.instagram.com/
|
|
574
|
+
* Source: https://www.instagram.com/lischi_art/
|
|
575
575
|
* License: https://creativecommons.org/licenses/by/4.0/
|
|
576
576
|
*/
|
|
577
577
|
var create = style.create,
|
package/dist/index.js
CHANGED
|
@@ -520,7 +520,7 @@ var style = {
|
|
|
520
520
|
meta: {
|
|
521
521
|
title: 'Adventurer',
|
|
522
522
|
creator: 'Lisa Wischofsky',
|
|
523
|
-
source: 'https://www.instagram.com/
|
|
523
|
+
source: 'https://www.instagram.com/lischi_art/',
|
|
524
524
|
license: {
|
|
525
525
|
name: 'CC BY 4.0',
|
|
526
526
|
url: 'https://creativecommons.org/licenses/by/4.0/'
|
|
@@ -542,15 +542,15 @@ var style = {
|
|
|
542
542
|
var accessoiresComponent = pickComponent(prng, 'accessoires', options.accessoires);
|
|
543
543
|
var hairComponent = pickComponent(prng, 'hair', options.hair);
|
|
544
544
|
var components = {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
545
|
+
eyes: eyesComponent,
|
|
546
|
+
eyebrows: eyebrowsComponent,
|
|
547
|
+
mouth: mouthComponent,
|
|
548
|
+
accessoires: prng.bool(options.accessoiresProbability) ? accessoiresComponent : undefined,
|
|
549
|
+
hair: hairComponent
|
|
550
550
|
};
|
|
551
551
|
var colors = {
|
|
552
|
-
|
|
553
|
-
|
|
552
|
+
skin: pickColor(prng, 'skin', (_options$skinColor = options.skinColor) !== null && _options$skinColor !== void 0 ? _options$skinColor : []),
|
|
553
|
+
hair: pickColor(prng, 'hair', (_options$hairColor = options.hairColor) !== null && _options$hairColor !== void 0 ? _options$hairColor : [])
|
|
554
554
|
};
|
|
555
555
|
onPostCreate({
|
|
556
556
|
prng: prng,
|
|
@@ -575,7 +575,7 @@ var style = {
|
|
|
575
575
|
* Copyright (c) 2021 Florian Körner
|
|
576
576
|
*
|
|
577
577
|
* Design "Adventurer" by Lisa Wischofsky licensed under CC BY 4.0.
|
|
578
|
-
* Source: https://www.instagram.com/
|
|
578
|
+
* Source: https://www.instagram.com/lischi_art/
|
|
579
579
|
* License: https://creativecommons.org/licenses/by/4.0/
|
|
580
580
|
*/
|
|
581
581
|
var create = style.create,
|