@dicebear/micah 5.0.0-alpha.3 → 5.0.0-alpha.32
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/base.d.ts +2 -0
- package/lib/components/base.js +7 -0
- package/lib/components/earrings.d.ts +2 -0
- package/lib/components/earrings.js +5 -0
- package/lib/components/ears.d.ts +2 -0
- package/lib/components/ears.js +11 -0
- package/lib/components/eyebrows.d.ts +2 -0
- package/lib/components/eyebrows.js +7 -0
- package/lib/components/eyes.d.ts +2 -0
- package/lib/components/eyes.js +19 -0
- package/lib/components/facialHair.d.ts +2 -0
- package/lib/components/facialHair.js +4 -0
- package/lib/components/glasses.d.ts +2 -0
- package/lib/components/glasses.js +5 -0
- package/lib/components/hair.d.ts +2 -0
- package/lib/components/hair.js +11 -0
- package/lib/components/index.d.ts +11 -0
- package/lib/components/index.js +11 -0
- package/lib/components/mouth.d.ts +2 -0
- package/lib/components/mouth.js +11 -0
- package/lib/components/nose.d.ts +2 -0
- package/lib/components/nose.js +5 -0
- package/lib/components/shirt.d.ts +2 -0
- package/lib/components/shirt.js +6 -0
- package/{dist → lib}/core.d.ts +3 -3
- package/lib/core.js +33 -0
- package/{dist → lib}/hooks/onPostCreate.d.ts +10 -12
- package/lib/hooks/onPostCreate.js +6 -0
- package/lib/hooks/onPreCreate.d.ts +8 -0
- package/lib/hooks/onPreCreate.js +26 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +13 -0
- package/lib/schema.d.ts +2 -0
- package/lib/schema.js +303 -0
- package/lib/types.d.ts +39 -0
- package/lib/types.js +1 -0
- package/{dist → lib}/utils/getColors.d.ts +8 -9
- package/lib/utils/getColors.js +15 -0
- package/{dist → lib}/utils/getComponents.d.ts +8 -9
- package/lib/utils/getComponents.js +77 -0
- package/{dist → lib}/utils/pickComponent.d.ts +9 -9
- package/lib/utils/pickComponent.js +11 -0
- package/package.json +45 -49
- package/dist/colors/base.d.ts +0 -2
- package/dist/colors/earring.d.ts +0 -2
- package/dist/colors/eyeShadow.d.ts +0 -2
- package/dist/colors/eyebrow.d.ts +0 -2
- package/dist/colors/eyes.d.ts +0 -2
- package/dist/colors/facialHair.d.ts +0 -2
- package/dist/colors/glasses.d.ts +0 -2
- package/dist/colors/hair.d.ts +0 -2
- package/dist/colors/index.d.ts +0 -10
- package/dist/colors/mouth.d.ts +0 -2
- package/dist/colors/shirt.d.ts +0 -2
- package/dist/components/base.d.ts +0 -2
- package/dist/components/earrings.d.ts +0 -2
- package/dist/components/ears.d.ts +0 -2
- package/dist/components/eyebrows.d.ts +0 -2
- package/dist/components/eyes.d.ts +0 -2
- package/dist/components/facialHair.d.ts +0 -2
- package/dist/components/glasses.d.ts +0 -2
- package/dist/components/hair.d.ts +0 -2
- package/dist/components/index.d.ts +0 -11
- package/dist/components/mouth.d.ts +0 -2
- package/dist/components/nose.d.ts +0 -2
- package/dist/components/shirt.d.ts +0 -2
- package/dist/hooks/onPreCreate.d.ts +0 -9
- package/dist/index.d.ts +0 -13
- package/dist/index.es.js +0 -1247
- package/dist/index.js +0 -1254
- package/dist/index.umd.js +0 -12
- package/dist/meta/components.d.ts +0 -4
- package/dist/options.d.ts +0 -32
- package/dist/static-types.d.ts +0 -16
- package/dist/utils/pickColor.d.ts +0 -9
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { base } from './base';
|
|
2
|
-
export { mouth } from './mouth';
|
|
3
|
-
export { eyebrows } from './eyebrows';
|
|
4
|
-
export { hair } from './hair';
|
|
5
|
-
export { eyes } from './eyes';
|
|
6
|
-
export { nose } from './nose';
|
|
7
|
-
export { ears } from './ears';
|
|
8
|
-
export { shirt } from './shirt';
|
|
9
|
-
export { earrings } from './earrings';
|
|
10
|
-
export { glasses } from './glasses';
|
|
11
|
-
export { facialHair } from './facialHair';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Prng, StyleOptions } from '@dicebear/core';
|
|
2
|
-
import { Options } from '../options';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
prng: Prng;
|
|
5
|
-
options: StyleOptions<Options>;
|
|
6
|
-
preview: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare function onPreCreate({ prng, options, preview }: Props): void;
|
|
9
|
-
export {};
|
package/dist/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Micah (@dicebear/micah)
|
|
3
|
-
*
|
|
4
|
-
* Code licensed under MIT License.
|
|
5
|
-
* Copyright (c) 2021 Florian Körner
|
|
6
|
-
*
|
|
7
|
-
* Design "Avatar Illustration System" by Micah Lanier licensed under CC BY 4.0.
|
|
8
|
-
* Source: https://www.figma.com/community/file/829741575478342595
|
|
9
|
-
* License: https://creativecommons.org/licenses/by/4.0/
|
|
10
|
-
*/
|
|
11
|
-
declare let 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
|
-
export { create, preview, meta, schema };
|
|
13
|
-
export { Options } from './options';
|