@atlaskit/editor-plugin-list 10.1.0 → 10.1.1

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,16 @@
1
1
  # @atlaskit/editor-plugin-list
2
2
 
3
+ ## 10.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`aa4e1fcb89ca8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aa4e1fcb89ca8) -
8
+ Added new `platform_editor_flexible_list_schema` experiment that independently enables ADF schema
9
+ and CSS rendering support for flexible lists, without creation behaviour. Updated schema node
10
+ selection, CSS rendering, ADF validation, and task list schema to use the new gate. Indent/outdent
11
+ behaviour remains on the existing `platform_editor_flexible_list_indentation` gate.
12
+ - Updated dependencies
13
+
3
14
  ## 10.1.0
4
15
 
5
16
  ### Minor Changes
@@ -66,7 +66,7 @@ var listPlugin = exports.listPlugin = function listPlugin(_ref) {
66
66
  },
67
67
  nodes: function nodes() {
68
68
  var getListItemNode = function getListItemNode() {
69
- if ((0, _expValEquals.expValEquals)('platform_editor_flexible_list_indentation', 'isEnabled', true)) {
69
+ if ((0, _expValEquals.expValEquals)('platform_editor_flexible_list_schema', 'isEnabled', true)) {
70
70
  return _adfSchema.listItemWithFlexibleFirstChildStage0;
71
71
  } else if ((0, _platformFeatureFlags.fg)('platform_editor_adf_with_localid')) {
72
72
  return _adfSchema.listItemWithLocalId;
@@ -58,7 +58,7 @@ export const listPlugin = ({
58
58
  },
59
59
  nodes() {
60
60
  const getListItemNode = () => {
61
- if (expValEquals('platform_editor_flexible_list_indentation', 'isEnabled', true)) {
61
+ if (expValEquals('platform_editor_flexible_list_schema', 'isEnabled', true)) {
62
62
  return listItemWithFlexibleFirstChildStage0;
63
63
  } else if (fg('platform_editor_adf_with_localid')) {
64
64
  return listItemWithLocalId;
@@ -59,7 +59,7 @@ export var listPlugin = function listPlugin(_ref) {
59
59
  },
60
60
  nodes: function nodes() {
61
61
  var getListItemNode = function getListItemNode() {
62
- if (expValEquals('platform_editor_flexible_list_indentation', 'isEnabled', true)) {
62
+ if (expValEquals('platform_editor_flexible_list_schema', 'isEnabled', true)) {
63
63
  return listItemWithFlexibleFirstChildStage0;
64
64
  } else if (fg('platform_editor_adf_with_localid')) {
65
65
  return listItemWithLocalId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-list",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "description": "List plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/platform-feature-flags": "^1.1.0",
39
39
  "@atlaskit/prosemirror-history": "^0.2.0",
40
40
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
41
- "@atlaskit/tmp-editor-statsig": "^44.1.0",
41
+ "@atlaskit/tmp-editor-statsig": "^44.2.0",
42
42
  "@babel/runtime": "^7.0.0"
43
43
  },
44
44
  "peerDependencies": {