@dicebear/micah 5.0.0-alpha.31 → 5.0.0-alpha.35
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 +3 -3
- package/lib/components/base.d.ts +6 -0
- package/lib/components/base.js +7 -4
- package/lib/components/earrings.d.ts +6 -0
- package/lib/components/earrings.js +8 -2
- package/lib/components/ears.d.ts +6 -0
- package/lib/components/ears.js +8 -8
- package/lib/components/eyebrows.d.ts +6 -0
- package/lib/components/eyebrows.js +10 -4
- package/lib/components/eyes.d.ts +6 -0
- package/lib/components/eyes.js +10 -16
- package/lib/components/facialHair.d.ts +6 -0
- package/lib/components/facialHair.js +8 -3
- package/lib/components/glasses.d.ts +6 -0
- package/lib/components/glasses.js +8 -2
- package/lib/components/hair.d.ts +6 -0
- package/lib/components/hair.js +14 -8
- package/lib/components/index.d.ts +6 -0
- package/lib/components/index.js +6 -0
- package/lib/components/mouth.d.ts +6 -0
- package/lib/components/mouth.js +14 -8
- package/lib/components/nose.d.ts +6 -0
- package/lib/components/nose.js +9 -3
- package/lib/components/shirt.d.ts +6 -0
- package/lib/components/shirt.js +9 -3
- package/lib/core.d.ts +6 -0
- package/lib/core.js +7 -1
- package/lib/hooks/onPostCreate.d.ts +8 -2
- package/lib/hooks/onPostCreate.js +8 -2
- package/lib/hooks/onPreCreate.d.ts +8 -2
- package/lib/hooks/onPreCreate.js +10 -17
- package/lib/index.d.ts +5 -10
- package/lib/index.js +7 -1
- package/lib/schema.d.ts +6 -0
- package/lib/schema.js +337 -395
- package/lib/types.d.ts +7 -8
- package/lib/types.js +6 -0
- package/lib/utils/getColors.d.ts +6 -0
- package/lib/utils/getColors.js +18 -51
- package/lib/utils/getComponents.d.ts +7 -1
- package/lib/utils/getComponents.js +30 -29
- package/lib/utils/pickComponent.d.ts +7 -1
- package/lib/utils/pickComponent.js +8 -2
- package/package.json +4 -4
- package/lib/colors/base.d.ts +0 -2
- package/lib/colors/base.js +0 -15
- package/lib/colors/earring.d.ts +0 -2
- package/lib/colors/earring.js +0 -15
- package/lib/colors/eyeShadow.d.ts +0 -2
- package/lib/colors/eyeShadow.js +0 -15
- package/lib/colors/eyebrows.d.ts +0 -2
- package/lib/colors/eyebrows.js +0 -15
- package/lib/colors/eyes.d.ts +0 -2
- package/lib/colors/eyes.js +0 -15
- package/lib/colors/facialHair.d.ts +0 -2
- package/lib/colors/facialHair.js +0 -15
- package/lib/colors/glasses.d.ts +0 -2
- package/lib/colors/glasses.js +0 -15
- package/lib/colors/hair.d.ts +0 -2
- package/lib/colors/hair.js +0 -15
- package/lib/colors/index.d.ts +0 -10
- package/lib/colors/index.js +0 -10
- package/lib/colors/mouth.d.ts +0 -2
- package/lib/colors/mouth.js +0 -3
- package/lib/colors/shirt.d.ts +0 -2
- package/lib/colors/shirt.js +0 -15
- package/lib/utils/pickColor.d.ts +0 -9
- package/lib/utils/pickColor.js +0 -13
package/lib/index.d.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
1
|
+
/**
|
|
2
|
+
* Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
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
|
-
* Homepage: https://dribbble.com/micahlanier
|
|
10
|
-
* License: https://creativecommons.org/licenses/by/4.0/
|
|
4
|
+
* Plugin: https://www.figma.com/community/plugin/1005765655729342787
|
|
5
|
+
* File: https://www.figma.com/file/YHb4ShTgmO8Lqhkz1plLfL/%40dicebear%2Fmicah?node-id=259%3A555
|
|
11
6
|
*/
|
|
12
|
-
declare const create: import("@dicebear/core").StyleCreate<import("./types.js").Options>, meta: import("@dicebear/core").StyleMeta, schema: import("
|
|
7
|
+
declare const create: import("@dicebear/core").StyleCreate<import("./types.js").Options>, meta: import("@dicebear/core").StyleMeta, schema: import("@dicebear/core").StyleSchema;
|
|
13
8
|
export { create, meta, schema };
|
|
14
9
|
export type { Options } from './types.js';
|
package/lib/index.js
CHANGED
|
@@ -1,10 +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/YHb4ShTgmO8Lqhkz1plLfL/%40dicebear%2Fmicah?node-id=259%3A555
|
|
6
|
+
*/
|
|
1
7
|
/*!
|
|
2
8
|
* Micah (@dicebear/micah)
|
|
3
9
|
*
|
|
4
10
|
* Code licensed under MIT License.
|
|
5
11
|
* Copyright (c) 2022 Florian Körner
|
|
6
12
|
*
|
|
7
|
-
* Design "Avatar Illustration System" by Micah Lanier licensed under CC BY 4.0.
|
|
13
|
+
* Design "Avatar Illustration System" by Micah Lanier licensed under CC BY 4.0. / Remix of the original.
|
|
8
14
|
* Source: https://www.figma.com/community/file/829741575478342595
|
|
9
15
|
* Homepage: https://dribbble.com/micahlanier
|
|
10
16
|
* License: https://creativecommons.org/licenses/by/4.0/
|
package/lib/schema.d.ts
CHANGED
|
@@ -1,2 +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/YHb4ShTgmO8Lqhkz1plLfL/%40dicebear%2Fmicah?node-id=259%3A555
|
|
6
|
+
*/
|
|
1
7
|
import type { StyleSchema } from '@dicebear/core';
|
|
2
8
|
export declare const schema: StyleSchema;
|