@zolaha/react-noto-animated-emoji 2.0.1 → 2.1.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/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.es.js +1195 -1269
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/skin-tones.d.ts +0 -19
package/package.json
CHANGED
package/dist/skin-tones.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface SkinTone {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
/** The suffix appended to the base codepoint. Empty string = default (yellow). */
|
|
5
|
-
modifier: string;
|
|
6
|
-
/** Swatch color for the UI selector */
|
|
7
|
-
color: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const SKIN_TONES: SkinTone[];
|
|
10
|
-
/**
|
|
11
|
-
* Returns the skinned codepoint if the variant is supported, otherwise falls
|
|
12
|
-
* back to the base codepoint.
|
|
13
|
-
*/
|
|
14
|
-
export declare function getSkinTonedCodepoint(base: string, modifier: string): string;
|
|
15
|
-
/**
|
|
16
|
-
* Returns true if the given base codepoint has at least one skin-tone variant
|
|
17
|
-
* in the supported set.
|
|
18
|
-
*/
|
|
19
|
-
export declare function hasSkinTones(base: string): boolean;
|