@dicebear/bottts 5.0.0-alpha.5 → 5.0.0-alpha.9
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/dist/index.d.ts +21 -13
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +365 -586
- package/dist/index.es.js.map +1 -0
- package/dist/index.js +369 -593
- package/dist/index.js.map +1 -0
- package/package.json +14 -9
- package/dist/colors/base.d.ts +0 -2
- package/dist/colors/index.d.ts +0 -1
- package/dist/components/eyes.d.ts +0 -2
- package/dist/components/face.d.ts +0 -2
- package/dist/components/index.d.ts +0 -6
- package/dist/components/mouth.d.ts +0 -2
- package/dist/components/sides.d.ts +0 -2
- package/dist/components/texture.d.ts +0 -2
- package/dist/components/top.d.ts +0 -2
- package/dist/core.d.ts +0 -3
- package/dist/hooks/onPostCreate.d.ts +0 -12
- package/dist/hooks/onPreCreate.d.ts +0 -9
- package/dist/index.umd.js +0 -12
- package/dist/meta/components.d.ts +0 -4
- package/dist/options.d.ts +0 -18
- package/dist/static-types.d.ts +0 -16
- package/dist/utils/getColors.d.ts +0 -9
- package/dist/utils/getComponents.d.ts +0 -9
- package/dist/utils/pickColor.d.ts +0 -9
- package/dist/utils/pickComponent.d.ts +0 -9
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
+
baseColor?: (string | ("amber" | "blue" | "blueGrey" | "brown" | "cyan" | "deepOrange" | "deepPurple" | "green" | "grey" | "indigo" | "lightBlue" | "lightGreen" | "lime" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow"))[];
|
|
8
|
+
eyes?: ("bulging" | "dizzy" | "eva" | "frame1" | "frame2" | "glow" | "happy" | "hearts" | "robocop" | "round" | "roundFrame01" | "roundFrame02" | "sensor" | "shade01")[];
|
|
9
|
+
face?: ("round01" | "round02" | "square01" | "square02" | "square03" | "square04")[];
|
|
10
|
+
mouth?: ("bite" | "diagram" | "grill01" | "grill02" | "grill03" | "smile01" | "smile02" | "square01" | "square02")[];
|
|
11
|
+
mouthProbability?: number;
|
|
12
|
+
sides?: ("antenna01" | "antenna02" | "cables01" | "cables02" | "round" | "square" | "squareAssymetric")[];
|
|
13
|
+
sidesProbability?: number;
|
|
14
|
+
texture?: ("camo01" | "camo02" | "circuits" | "dirty01" | "dirty02" | "dots" | "grunge01" | "grunge02")[];
|
|
15
|
+
textureProbability?: number;
|
|
16
|
+
top?: ("antenna" | "antennaCrooked" | "bulb01" | "glowingBulb01" | "glowingBulb02" | "horns" | "lights" | "pyramid" | "radar")[];
|
|
17
|
+
topProbability?: number;
|
|
18
|
+
}
|
|
19
|
+
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;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AACA;;;;GAIG;AAEH;IACE,SAAS,CAAC,EAAE,CACR,MAAM,GACN,CACI,OAAO,GACP,MAAM,GACN,UAAU,GACV,OAAO,GACP,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,OAAO,GACP,MAAM,GACN,QAAQ,GACR,WAAW,GACX,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,KAAK,GACL,MAAM,GACN,QAAQ,CACX,CACJ,EAAE,CAAC;IACJ,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,IAAI,CAAC,EAAE,CAAC,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;IACrF,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;IACrH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,CAAC,WAAW,GAAG,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,GAAG,kBAAkB,CAAC,EAAE,CAAC;IAC1G,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC,EAAE,CAAC;IAC1G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,GAAG,CAAC,EAAE,CACF,SAAS,GACT,gBAAgB,GAChB,QAAQ,GACR,eAAe,GACf,eAAe,GACf,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,CACV,EAAE,CAAC;IACJ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AmBtDD,OAAA,yPAA+C,CAAC","sources":["packages/@dicebear/bottts/src/src/options.ts","packages/@dicebear/bottts/src/src/static-types.ts","packages/@dicebear/bottts/src/src/components/sides.ts","packages/@dicebear/bottts/src/src/components/top.ts","packages/@dicebear/bottts/src/src/components/face.ts","packages/@dicebear/bottts/src/src/components/mouth.ts","packages/@dicebear/bottts/src/src/components/eyes.ts","packages/@dicebear/bottts/src/src/components/texture.ts","packages/@dicebear/bottts/src/src/components/index.ts","packages/@dicebear/bottts/src/src/utils/pickComponent.ts","packages/@dicebear/bottts/src/src/utils/getComponents.ts","packages/@dicebear/bottts/src/src/colors/base.ts","packages/@dicebear/bottts/src/src/colors/index.ts","packages/@dicebear/bottts/src/src/utils/pickColor.ts","packages/@dicebear/bottts/src/src/utils/getColors.ts","packages/@dicebear/bottts/src/src/hooks/onPreCreate.ts","packages/@dicebear/bottts/src/src/hooks/onPostCreate.ts","packages/@dicebear/bottts/src/src/meta/components.ts","packages/@dicebear/bottts/src/src/core.ts","packages/@dicebear/bottts/src/src/index.ts","packages/@dicebear/bottts/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/*!\n * Bottts (@dicebear/bottts)\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"}
|