@dicebear/lorelei-neutral 7.0.0 → 8.0.0-rc.0
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 +1 -1
- package/README.md +1 -1
- package/lib/components/eyebrows.d.ts +1 -1
- package/lib/components/eyebrows.js +1 -1
- package/lib/components/eyes.d.ts +1 -1
- package/lib/components/eyes.js +1 -1
- package/lib/components/freckles.d.ts +1 -1
- package/lib/components/freckles.js +1 -1
- package/lib/components/glasses.d.ts +1 -1
- package/lib/components/glasses.js +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/mouth.d.ts +1 -1
- package/lib/components/mouth.js +1 -1
- package/lib/components/nose.d.ts +1 -1
- package/lib/components/nose.js +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/schema.d.ts +1 -1
- package/lib/schema.js +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/types.js +1 -1
- package/lib/utils/convertColor.d.ts +1 -1
- package/lib/utils/convertColor.js +1 -1
- package/lib/utils/getColors.d.ts +1 -1
- package/lib/utils/getColors.js +1 -1
- package/lib/utils/getComponents.d.ts +1 -1
- package/lib/utils/getComponents.js +7 -7
- package/lib/utils/pickComponent.d.ts +1 -1
- package/lib/utils/pickComponent.js +1 -1
- package/package.json +3 -3
package/LICENSE
CHANGED
|
@@ -6,7 +6,7 @@ Applies to all design files in this package.
|
|
|
6
6
|
|
|
7
7
|
Source: Lorelei Neutral (https://www.figma.com/community/file/1198749693280469639)
|
|
8
8
|
Designer: Lisa Wischofsky (https://www.instagram.com/lischi_art/)
|
|
9
|
-
License: CC0 1.0 (https://creativecommons.org/
|
|
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.
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<p align="center">
|
|
18
18
|
The avatar style is based on <a href="https://www.figma.com/community/file/1198749693280469639">Lorelei Neutral</a> by
|
|
19
19
|
<a href="https://www.instagram.com/lischi_art/">Lisa Wischofsky</a>, licensed under
|
|
20
|
-
<a href="https://creativecommons.org/
|
|
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.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const eyebrows: ComponentGroup;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const eyebrows = {
|
package/lib/components/eyes.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const eyes: ComponentGroup;
|
package/lib/components/eyes.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const eyes = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const freckles: ComponentGroup;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const freckles = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const glasses: ComponentGroup;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const glasses = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export { eyebrows } from './eyebrows.js';
|
|
8
8
|
export { eyes } from './eyes.js';
|
package/lib/components/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export { eyebrows } from './eyebrows.js';
|
|
8
8
|
export { eyes } from './eyes.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const mouth: ComponentGroup;
|
package/lib/components/mouth.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const mouth = {
|
package/lib/components/nose.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { ComponentGroup } from '../types.js';
|
|
8
8
|
export declare const nose: ComponentGroup;
|
package/lib/components/nose.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { escape } from '@dicebear/core';
|
|
8
8
|
export const nose = {
|
package/lib/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
/*!
|
|
8
8
|
* Lorelei Neutral (@dicebear/lorelei-neutral)
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Design "Lorelei Neutral" by Lisa Wischofsky licensed under CC0 1.0. / Remix of the original.
|
|
14
14
|
* Source: https://www.figma.com/community/file/1198749693280469639
|
|
15
15
|
* Homepage: https://www.instagram.com/lischi_art/
|
|
16
|
-
* License: https://creativecommons.org/
|
|
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
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { getComponents } from './utils/getComponents.js';
|
|
8
8
|
import { getColors } from './utils/getColors.js';
|
|
@@ -13,7 +13,7 @@ export const meta = {
|
|
|
13
13
|
homepage: 'https://www.instagram.com/lischi_art/',
|
|
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 }) => {
|
package/lib/schema.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { StyleSchema } from '@dicebear/core';
|
|
8
8
|
export declare const schema: StyleSchema;
|
package/lib/schema.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export const schema = {
|
|
8
8
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
package/lib/types.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export interface Options {
|
|
8
8
|
eyebrows?: ('variant13' | 'variant12' | 'variant11' | 'variant10' | 'variant09' | 'variant08' | 'variant07' | 'variant06' | 'variant05' | 'variant04' | 'variant03' | 'variant02' | 'variant01')[];
|
package/lib/types.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export {};
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export declare function convertColor(color: string): string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
export function convertColor(color) {
|
|
8
8
|
return 'transparent' === color ? color : `#${color}`;
|
package/lib/utils/getColors.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { Prng } from '@dicebear/core';
|
|
8
8
|
import type { Options, ColorPickCollection } from '../types.js';
|
package/lib/utils/getColors.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { convertColor } from './convertColor.js';
|
|
8
8
|
export function getColors({ prng, options }) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { Prng } from '@dicebear/core';
|
|
8
8
|
import type { Options, ComponentPickCollection } from '../types.js';
|
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import { pickComponent } from './pickComponent.js';
|
|
8
8
|
export function getComponents({ prng, options }) {
|
|
9
9
|
const eyebrowsComponent = pickComponent({
|
|
10
10
|
prng,
|
|
11
11
|
group: 'eyebrows',
|
|
12
|
-
values: options.eyebrows
|
|
12
|
+
values: options.eyebrows,
|
|
13
13
|
});
|
|
14
14
|
const eyesComponent = pickComponent({
|
|
15
15
|
prng,
|
|
16
16
|
group: 'eyes',
|
|
17
|
-
values: options.eyes
|
|
17
|
+
values: options.eyes,
|
|
18
18
|
});
|
|
19
19
|
const frecklesComponent = pickComponent({
|
|
20
20
|
prng,
|
|
21
21
|
group: 'freckles',
|
|
22
|
-
values: options.freckles
|
|
22
|
+
values: options.freckles,
|
|
23
23
|
});
|
|
24
24
|
const mouthComponent = pickComponent({
|
|
25
25
|
prng,
|
|
26
26
|
group: 'mouth',
|
|
27
|
-
values: options.mouth
|
|
27
|
+
values: options.mouth,
|
|
28
28
|
});
|
|
29
29
|
const noseComponent = pickComponent({
|
|
30
30
|
prng,
|
|
31
31
|
group: 'nose',
|
|
32
|
-
values: options.nose
|
|
32
|
+
values: options.nose,
|
|
33
33
|
});
|
|
34
34
|
const glassesComponent = pickComponent({
|
|
35
35
|
prng,
|
|
36
36
|
group: 'glasses',
|
|
37
|
-
values: options.glasses
|
|
37
|
+
values: options.glasses,
|
|
38
38
|
});
|
|
39
39
|
return {
|
|
40
40
|
'eyebrows': eyebrowsComponent,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import type { Prng } from '@dicebear/core';
|
|
8
8
|
import type { ComponentPick } from '../types.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
4
|
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
-
* File: https://www.figma.com/file/
|
|
5
|
+
* File: https://www.figma.com/community/file/1198749693280469639
|
|
6
6
|
*/
|
|
7
7
|
import * as components from '../components/index.js';
|
|
8
8
|
export function pickComponent({ prng, group, values = [] }) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/lorelei-neutral",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-rc.0",
|
|
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": "
|
|
32
|
+
"@dicebear/core": "8.0.0-rc.0",
|
|
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": "46efe92668f9efd1eb8cd956617586439f870d19"
|
|
48
48
|
}
|