@atlaskit/editor-plugin-list 4.2.1 → 4.2.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,20 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 4.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#147400](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147400)
14
+ [`800ff50276ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/800ff50276ed7) -
15
+ Clean up experiment platform_editor_nested_non_bodied_macros
16
+ - Updated dependencies
17
+
3
18
  ## 4.2.1
4
19
 
5
20
  ### Patch Changes
@@ -60,7 +60,6 @@ var listPlugin = exports.listPlugin = function listPlugin(_ref) {
60
60
  return _main.pluginKey.getState(editorState);
61
61
  },
62
62
  nodes: function nodes() {
63
- var listItemNode = (0, _experiments.editorExperiment)('platform_editor_nested_non_bodied_macros', 'test') ? _adfSchema.listItem : _adfSchema.listItemWithoutNonBodiedMacros;
64
63
  return [{
65
64
  name: 'bulletList',
66
65
  node: _adfSchema.bulletList
@@ -69,7 +68,7 @@ var listPlugin = exports.listPlugin = function listPlugin(_ref) {
69
68
  node: _adfSchema.orderedListWithOrder
70
69
  }, {
71
70
  name: 'listItem',
72
- node: listItemNode
71
+ node: _adfSchema.listItem
73
72
  }];
74
73
  },
75
74
  pmPlugins: function pmPlugins() {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { bulletList, listItem, orderedListWithOrder, listItemWithoutNonBodiedMacros } from '@atlaskit/adf-schema';
2
+ import { bulletList, listItem, orderedListWithOrder } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
5
5
  import { listMessages as messages } from '@atlaskit/editor-common/messages';
@@ -51,7 +51,6 @@ export const listPlugin = ({
51
51
  return listPluginKey.getState(editorState);
52
52
  },
53
53
  nodes() {
54
- const listItemNode = editorExperiment('platform_editor_nested_non_bodied_macros', 'test') ? listItem : listItemWithoutNonBodiedMacros;
55
54
  return [{
56
55
  name: 'bulletList',
57
56
  node: bulletList
@@ -60,7 +59,7 @@ export const listPlugin = ({
60
59
  node: orderedListWithOrder
61
60
  }, {
62
61
  name: 'listItem',
63
- node: listItemNode
62
+ node: listItem
64
63
  }];
65
64
  },
66
65
  pmPlugins() {
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  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; }
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 React from 'react';
5
- import { bulletList, listItem, orderedListWithOrder, listItemWithoutNonBodiedMacros } from '@atlaskit/adf-schema';
5
+ import { bulletList, listItem, orderedListWithOrder } from '@atlaskit/adf-schema';
6
6
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
7
7
  import { toggleBulletList, toggleOrderedList, tooltip } from '@atlaskit/editor-common/keymaps';
8
8
  import { listMessages as messages } from '@atlaskit/editor-common/messages';
@@ -55,7 +55,6 @@ export var listPlugin = function listPlugin(_ref) {
55
55
  return listPluginKey.getState(editorState);
56
56
  },
57
57
  nodes: function nodes() {
58
- var listItemNode = editorExperiment('platform_editor_nested_non_bodied_macros', 'test') ? listItem : listItemWithoutNonBodiedMacros;
59
58
  return [{
60
59
  name: 'bulletList',
61
60
  node: bulletList
@@ -64,7 +63,7 @@ export var listPlugin = function listPlugin(_ref) {
64
63
  node: orderedListWithOrder
65
64
  }, {
66
65
  name: 'listItem',
67
- node: listItemNode
66
+ node: listItem
68
67
  }];
69
68
  },
70
69
  pmPlugins: function pmPlugins() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "4.2.1",
3
+ "version": "4.2.3",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.6.0",
35
- "@atlaskit/editor-common": "^103.0.0",
35
+ "@atlaskit/editor-common": "^104.0.0",
36
36
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
37
- "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
37
+ "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
38
38
  "@atlaskit/editor-prosemirror": "7.0.0",
39
39
  "@atlaskit/platform-feature-flags": "^1.1.0",
40
40
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
41
- "@atlaskit/tmp-editor-statsig": "^4.6.0",
41
+ "@atlaskit/tmp-editor-statsig": "^4.16.0",
42
42
  "@babel/runtime": "^7.0.0"
43
43
  },
44
44
  "peerDependencies": {