@dicebear/adventurer-neutral 4.10.0 → 5.0.0-alpha.10

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 CHANGED
@@ -1,10 +1,8 @@
1
- <h1 align="center"><img src="https://dicebear.com/api/adventurer/0.svg" width="124" /> <br />Adventurer Neutral</h1>
1
+ <h1 align="center"><img src="./tests/svg/0.svg" width="124" /> <br />Adventurer Neutral</h1>
2
2
  <p align="center">
3
- <strong>Avatar Style for <a href="https://dicebear.com/">DiceBear Avatars</a>.</strong><br />
4
- <a href="https://www.figma.com/file/Iebd5sD90Hvs14Gwhdov0R">Adventurer</a>
5
- by <a href="https://www.instagram.com/lischis_adventures/">Lisa Wischofsky</a>
6
- licensed under
7
- <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.
3
+ <strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br />
4
+ <a href="https://www.instagram.com/lischis_adventures/">Adventurer Neutral</a>
5
+ by Lisa Wischofsky
8
6
  </p>
9
7
 
10
8
  <p align="center">
@@ -14,7 +12,7 @@
14
12
  </p>
15
13
 
16
14
  <p align="center">
17
- <a href="https://dicebear.com/styles/big-smile">
15
+ <a href="https://dicebear.com/styles/adventurer-neutral">
18
16
  Read Documentation
19
17
  </a>
20
18
  </p>
package/dist/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
- /*!
2
- * Adventurer Neutral (@dicebear/adventurer-neutral)
3
- *
4
- * Code licensed under MIT License.
5
- * Copyright (c) 2021 Florian Körner
6
- *
7
- * Design "Adventurer Neutral" by Lisa Wischofsky licensed under CC BY 4.0.
8
- * Source: https://www.instagram.com/lischis_adventures/
9
- * License: https://creativecommons.org/licenses/by/4.0/
10
- */
11
- declare let create: import("@dicebear/avatars").StyleCreate<import("./options").Options>, meta: import("@dicebear/avatars").StyleMeta, schema: import("json-schema").JSONSchema7;
12
- export { create, meta, schema };
13
- export { Options } from './options';
14
- declare const _default: import("@dicebear/avatars").SpriteCollection<import("./options").Options>;
15
- /** @deprecated will be removed in Version 5.0 */
16
- export default _default;
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
+ accessoires?: ("sunglasses" | "glasses" | "smallGlasses" | "mustache" | "blush" | "birthmark")[];
8
+ accessoiresProbability?: number;
9
+ backgroundColor?: (string | string)[];
10
+ eyebrows?: ("variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
11
+ eyes?: ("variant26" | "variant25" | "variant24" | "variant23" | "variant22" | "variant21" | "variant20" | "variant19" | "variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
12
+ mouth?: ("variant30" | "variant29" | "variant28" | "variant27" | "variant26" | "variant25" | "variant24" | "variant23" | "variant22" | "variant21" | "variant20" | "variant19" | "variant18" | "variant17" | "variant16" | "variant15" | "variant14" | "variant13" | "variant12" | "variant11" | "variant10" | "variant09" | "variant08" | "variant07" | "variant06" | "variant05" | "variant04" | "variant03" | "variant02" | "variant01")[];
13
+ }
14
+ 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;
15
+
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"mappings":"AACA;;;;GAIG;AAEH;IACE,WAAW,CAAC,EAAE,CAAC,YAAY,GAAG,SAAS,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,CAAC,EAAE,CAAC;IACjG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IACtC,QAAQ,CAAC,EAAE,CACP,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,CACd,EAAE,CAAC;IACJ,IAAI,CAAC,EAAE,CACH,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,CACd,EAAE,CAAC;IACJ,KAAK,CAAC,EAAE,CACJ,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,CACd,EAAE,CAAC;CACL;AiBtED,OAAA,yPAA+C,CAAC","sources":["packages/@dicebear/adventurer-neutral/src/src/options.ts","packages/@dicebear/adventurer-neutral/src/src/static-types.ts","packages/@dicebear/adventurer-neutral/src/src/components/eyes.ts","packages/@dicebear/adventurer-neutral/src/src/components/eyebrows.ts","packages/@dicebear/adventurer-neutral/src/src/components/mouth.ts","packages/@dicebear/adventurer-neutral/src/src/components/accessoires.ts","packages/@dicebear/adventurer-neutral/src/src/components/index.ts","packages/@dicebear/adventurer-neutral/src/src/utils/pickComponent.ts","packages/@dicebear/adventurer-neutral/src/src/utils/getComponents.ts","packages/@dicebear/adventurer-neutral/src/src/colors/skin.ts","packages/@dicebear/adventurer-neutral/src/src/colors/index.ts","packages/@dicebear/adventurer-neutral/src/src/utils/pickColor.ts","packages/@dicebear/adventurer-neutral/src/src/utils/getColors.ts","packages/@dicebear/adventurer-neutral/src/src/hooks/onPreCreate.ts","packages/@dicebear/adventurer-neutral/src/src/hooks/onPostCreate.ts","packages/@dicebear/adventurer-neutral/src/src/meta/components.ts","packages/@dicebear/adventurer-neutral/src/src/core.ts","packages/@dicebear/adventurer-neutral/src/src/index.ts","packages/@dicebear/adventurer-neutral/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"/*!\n * Adventurer Neutral (@dicebear/adventurer-neutral)\n *\n * Code licensed under MIT License.\n * Copyright (c) 2021 Florian Körner\n *\n * Design \"Adventurer Neutral\" by Lisa Wischofsky licensed under CC BY 4.0.\n * Source: https://www.instagram.com/lischis_adventures/\n * License: https://creativecommons.org/licenses/by/4.0/\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"}