@dicebear/bottts-neutral 5.0.0-alpha.8 → 5.0.0-beta.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 +3 -3
- package/lib/components/eyes.d.ts +8 -0
- package/lib/components/eyes.js +22 -0
- package/lib/components/index.d.ts +8 -0
- package/lib/components/index.js +8 -0
- package/lib/components/mouth.d.ts +8 -0
- package/lib/components/mouth.js +17 -0
- package/lib/core.d.ts +9 -0
- package/lib/core.js +39 -0
- package/lib/hooks/onPostCreate.d.ts +16 -0
- package/lib/hooks/onPostCreate.js +9 -0
- package/lib/hooks/onPreCreate.d.ts +14 -0
- package/lib/hooks/onPreCreate.js +9 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +20 -0
- package/lib/schema.d.ts +8 -0
- package/lib/schema.js +105 -0
- package/lib/types.d.ts +20 -0
- package/lib/types.js +7 -0
- package/lib/utils/getColors.d.ts +14 -0
- package/lib/utils/getColors.js +10 -0
- package/lib/utils/getComponents.d.ts +14 -0
- package/lib/utils/getComponents.js +24 -0
- package/lib/utils/pickComponent.d.ts +15 -0
- package/lib/utils/pickComponent.js +20 -0
- package/package.json +19 -28
- package/dist/index.d.ts +0 -13
- package/dist/index.d.ts.map +0 -1
- package/dist/index.es.js +0 -273
- package/dist/index.es.js.map +0 -1
- package/dist/index.js +0 -277
- package/dist/index.js.map +0 -1
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<h1 align="center"><img src="./tests/svg/0.svg" width="124" /> <br />Bottts Neutral</h1>
|
|
2
2
|
<p align="center">
|
|
3
3
|
<strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br />
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
<a href="https://bottts.com/">Bottts</a>
|
|
5
|
+
by <a href="https://twitter.com/pablostanley">Pablo Stanley</a>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
While our code is MIT licensed, the design is licensed under
|
|
10
|
-
|
|
10
|
+
<a href="https://bottts.com/">Free for personal and commercial use</a>.
|
|
11
11
|
See <a href="https://dicebear.com/licenses">license overview</a> for more information.
|
|
12
12
|
</p>
|
|
13
13
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { ComponentGroup } from '../types.js';
|
|
8
|
+
export declare const eyes: ComponentGroup;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export const eyes = {
|
|
8
|
+
'bulging': (components, colors) => `<circle cx="28" cy="24" r="18" fill="#000" fill-opacity=".2"/><circle cx="74" cy="24" r="18" fill="#000" fill-opacity=".2"/><circle cx="28" cy="24" r="15" fill="#F1EEDA"/><circle cx="74" cy="24" r="15" fill="#F1EEDA"/><rect x="26" y="15" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/><rect x="74" y="15" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/>`,
|
|
9
|
+
'dizzy': (components, colors) => `<path d="m25 27.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L28.2 24l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L25 20.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0l5.5-5.5ZM79 27.2l5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L82.2 24l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L79 20.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0l5.5-5.5Z" fill="#000" fill-opacity=".8"/>`,
|
|
10
|
+
'eva': (components, colors) => `<g fill-rule="evenodd" clip-rule="evenodd"><path d="M53 0c34.75 0 49 17.47 49 31 0 13.53-19.59 17-49 17-29.05 0-51-3.47-51-17S17.11 0 53 0Z" fill="#000" fill-opacity=".8"/><path d="M28.82 34.65c-6.53-1.35-11.24-6.34-10.52-11.14.72-4.79 6.6-7.58 13.12-6.23 6.53 1.36 11.24 6.35 10.52 11.15-.72 4.8-6.6 7.59-13.12 6.23ZM75.42 34.65c-6.52 1.36-12.4-1.43-13.12-6.23-.72-4.8 4-9.8 10.52-11.15 6.52-1.35 12.4 1.44 13.12 6.24.72 4.81-4 9.8-10.52 11.15Z" fill="#25A6F5"/></g>`,
|
|
11
|
+
'frame1': (components, colors) => `<rect y="4" width="104" height="42" rx="4" fill="#000" fill-opacity=".8"/><rect x="28" y="25" width="10" height="11" rx="2" fill="#8BDDFF"/><rect x="66" y="25" width="10" height="11" rx="2" fill="#8BDDFF"/><path fill-rule="evenodd" clip-rule="evenodd" d="M21 4h8L12 46H4L21 4Z" fill="#fff" fill-opacity=".4"/>`,
|
|
12
|
+
'frame2': (components, colors) => `<rect x="8" y="10" width="88" height="36" rx="4" fill="#000" fill-opacity=".8"/><rect x="28" y="21" width="10" height="17" rx="2" fill="#5EF2B8"/><rect x="66" y="21" width="10" height="17" rx="2" fill="#5EF2B8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M83 10h5L76 46h-5l12-36Z" fill="#fff" fill-opacity=".4"/>`,
|
|
13
|
+
'glow': (components, colors) => `<g fill="#fff"><circle cx="21" cy="30" r="15" fill-opacity=".1"/><circle cx="83" cy="30" r="15" fill-opacity=".1"/><circle cx="21" cy="30" r="12" fill-opacity=".1"/><circle cx="83" cy="30" r="12" fill-opacity=".1"/><circle cx="21" cy="30" r="6" fill-opacity=".8"/><circle cx="83" cy="30" r="6" fill-opacity=".8"/><circle cx="21" cy="30" r="3" fill-opacity=".8"/><circle cx="83" cy="30" r="3" fill-opacity=".8"/></g>`,
|
|
14
|
+
'happy': (components, colors) => `<path d="m18 19 12-2M20 31c0-3.31 2.9-6 7-6 3.1 0 6 2.69 6 6M86 20l-12-3M84 31c0-3.31-2.9-6-6-6-4.1 0-7 2.69-7 6" stroke="#000" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
15
|
+
'hearts': (components, colors) => `<path d="M29.27 9.68c-2.55.13-4.96 2.24-6.25 4.15-1.48-1.76-4.1-3.6-6.65-3.47-5.48.28-8.85 3.8-8.63 8.1.3 5.72 4.88 8.89 9.7 12.24 1.71 1.15 5 4.15 5.42 4.82.42.67 2.14.6 2.58-.13a37.8 37.8 0 0 1 4.9-5.36c4.43-3.84 8.66-7.47 8.36-13.2-.23-4.3-3.95-7.44-9.43-7.15ZM87.63 10.36c-2.55-.14-5.17 1.7-6.65 3.47-1.3-1.9-3.7-4.02-6.25-4.15-5.48-.29-9.2 2.86-9.43 7.16-.3 5.72 3.93 9.35 8.36 13.19 1.6 1.32 4.55 4.64 4.9 5.36.35.7 2.06.82 2.58.13.51-.7 3.7-3.67 5.42-4.82 4.81-3.35 9.4-6.52 9.7-12.24.22-4.3-3.15-7.82-8.63-8.1Z" fill="#FF5353" fill-opacity=".8"/>`,
|
|
16
|
+
'robocop': (components, colors) => `<rect x="7" y="16" width="91" height="16" rx="4" fill="#000" fill-opacity=".8"/><mask id="eyesRobocop-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="7" y="16" width="91" height="16"><rect x="7" y="16" width="91" height="16" rx="4" fill="#fff"/></mask><g mask="url(#eyesRobocop-a)" fill-rule="evenodd" clip-rule="evenodd" fill="#fff" fill-opacity=".8"><path d="M76 7h18L82 37H64L76 7ZM52 7h9L49 37h-9L52 7Z"/></g>`,
|
|
17
|
+
'round': (components, colors) => `<g fill="#fff"><circle cx="24" cy="30" r="6"/><circle cx="80" cy="30" r="6"/></g>`,
|
|
18
|
+
'roundFrame01': (components, colors) => `<rect y="12" width="104" height="32" rx="16" fill="#000" fill-opacity=".8"/><rect x="24" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/><rect x="70" y="22" width="10" height="12" rx="2" fill="#F4F4F4"/>`,
|
|
19
|
+
'roundFrame02': (components, colors) => `<rect y="11" width="104" height="34" rx="17" fill="#000" fill-opacity=".8"/><circle cx="29" cy="28" r="13" fill="#F1EEDA"/><circle cx="75" cy="28" r="13" fill="#F1EEDA"/><rect x="24" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/><rect x="70" y="23" width="10" height="10" rx="2" fill="#000" fill-opacity=".8"/>`,
|
|
20
|
+
'sensor': (components, colors) => `<path d="M28 44a20 20 0 0 0 19.9-18h41.52a5 5 0 1 0 0-4H47.9A20 20 0 1 0 28 44Z" fill="#000" fill-opacity=".2"/><circle cx="94" cy="24" r="2" fill="#fff"/><circle cx="28" cy="24" r="16" fill="#000" fill-opacity=".6"/><circle cx="34" cy="16" r="3" fill="#fff"/>`,
|
|
21
|
+
'shade01': (components, colors) => `<path d="M0 10a8 8 0 0 1 8-8h88a8 8 0 0 1 8 8v18a8 8 0 0 1-8 8H82.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2.47 2.12-5.15 4.4-8.24 4.4H38.67c-3.14 0-5.94-2.12-8.62-4.16-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 21.02 36H8a8 8 0 0 1-8-8V10Z" fill="#000" fill-opacity=".8"/><mask id="eyesShade01-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="2" width="104" height="42"><path d="M0 10a8 8 0 0 1 8-8h88a8 8 0 0 1 8 8v18a8 8 0 0 1-8 8H82.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2.47 2.12-5.15 4.4-8.24 4.4H38.67c-3.14 0-5.94-2.12-8.62-4.16-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 21.02 36H8a8 8 0 0 1-8-8V10Z" fill="#000" fill-opacity=".8"/></mask><g mask="url(#eyesShade01-a)"><path d="M12 19a5 5 0 0 1 5-5h70a5 5 0 0 1 5 5v2a5 5 0 0 1-5 5H74.98c-3.27.17-5.48 1.14-6.98 2.35l-1.48 1.24c-2 1.72-4.14 3.54-6.52 4.18V34H46.67c-3.14 0-5.94-2.13-8.62-4.17-.95-.72-1.89-1.44-2.82-2.04A12.38 12.38 0 0 0 29.02 26H17a5 5 0 0 1-5-5v-2Z" fill="#FF3D3D"/><path d="M12 44 32-2h-4L8 44h4ZM50-2H39L19 44h11L50-2Z" fill="#fff" fill-opacity=".2"/></g>`,
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export { mouth } from './mouth.js';
|
|
8
|
+
export { eyes } from './eyes.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export { mouth } from './mouth.js';
|
|
8
|
+
export { eyes } from './eyes.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { ComponentGroup } from '../types.js';
|
|
8
|
+
export declare const mouth: ComponentGroup;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export const mouth = {
|
|
8
|
+
'bite': (components, colors) => `<rect x="4" y="5" width="68" height="22" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="9" width="60" height="14" rx="2" fill="#000" fill-opacity=".6"/><path fill-rule="evenodd" clip-rule="evenodd" d="m20 17 6-8H14l6 8ZM32 17l6-8H26l6 8ZM44 17l6-8H38l6 8ZM56 17l6-8H50l6 8Z" fill="#E1E6E8"/>`,
|
|
9
|
+
'diagram': (components, colors) => `<rect x="4" y="4" width="68" height="24" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="8" width="60" height="16" rx="2" fill="#000" fill-opacity=".8"/><path d="M9 17h11l2-4 3 7 4-8 2 9 3-11 3 10 3-3h15l3-4 2 7 3-3h4" stroke="#4EFAC9" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
10
|
+
'grill01': (components, colors) => `<g fill="#000" fill-opacity=".6"><rect x="12" y="12" width="4" height="8" rx="2"/><rect x="36" y="12" width="4" height="8" rx="2"/><rect x="24" y="12" width="4" height="8" rx="2"/><rect x="48" y="12" width="4" height="8" rx="2"/><rect x="60" y="12" width="4" height="8" rx="2"/></g>`,
|
|
11
|
+
'grill02': (components, colors) => `<g fill="#000" fill-opacity=".6"><rect x="28" y="10" width="6" height="14" rx="2"/><rect x="14" y="10" width="6" height="14" rx="2"/><rect x="42" y="10" width="6" height="14" rx="2"/><rect x="56" y="10" width="6" height="14" rx="2"/></g>`,
|
|
12
|
+
'grill03': (components, colors) => `<rect x="4" y="5" width="68" height="22" rx="5" fill="#000" fill-opacity=".2"/><rect x="8" y="9" width="60" height="14" rx="2" fill="#fff"/><path fill="#000" fill-opacity=".1" d="M18 9h4v14h-4zM42 9h4v14h-4zM30 9h4v14h-4zM54 9h4v14h-4z"/>`,
|
|
13
|
+
'smile01': (components, colors) => `<path d="M27.05 8.44a2 2 0 1 1 3.9-.88C31.72 10.96 34.4 13 38 13c3.6 0 6.28-2.04 7.05-5.44a2 2 0 1 1 3.9.88C47.75 13.7 43.43 17 38 17s-9.76-3.3-10.95-8.56Z" fill="#000" fill-opacity=".6"/>`,
|
|
14
|
+
'smile02': (components, colors) => `<path fill-rule="evenodd" clip-rule="evenodd" d="M18 10.22C18 21.78 24.47 28 38 28c13.52 0 20-6.34 20-17.78C58 9.5 57.17 8 55 8H21c-2.05 0-3 1.38-3 2.22Z" fill="#000" fill-opacity=".8"/><mask id="mouthSmile02-a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="18" y="8" width="40" height="20"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 10.22C18 21.78 24.47 28 38 28c13.52 0 20-6.34 20-17.78C58 9.5 57.17 8 55 8H21c-2.05 0-3 1.38-3 2.22Z" fill="#fff"/></mask><g mask="url(#mouthSmile02-a)"><rect x="30" y="2" width="16" height="14" rx="2" fill="#fff"/></g>`,
|
|
15
|
+
'square01': (components, colors) => `<rect x="24" y="6" width="27" height="8" rx="4" fill="#000" fill-opacity=".8"/>`,
|
|
16
|
+
'square02': (components, colors) => `<rect x="16" y="8" width="44" height="4" rx="2" fill="#000" fill-opacity=".8"/>`,
|
|
17
|
+
};
|
package/lib/core.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { Style } from '@dicebear/core';
|
|
8
|
+
import type { Options } from './types.js';
|
|
9
|
+
export declare const style: Style<Options>;
|
package/lib/core.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import { schema } from './schema.js';
|
|
8
|
+
import { getComponents } from './utils/getComponents.js';
|
|
9
|
+
import { getColors } from './utils/getColors.js';
|
|
10
|
+
import { onPreCreate } from './hooks/onPreCreate.js';
|
|
11
|
+
import { onPostCreate } from './hooks/onPostCreate.js';
|
|
12
|
+
export const style = {
|
|
13
|
+
meta: {
|
|
14
|
+
title: 'Bottts',
|
|
15
|
+
creator: 'Pablo Stanley',
|
|
16
|
+
source: 'https://bottts.com/',
|
|
17
|
+
homepage: 'https://twitter.com/pablostanley',
|
|
18
|
+
license: {
|
|
19
|
+
name: 'Free for personal and commercial use',
|
|
20
|
+
url: 'https://bottts.com/',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
schema: schema,
|
|
24
|
+
create: ({ prng, options }) => {
|
|
25
|
+
var _a, _b, _c, _d;
|
|
26
|
+
onPreCreate({ prng, options });
|
|
27
|
+
const components = getComponents({ prng, options });
|
|
28
|
+
const colors = getColors({ prng, options });
|
|
29
|
+
onPostCreate({ prng, options, components, colors });
|
|
30
|
+
return {
|
|
31
|
+
attributes: {
|
|
32
|
+
viewBox: '0 0 120 120',
|
|
33
|
+
fill: 'none',
|
|
34
|
+
'shape-rendering': 'auto'
|
|
35
|
+
},
|
|
36
|
+
body: `<g transform="translate(22 68)">${(_b = (_a = components.mouth) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}</g><g transform="translate(8 20)">${(_d = (_c = components.eyes) === null || _c === void 0 ? void 0 : _c.value(components, colors)) !== null && _d !== void 0 ? _d : ''}</g>`,
|
|
37
|
+
};
|
|
38
|
+
},
|
|
39
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import { Prng, StyleOptions } from "@dicebear/core";
|
|
8
|
+
import { Options, ColorPickCollection, ComponentPickCollection } from "../types.js";
|
|
9
|
+
declare type Props = {
|
|
10
|
+
prng: Prng;
|
|
11
|
+
options: StyleOptions<Options>;
|
|
12
|
+
components: ComponentPickCollection;
|
|
13
|
+
colors: ColorPickCollection;
|
|
14
|
+
};
|
|
15
|
+
export declare function onPostCreate({ prng, options, components, colors }: Props): void;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export function onPostCreate({ prng, options, components, colors }) {
|
|
8
|
+
// Write your modifications here
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import { Prng, StyleOptions } from "@dicebear/core";
|
|
8
|
+
import { Options } from "../types.js";
|
|
9
|
+
declare type Props = {
|
|
10
|
+
prng: Prng;
|
|
11
|
+
options: StyleOptions<Options>;
|
|
12
|
+
};
|
|
13
|
+
export declare function onPreCreate({ prng, options }: Props): void;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export function onPreCreate({ prng, options }) {
|
|
8
|
+
// Write your modifications here
|
|
9
|
+
}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
declare const create: import("@dicebear/core").StyleCreate<import("./types.js").Options>, meta: import("@dicebear/core").StyleMeta, schema: import("json-schema").JSONSchema7;
|
|
8
|
+
export { create, meta, schema };
|
|
9
|
+
export type { Options } from './types.js';
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
/*!
|
|
8
|
+
* Bottts Neutral (@dicebear/bottts-neutral)
|
|
9
|
+
*
|
|
10
|
+
* Code licensed under MIT License.
|
|
11
|
+
* Copyright (c) 2022 Florian Körner
|
|
12
|
+
*
|
|
13
|
+
* Design "Bottts" by Pablo Stanley licensed under Free for personal and commercial use. / Remix of the original.
|
|
14
|
+
* Source: https://bottts.com/
|
|
15
|
+
* Homepage: https://twitter.com/pablostanley
|
|
16
|
+
* License: https://bottts.com/
|
|
17
|
+
*/
|
|
18
|
+
import { style } from './core.js';
|
|
19
|
+
const { create, meta, schema } = style;
|
|
20
|
+
export { create, meta, schema };
|
package/lib/schema.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { StyleSchema } from '@dicebear/core';
|
|
8
|
+
export declare const schema: StyleSchema;
|
package/lib/schema.js
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export const schema = {
|
|
8
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
|
+
"properties": {
|
|
10
|
+
"backgroundColor": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"pattern": "^[a-fA-F0-9]{6}$"
|
|
15
|
+
},
|
|
16
|
+
"default": [
|
|
17
|
+
"ffb300",
|
|
18
|
+
"1e88e5",
|
|
19
|
+
"546e7a",
|
|
20
|
+
"6d4c41",
|
|
21
|
+
"00acc1",
|
|
22
|
+
"f4511e",
|
|
23
|
+
"5e35b1",
|
|
24
|
+
"43a047",
|
|
25
|
+
"757575",
|
|
26
|
+
"3949ab",
|
|
27
|
+
"039be5",
|
|
28
|
+
"7cb342",
|
|
29
|
+
"c0ca33",
|
|
30
|
+
"fb8c00",
|
|
31
|
+
"d81b60",
|
|
32
|
+
"8e24aa",
|
|
33
|
+
"e53935",
|
|
34
|
+
"00897b",
|
|
35
|
+
"fdd835"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"eyes": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"items": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"enum": [
|
|
43
|
+
"bulging",
|
|
44
|
+
"dizzy",
|
|
45
|
+
"eva",
|
|
46
|
+
"frame1",
|
|
47
|
+
"frame2",
|
|
48
|
+
"glow",
|
|
49
|
+
"happy",
|
|
50
|
+
"hearts",
|
|
51
|
+
"robocop",
|
|
52
|
+
"round",
|
|
53
|
+
"roundFrame01",
|
|
54
|
+
"roundFrame02",
|
|
55
|
+
"sensor",
|
|
56
|
+
"shade01"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"default": [
|
|
60
|
+
"bulging",
|
|
61
|
+
"dizzy",
|
|
62
|
+
"eva",
|
|
63
|
+
"frame1",
|
|
64
|
+
"frame2",
|
|
65
|
+
"glow",
|
|
66
|
+
"happy",
|
|
67
|
+
"hearts",
|
|
68
|
+
"robocop",
|
|
69
|
+
"round",
|
|
70
|
+
"roundFrame01",
|
|
71
|
+
"roundFrame02",
|
|
72
|
+
"sensor",
|
|
73
|
+
"shade01"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"mouth": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"enum": [
|
|
81
|
+
"bite",
|
|
82
|
+
"diagram",
|
|
83
|
+
"grill01",
|
|
84
|
+
"grill02",
|
|
85
|
+
"grill03",
|
|
86
|
+
"smile01",
|
|
87
|
+
"smile02",
|
|
88
|
+
"square01",
|
|
89
|
+
"square02"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"default": [
|
|
93
|
+
"bite",
|
|
94
|
+
"diagram",
|
|
95
|
+
"grill01",
|
|
96
|
+
"grill02",
|
|
97
|
+
"grill03",
|
|
98
|
+
"smile01",
|
|
99
|
+
"smile02",
|
|
100
|
+
"square01",
|
|
101
|
+
"square02"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export interface Options {
|
|
8
|
+
mouth?: ('bite' | 'diagram' | 'grill01' | 'grill02' | 'grill03' | 'smile01' | 'smile02' | 'square01' | 'square02')[];
|
|
9
|
+
eyes?: ('bulging' | 'dizzy' | 'eva' | 'frame1' | 'frame2' | 'glow' | 'happy' | 'hearts' | 'robocop' | 'round' | 'roundFrame01' | 'roundFrame02' | 'sensor' | 'shade01')[];
|
|
10
|
+
backgroundColor?: string[];
|
|
11
|
+
}
|
|
12
|
+
export declare type ColorPickCollection = Record<string, string>;
|
|
13
|
+
export declare type ComponentGroup = Record<string, ComponentGroupItem>;
|
|
14
|
+
export declare type ComponentGroupCollection = Record<string, ComponentGroup>;
|
|
15
|
+
export declare type ComponentGroupItem = (components: ComponentPickCollection, colors: ColorPickCollection) => string;
|
|
16
|
+
export declare type ComponentPickCollection = Record<string, ComponentPick>;
|
|
17
|
+
export declare type ComponentPick = {
|
|
18
|
+
name: string;
|
|
19
|
+
value: ComponentGroupItem;
|
|
20
|
+
} | undefined;
|
package/lib/types.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { Prng } from '@dicebear/core';
|
|
8
|
+
import type { Options, ColorPickCollection } from '../types.js';
|
|
9
|
+
declare type Props = {
|
|
10
|
+
prng: Prng;
|
|
11
|
+
options: Options;
|
|
12
|
+
};
|
|
13
|
+
export declare function getColors({ prng, options }: Props): ColorPickCollection;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
export function getColors({ prng, options }) {
|
|
8
|
+
return {};
|
|
9
|
+
}
|
|
10
|
+
;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { Prng } from '@dicebear/core';
|
|
8
|
+
import type { Options, ComponentPickCollection } from '../types.js';
|
|
9
|
+
declare type Props = {
|
|
10
|
+
prng: Prng;
|
|
11
|
+
options: Options;
|
|
12
|
+
};
|
|
13
|
+
export declare function getComponents({ prng, options }: Props): ComponentPickCollection;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import { pickComponent } from './pickComponent.js';
|
|
8
|
+
export function getComponents({ prng, options }) {
|
|
9
|
+
const mouthComponent = pickComponent({
|
|
10
|
+
prng,
|
|
11
|
+
group: 'mouth',
|
|
12
|
+
values: options.mouth
|
|
13
|
+
});
|
|
14
|
+
const eyesComponent = pickComponent({
|
|
15
|
+
prng,
|
|
16
|
+
group: 'eyes',
|
|
17
|
+
values: options.eyes
|
|
18
|
+
});
|
|
19
|
+
return {
|
|
20
|
+
'mouth': mouthComponent,
|
|
21
|
+
'eyes': eyesComponent,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import type { Prng } from '@dicebear/core';
|
|
8
|
+
import type { ComponentPick } from '../types.js';
|
|
9
|
+
declare type Props = {
|
|
10
|
+
prng: Prng;
|
|
11
|
+
group: string;
|
|
12
|
+
values?: string[];
|
|
13
|
+
};
|
|
14
|
+
export declare function pickComponent({ prng, group, values }: Props): ComponentPick;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
|
+
*
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/4nf3pyoOuM1U9Pa8M0cL6u/%40dicebear%2Fbottts?node-id=4%3A3179
|
|
6
|
+
*/
|
|
7
|
+
import * as components from '../components/index.js';
|
|
8
|
+
export function pickComponent({ prng, group, values = [] }) {
|
|
9
|
+
const componentCollection = components;
|
|
10
|
+
const key = prng.pick(values);
|
|
11
|
+
if (key && componentCollection[group][key]) {
|
|
12
|
+
return {
|
|
13
|
+
name: key,
|
|
14
|
+
value: componentCollection[group][key],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dicebear/bottts-neutral",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-beta.0",
|
|
4
4
|
"description": "Avatar style for DiceBear",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dicebear"
|
|
@@ -13,44 +13,35 @@
|
|
|
13
13
|
"url": "git+https://github.com/dicebear/dicebear.git"
|
|
14
14
|
},
|
|
15
15
|
"license": "MIT",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"module": "dist/index.es.js",
|
|
20
|
-
"types": "dist/index.d.ts",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"exports": "./lib/index.js",
|
|
18
|
+
"types": "./lib/index.d.ts",
|
|
21
19
|
"files": [
|
|
22
20
|
"LICENSE",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
21
|
+
"lib",
|
|
22
|
+
"README.md"
|
|
25
23
|
],
|
|
26
24
|
"scripts": {
|
|
27
|
-
"
|
|
25
|
+
"prebuild": "del-cli lib",
|
|
26
|
+
"build": "tsc",
|
|
28
27
|
"prepublishOnly": "npm run build",
|
|
29
|
-
"
|
|
30
|
-
"build": "npm-run-all build:*",
|
|
31
|
-
"build:schema": "json2ts src/schema.json src/options.ts",
|
|
32
|
-
"build:parcel": "parcel build"
|
|
28
|
+
"test": "uvu tests"
|
|
33
29
|
},
|
|
34
30
|
"devDependencies": {
|
|
35
|
-
"@dicebear/core": "^5.0.0-
|
|
36
|
-
"@
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"@types/node": "^10.11.6",
|
|
41
|
-
"jest": "^26.6.3",
|
|
42
|
-
"json-schema-to-typescript": "^10.1.5",
|
|
43
|
-
"npm-run-all": "^4.1.5",
|
|
44
|
-
"parcel": "^2.0.1",
|
|
45
|
-
"shx": "^0.3.3",
|
|
46
|
-
"ts-jest": "^26.5.4",
|
|
47
|
-
"typescript": "^4.5.2"
|
|
31
|
+
"@dicebear/core": "^5.0.0-beta.0",
|
|
32
|
+
"@tsconfig/recommended": "^1.0.1",
|
|
33
|
+
"del-cli": "^4.0.1",
|
|
34
|
+
"typescript": "^4.6.3",
|
|
35
|
+
"uvu": "^0.5.3"
|
|
48
36
|
},
|
|
49
37
|
"peerDependencies": {
|
|
50
|
-
"@dicebear/core": "^5.0.0-alpha.
|
|
38
|
+
"@dicebear/core": "^5.0.0-alpha.32"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": "^14.13.1 || >=16.0.0"
|
|
51
42
|
},
|
|
52
43
|
"publishConfig": {
|
|
53
44
|
"access": "public"
|
|
54
45
|
},
|
|
55
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "f939afabe6ade034e344b1983caa21de49873dda"
|
|
56
47
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
export interface Options {
|
|
7
|
-
backgroundColor?: (string | string)[];
|
|
8
|
-
eyes?: ("bulging" | "dizzy" | "eva" | "frame1" | "frame2" | "glow" | "happy" | "hearts" | "robocop" | "round" | "roundFrame01" | "roundFrame02" | "sensor" | "shade01")[];
|
|
9
|
-
mouth?: ("bite" | "diagram" | "grill01" | "grill02" | "grill03" | "smile01" | "smile02" | "square01" | "square02")[];
|
|
10
|
-
}
|
|
11
|
-
export const create: import("@dicebear/core").StyleCreate<import("options").Options>, preview: import("@dicebear/core").StylePreview<import("options").Options> | undefined, meta: import("@dicebear/core").StyleMeta, schema: import("json-schema").JSONSchema7;
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":"AACA;;;;GAIG;AAEH;IACE,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACtC,IAAI,CAAC,EAAE,CACH,SAAS,GACT,OAAO,GACP,KAAK,GACL,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,cAAc,GACd,cAAc,GACd,QAAQ,GACR,SAAS,CACZ,EAAE,CAAC;IACJ,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;CACtH;AebD,OAAA,yPAA+C,CAAC","sources":["packages/@dicebear/bottts-neutral/src/src/options.ts","packages/@dicebear/bottts-neutral/src/src/static-types.ts","packages/@dicebear/bottts-neutral/src/src/components/mouth.ts","packages/@dicebear/bottts-neutral/src/src/components/eyes.ts","packages/@dicebear/bottts-neutral/src/src/components/index.ts","packages/@dicebear/bottts-neutral/src/src/utils/pickComponent.ts","packages/@dicebear/bottts-neutral/src/src/utils/getComponents.ts","packages/@dicebear/bottts-neutral/src/src/colors/base.ts","packages/@dicebear/bottts-neutral/src/src/colors/index.ts","packages/@dicebear/bottts-neutral/src/src/utils/pickColor.ts","packages/@dicebear/bottts-neutral/src/src/utils/getColors.ts","packages/@dicebear/bottts-neutral/src/src/hooks/onPreCreate.ts","packages/@dicebear/bottts-neutral/src/src/hooks/onPostCreate.ts","packages/@dicebear/bottts-neutral/src/src/meta/components.ts","packages/@dicebear/bottts-neutral/src/src/core.ts","packages/@dicebear/bottts-neutral/src/src/index.ts","packages/@dicebear/bottts-neutral/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/*!\n * Bottts Neutral (@dicebear/bottts-neutral)\n *\n * Code licensed under MIT License.\n * Copyright (c) 2021 Florian Körner\n *\n * Design \"Bottts\" by Pablo Stanley licensed under Free for personal and commercial use.\n * Source: https://bottts.com/\n * License: https://bottts.com/\n */\n\nimport { style } from './core';\n\nconst { create, preview, meta, schema } = style;\n\nexport { create, preview, meta, schema };\nexport type { Options } from './options';\n"],"names":[],"version":3,"file":"index.d.ts.map"}
|