@atlaskit/editor-plugin-block-menu 17.0.5 → 17.0.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,21 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 17.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.0.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [`9e6211ceb4ceb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9e6211ceb4ceb) -
14
+ Clean up the fully rolled-out `platform_editor_small_font_size` experiment and make its permanent
15
+ `true` behavior unconditional across editor formatting, task and list handling, paste behavior,
16
+ controls, and rendering.
17
+ - Updated dependencies
18
+
3
19
  ## 17.0.5
4
20
 
5
21
  ### Patch Changes
@@ -8,7 +8,6 @@ exports.listToListStep = void 0;
8
8
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
9
9
  var _transforms = require("@atlaskit/editor-common/transforms");
10
10
  var _model = require("@atlaskit/editor-prosemirror/model");
11
- var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
12
11
  var _nodeChecks = require("../nodeChecks");
13
12
  /**
14
13
  * Recursively converts nested lists to the target list type.
@@ -90,7 +89,7 @@ var _transformList = function transformList(node, targetListType, targetItemType
90
89
  }
91
90
  });
92
91
  var blockTaskItem = schema.nodes.blockTaskItem;
93
- if (blockTaskItem && blockMarks.length > 0 && (0, _expValEquals.expValEquals)('platform_editor_small_font_size', 'isEnabled', true)) {
92
+ if (blockTaskItem && blockMarks.length > 0) {
94
93
  return (0, _transforms.createBlockTaskItem)({
95
94
  content: inlineContent,
96
95
  marks: blockMarks,
@@ -1,6 +1,5 @@
1
1
  import { createBlockTaskItem } from '@atlaskit/editor-common/transforms';
2
2
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
3
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
4
3
  import { isListWithIndentation } from '../nodeChecks';
5
4
  /**
6
5
  * Recursively converts nested lists to the target list type.
@@ -83,7 +82,7 @@ const transformList = (node, targetListType, targetItemType, unsupportedContent)
83
82
  const {
84
83
  blockTaskItem
85
84
  } = schema.nodes;
86
- if (blockTaskItem && blockMarks.length > 0 && expValEquals('platform_editor_small_font_size', 'isEnabled', true)) {
85
+ if (blockTaskItem && blockMarks.length > 0) {
87
86
  return createBlockTaskItem({
88
87
  content: inlineContent,
89
88
  marks: blockMarks,
@@ -1,7 +1,6 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import { createBlockTaskItem } from '@atlaskit/editor-common/transforms';
3
3
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
4
- import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
4
  import { isListWithIndentation } from '../nodeChecks';
6
5
  /**
7
6
  * Recursively converts nested lists to the target list type.
@@ -83,7 +82,7 @@ var _transformList = function transformList(node, targetListType, targetItemType
83
82
  }
84
83
  });
85
84
  var blockTaskItem = schema.nodes.blockTaskItem;
86
- if (blockTaskItem && blockMarks.length > 0 && expValEquals('platform_editor_small_font_size', 'isEnabled', true)) {
85
+ if (blockTaskItem && blockMarks.length > 0) {
87
86
  return createBlockTaskItem({
88
87
  content: inlineContent,
89
88
  marks: blockMarks,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "17.0.5",
3
+ "version": "17.0.7",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,19 +32,19 @@
32
32
  "@atlaskit/editor-tables": "^3.2.0",
33
33
  "@atlaskit/editor-toolbar": "^2.6.0",
34
34
  "@atlaskit/flag": "^18.5.0",
35
- "@atlaskit/icon": "^37.6.0",
35
+ "@atlaskit/icon": "^37.7.0",
36
36
  "@atlaskit/platform-feature-experiments": "^0.3.0",
37
37
  "@atlaskit/platform-feature-flags": "^2.2.0",
38
38
  "@atlaskit/primitives": "^22.5.0",
39
39
  "@atlaskit/prosemirror-history": "^1.2.0",
40
- "@atlaskit/tmp-editor-statsig": "^193.0.0",
41
- "@atlaskit/tokens": "^16.12.0",
40
+ "@atlaskit/tmp-editor-statsig": "^195.0.0",
41
+ "@atlaskit/tokens": "^17.0.0",
42
42
  "@babel/runtime": "^7.0.0",
43
43
  "bind-event-listener": "^3.0.0",
44
44
  "memoize-one": "^6.0.0"
45
45
  },
46
46
  "peerDependencies": {
47
- "@atlaskit/editor-common": "^122.3.0",
47
+ "@atlaskit/editor-common": "^122.6.0",
48
48
  "react": "^18.2.0 || ^19.2.0",
49
49
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
50
50
  },