@atlaskit/editor-plugin-emoji 3.6.2 → 3.6.3

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,14 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 3.6.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#148798](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148798)
8
+ [`8112e98809756`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8112e98809756) -
9
+ [No Issue] Clean up virtualization feature flag
10
+ - Updated dependencies
11
+
3
12
  ## 3.6.2
4
13
 
5
14
  ### 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 || (0, _experiments.editorExperiment)('platform_editor_inline_node_virtualization', 'off')) {
23
+ if (isSSR) {
25
24
  return _adfSchema.emoji;
26
25
  }
27
26
  return _objectSpread(_objectSpread({}, _adfSchema.emoji), {}, {
@@ -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 || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
12
+ if (isSSR) {
14
13
  return emoji;
15
14
  }
16
15
  return {
@@ -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 || editorExperiment('platform_editor_inline_node_virtualization', 'off')) {
15
+ if (isSSR) {
17
16
  return emoji;
18
17
  }
19
18
  return _objectSpread(_objectSpread({}, emoji), {}, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "3.6.2",
3
+ "version": "3.6.3",
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": "^103.22.0",
26
+ "@atlaskit/editor-common": "^104.0.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",
@@ -38,7 +38,7 @@
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.15.0",
41
+ "@atlaskit/tmp-editor-statsig": "^4.16.0",
42
42
  "@atlaskit/tokens": "^4.8.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1",