react-input-emoji 5.8.0 → 5.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +39 -14
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +39 -14
- package/dist/index.js.map +1 -1
- package/dist/src/utils/input-event-utils.d.ts +9 -2
- package/package.json +4 -4
@@ -4,8 +4,15 @@
|
|
4
4
|
*/
|
5
5
|
export function handleCopy(event: React.ClipboardEvent): void;
|
6
6
|
/**
|
7
|
-
*
|
8
|
-
|
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.
|
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",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
"@testing-library/react": "^11.2.7",
|
48
48
|
"@testing-library/react-hooks": "^7.0.0",
|
49
49
|
"@testing-library/user-event": "^13.1.9",
|
50
|
-
"@types/emoji-mart": "^3.0.
|
50
|
+
"@types/emoji-mart": "^3.0.14",
|
51
51
|
"@types/styled-components": "^5.1.9",
|
52
52
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
53
53
|
"@typescript-eslint/parser": "^4.19.0",
|
@@ -76,9 +76,9 @@
|
|
76
76
|
"dist"
|
77
77
|
],
|
78
78
|
"dependencies": {
|
79
|
-
"@emoji-mart/data": "1.1
|
79
|
+
"@emoji-mart/data": "1.2.1",
|
80
80
|
"@emoji-mart/react": "1.1.1",
|
81
|
-
"emoji-mart": "5.
|
81
|
+
"emoji-mart": "5.6.0",
|
82
82
|
"react-easy-emoji": "^1.8.1"
|
83
83
|
}
|
84
84
|
}
|