Skip to content

Commit

Permalink
init rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
dejurin committed May 13, 2024
1 parent c32a7bb commit 1ac0dd0
Show file tree
Hide file tree
Showing 15 changed files with 842 additions and 253 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand Down
21 changes: 21 additions & 0 deletions dist/browser/latest.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/browser/latest.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions dist/esnext/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export type SkinTone = '' | 'none' | 'light' | 'mediumLight' | 'medium' | 'mediumDark' | 'dark';
/**
* Apply skin tones to an emoji.
* Visit us at: https://qit.tools
*
* πŸͺ„ Qit.tools
* @name @packageName
* @version @packageVersion
* @license @packageLicense
* @copyright Copyright (c) 2024 Qit.tools.
* @see https://github.com/Qit-tools/skin-tone
* @see https://www.npmjs.com/package/@qit.tools/skin-tone
*
* Change emoji skin tones effortlessly. πŸ§›πŸ§›πŸ»πŸ§›πŸΌπŸ§›πŸ½πŸ§›πŸΎπŸ§›πŸΏ
* RGI Emoji Modifier Sequence.
*
* @param {string} emoji - The original emoji string.
* @param {SkinTone} tone - The skin tone to apply. If empty, returns the original emoji.
* @returns {string} The emoji string with skin tones applied where applicable.
*/
export default function skinTone(emoji: string, tone?: SkinTone): string;
49 changes: 49 additions & 0 deletions dist/esnext/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/esnext/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
export type SkinTone = '' | 'none' | 'light' | 'mediumLight' | 'medium' | 'mediumDark' | 'dark';

/**
* Apply skin tones to an emoji.
* Visit us at: https://qit.tools
*
* πŸͺ„ Qit.tools
* @name @packageName
* @version @packageVersion
* @license @packageLicense
* @copyright Copyright (c) 2024 Qit.tools.
* @see https://github.com/Qit-tools/skin-tone
* @see https://www.npmjs.com/package/@qit.tools/skin-tone
*
* Change emoji skin tones effortlessly. πŸ§›πŸ§›πŸ»πŸ§›πŸΌπŸ§›πŸ½πŸ§›πŸΎπŸ§›πŸΏ
* RGI Emoji Modifier Sequence.
*
Expand Down
Loading

0 comments on commit 1ac0dd0

Please sign in to comment.