@atlaskit/editor-plugin-emoji 3.6.2 → 3.6.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 +18 -0
- package/dist/cjs/nodeviews/emojiNodeSpec.js +1 -2
- package/dist/cjs/ui/Emoji/index.js +1 -1
- package/dist/es2019/nodeviews/emojiNodeSpec.js +1 -2
- package/dist/es2019/ui/Emoji/index.js +0 -1
- package/dist/esm/nodeviews/emojiNodeSpec.js +1 -2
- package/dist/esm/ui/Emoji/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-emoji
|
|
2
2
|
|
|
3
|
+
## 3.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#150219](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150219)
|
|
8
|
+
[`8f6e3a7613db0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8f6e3a7613db0) -
|
|
9
|
+
Fixes invalid css comments in template literal styles
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.6.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#148798](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148798)
|
|
17
|
+
[`8112e98809756`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8112e98809756) -
|
|
18
|
+
[No Issue] Clean up virtualization feature flag
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 3.6.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ exports.emojiToDom = emojiToDom;
|
|
|
9
9
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
11
11
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
12
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
13
12
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
13
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
14
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
@@ -21,7 +20,7 @@ var isSSR = Boolean(process.env.REACT_SSR);
|
|
|
21
20
|
* @returns
|
|
22
21
|
*/
|
|
23
22
|
var emojiNodeSpec = exports.emojiNodeSpec = function emojiNodeSpec() {
|
|
24
|
-
if (isSSR
|
|
23
|
+
if (isSSR) {
|
|
25
24
|
return _adfSchema.emoji;
|
|
26
25
|
}
|
|
27
26
|
return _objectSpread(_objectSpread({}, _adfSchema.emoji), {}, {
|
|
@@ -15,7 +15,7 @@ var _templateObject;
|
|
|
15
15
|
*/
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
// eslint-disable-next-line
|
|
18
|
-
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\
|
|
18
|
+
var clickSelectWrapperStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tuser-select: all;\n"])));
|
|
19
19
|
function EmojiNode(props) {
|
|
20
20
|
return (0, _react.jsx)("span", {
|
|
21
21
|
css: clickSelectWrapperStyle
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { emoji } from '@atlaskit/adf-schema';
|
|
2
2
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
3
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
4
3
|
const isSSR = Boolean(process.env.REACT_SSR);
|
|
5
4
|
|
|
6
5
|
/**
|
|
@@ -10,7 +9,7 @@ const isSSR = Boolean(process.env.REACT_SSR);
|
|
|
10
9
|
* @returns
|
|
11
10
|
*/
|
|
12
11
|
export const emojiNodeSpec = () => {
|
|
13
|
-
if (isSSR
|
|
12
|
+
if (isSSR) {
|
|
14
13
|
return emoji;
|
|
15
14
|
}
|
|
16
15
|
return {
|
|
@@ -8,7 +8,6 @@ import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
|
8
8
|
|
|
9
9
|
// eslint-disable-next-line
|
|
10
10
|
const clickSelectWrapperStyle = css`
|
|
11
|
-
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
12
11
|
user-select: all;
|
|
13
12
|
`;
|
|
14
13
|
export default function EmojiNode(props) {
|
|
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { emoji } from '@atlaskit/adf-schema';
|
|
5
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
6
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -13,7 +12,7 @@ var isSSR = Boolean(process.env.REACT_SSR);
|
|
|
13
12
|
* @returns
|
|
14
13
|
*/
|
|
15
14
|
export var emojiNodeSpec = function emojiNodeSpec() {
|
|
16
|
-
if (isSSR
|
|
15
|
+
if (isSSR) {
|
|
17
16
|
return emoji;
|
|
18
17
|
}
|
|
19
18
|
return _objectSpread(_objectSpread({}, emoji), {}, {
|
|
@@ -9,7 +9,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
9
9
|
import { Emoji } from '@atlaskit/editor-common/emoji';
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line
|
|
12
|
-
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\
|
|
12
|
+
var clickSelectWrapperStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tuser-select: all;\n"])));
|
|
13
13
|
export default function EmojiNode(props) {
|
|
14
14
|
return jsx("span", {
|
|
15
15
|
css: clickSelectWrapperStyle
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-emoji",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.4",
|
|
4
4
|
"description": "Emoji plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
26
|
-
"@atlaskit/editor-common": "^
|
|
26
|
+
"@atlaskit/editor-common": "^104.1.0",
|
|
27
27
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
28
28
|
"@atlaskit/editor-plugin-annotation": "^2.7.0",
|
|
29
29
|
"@atlaskit/editor-plugin-base": "^2.3.0",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
34
34
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
35
35
|
"@atlaskit/emoji": "^69.1.0",
|
|
36
|
-
"@atlaskit/icon": "^25.
|
|
36
|
+
"@atlaskit/icon": "^25.7.0",
|
|
37
37
|
"@atlaskit/node-data-provider": "^4.1.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
39
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
|
40
40
|
"@atlaskit/theme": "^18.0.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^4.17.0",
|
|
42
42
|
"@atlaskit/tokens": "^4.8.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1",
|