react-input-emoji 5.8.1 → 5.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,15 @@
4
4
  */
5
5
  export function handleCopy(event: React.ClipboardEvent): void;
6
6
  /**
7
- *
8
- * @param {string} html
7
+ * Caches the current text selection range
8
+ */
9
+ export function cacheCurrentRange(): void;
10
+ /**
11
+ * Clears the cached text selection range
12
+ */
13
+ export function cleanCurrentRange(): void;
14
+ /**
15
+ * @param {string} html - HTML string to be pasted at the caret position
9
16
  */
10
17
  export function handlePasteHtmlAtCaret(html: string): void;
11
18
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-input-emoji",
3
- "version": "5.8.1",
3
+ "version": "5.9.0",
4
4
  "description": "A React input with an option to add an emoji with language support.",
5
5
  "homepage": "https://cesarwbr.github.io/react-input-emoji/",
6
6
  "author": "cesarwbr",