@atlaskit/editor-plugin-emoji 0.4.7 → 0.4.8
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
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 0.4.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147) [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) - Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
|
|
8
|
+
|
|
3
9
|
## 0.4.7
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -9,10 +9,11 @@ var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/hel
|
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _emoji = require("@atlaskit/editor-common/emoji");
|
|
11
11
|
var _templateObject;
|
|
12
|
+
/** @jsx jsx */
|
|
12
13
|
// eslint-disable-next-line
|
|
13
14
|
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n user-select: all;\n"])));
|
|
14
15
|
function EmojiNode(props) {
|
|
15
|
-
return
|
|
16
|
+
return (0, _react.jsx)("span", {
|
|
16
17
|
css: clickSelectWrapperStyle
|
|
17
|
-
},
|
|
18
|
+
}, (0, _react.jsx)(_emoji.Emoji, props));
|
|
18
19
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { css, jsx } from '@emotion/react';
|
|
2
3
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
3
4
|
// eslint-disable-next-line
|
|
4
5
|
const clickSelectWrapperStyle = css`
|
|
@@ -6,7 +7,7 @@ const clickSelectWrapperStyle = css`
|
|
|
6
7
|
user-select: all;
|
|
7
8
|
`;
|
|
8
9
|
export default function EmojiNode(props) {
|
|
9
|
-
return
|
|
10
|
+
return jsx("span", {
|
|
10
11
|
css: clickSelectWrapperStyle
|
|
11
|
-
},
|
|
12
|
+
}, jsx(Emoji, props));
|
|
12
13
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
|
|
3
|
+
/** @jsx jsx */
|
|
4
|
+
import { css, jsx } from '@emotion/react';
|
|
4
5
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
5
6
|
// eslint-disable-next-line
|
|
6
7
|
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n user-select: all;\n"])));
|
|
7
8
|
export default function EmojiNode(props) {
|
|
8
|
-
return
|
|
9
|
+
return jsx("span", {
|
|
9
10
|
css: clickSelectWrapperStyle
|
|
10
|
-
},
|
|
11
|
+
}, jsx(Emoji, props));
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.8",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@atlaskit/adf-schema": "^35.0.0",
|
|
24
|
-
"@atlaskit/editor-common": "^76.
|
|
24
|
+
"@atlaskit/editor-common": "^76.25.0",
|
|
25
25
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
26
26
|
"@atlaskit/editor-plugin-type-ahead": "^0.7.0",
|
|
27
27
|
"@atlaskit/editor-prosemirror": "1.1.0",
|