@lumel/mention 5.2.1 → 5.2.4
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/CHANGELOG.md +4 -0
- package/lib/MentionSuggestions/Entry/Entry.d.ts +1 -1
- package/lib/MentionSuggestions/MentionSuggestions.d.ts +1 -0
- package/lib/MentionSuggestionsPortal.d.ts +3 -3
- package/lib/index.cjs.js +231 -347
- package/lib/index.d.ts +3 -1
- package/lib/index.esm.js +200 -308
- package/lib/utils/positionSuggestions.d.ts +1 -1
- package/package.json +12 -11
|
@@ -10,4 +10,4 @@ export interface PositionSuggestionsParams {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export default function positionSuggestions({ decoratorRect, popover, props, }: PositionSuggestionsParams): CSSProperties;
|
|
13
|
-
export
|
|
13
|
+
export type PositionSuggestionsFn = typeof positionSuggestions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumel/mention",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -33,28 +33,29 @@
|
|
|
33
33
|
"scripts": {
|
|
34
34
|
"clean": "yarn rimraf lib",
|
|
35
35
|
"build": "yarn build:js && yarn build:dts && yarn build:css",
|
|
36
|
-
"build:js": "
|
|
37
|
-
"build:dts": "tsc -d",
|
|
36
|
+
"build:js": "rollup --config ../../rollup.config.js",
|
|
37
|
+
"build:dts": "yarn run -T tsc -d",
|
|
38
38
|
"build:css": "node ../../scripts/build-css.js $(pwd)",
|
|
39
39
|
"test": "jest"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@popperjs/core": "^2.11.
|
|
44
|
-
"@types/lodash": "^4.14.
|
|
45
|
-
"clsx": "^
|
|
43
|
+
"@popperjs/core": "^2.11.8",
|
|
44
|
+
"@types/lodash": "^4.14.195",
|
|
45
|
+
"clsx": "^2.0.0",
|
|
46
46
|
"immutable": "~3.7.4",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
|
+
"lodash-es": "^4.17.21",
|
|
48
49
|
"prop-types": "^15.8.1",
|
|
49
|
-
"react-popper": "^2.3.0"
|
|
50
|
+
"react-popper": "^2.3.0",
|
|
51
|
+
"rollup": "^4.53.3"
|
|
50
52
|
},
|
|
51
53
|
"peerDependencies": {
|
|
52
54
|
"draft-js": "^0.10.1 || ^0.11.0",
|
|
53
|
-
"react": "^16.8.0 || ^17.0.0 ||
|
|
54
|
-
"react-dom": "^16.8.0 || ^17.0.0 ||
|
|
55
|
+
"react": "^16.8.0 || ^17.0.0 || >=18.0.0",
|
|
56
|
+
"react-dom": "^16.8.0 || ^17.0.0 || >=18.0.0"
|
|
55
57
|
},
|
|
56
|
-
"devDependencies": {},
|
|
57
58
|
"publishConfig": {
|
|
58
59
|
"access": "public"
|
|
59
60
|
}
|
|
60
|
-
}
|
|
61
|
+
}
|