@atlaskit/editor-plugin-emoji 0.4.6 → 0.4.7
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.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#58763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58763) [`0fdbd64522bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0fdbd64522bf) - update ADF schema
|
|
8
|
+
|
|
3
9
|
## 0.4.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -9,11 +9,10 @@ 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 */
|
|
13
12
|
// eslint-disable-next-line
|
|
14
13
|
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"])));
|
|
15
14
|
function EmojiNode(props) {
|
|
16
|
-
return
|
|
15
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
17
16
|
css: clickSelectWrapperStyle
|
|
18
|
-
},
|
|
17
|
+
}, /*#__PURE__*/React.createElement(_emoji.Emoji, props));
|
|
19
18
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { css, jsx } from '@emotion/react';
|
|
1
|
+
import { css } from '@emotion/react';
|
|
3
2
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
4
3
|
// eslint-disable-next-line
|
|
5
4
|
const clickSelectWrapperStyle = css`
|
|
@@ -7,7 +6,7 @@ const clickSelectWrapperStyle = css`
|
|
|
7
6
|
user-select: all;
|
|
8
7
|
`;
|
|
9
8
|
export default function EmojiNode(props) {
|
|
10
|
-
return
|
|
9
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
11
10
|
css: clickSelectWrapperStyle
|
|
12
|
-
},
|
|
11
|
+
}, /*#__PURE__*/React.createElement(Emoji, props));
|
|
13
12
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
-
|
|
4
|
-
import { css, jsx } from '@emotion/react';
|
|
3
|
+
import { css } from '@emotion/react';
|
|
5
4
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
6
5
|
// eslint-disable-next-line
|
|
7
6
|
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage\n user-select: all;\n"])));
|
|
8
7
|
export default function EmojiNode(props) {
|
|
9
|
-
return
|
|
8
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
10
9
|
css: clickSelectWrapperStyle
|
|
11
|
-
},
|
|
10
|
+
}, /*#__PURE__*/React.createElement(Emoji, props));
|
|
12
11
|
}
|
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.7",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"singleton": true
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/adf-schema": "^
|
|
24
|
-
"@atlaskit/editor-common": "^76.
|
|
23
|
+
"@atlaskit/adf-schema": "^35.0.0",
|
|
24
|
+
"@atlaskit/editor-common": "^76.24.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",
|