react-input-emoji 5.8.1 → 5.9.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.
@@ -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",