@atlaskit/editor-plugin-block-type 5.2.2 → 5.2.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 5.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#173846](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173846)
8
+ [`852a3c0aec64b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/852a3c0aec64b) -
9
+ Clean up platform_editor_controls_patch_10
10
+
11
+ ## 5.2.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 5.2.2
4
18
 
5
19
  ### Patch Changes
@@ -290,7 +290,7 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
290
290
  formatMessage: formatMessage,
291
291
  "aria-expanded": active,
292
292
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name,
293
- blockTypeIcon: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_10') ? currentIcon || defaultIcon : undefined
293
+ blockTypeIcon: currentIcon || defaultIcon
294
294
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && (0, _react2.jsx)("span", {
295
295
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
296
296
  css: _styles.separatorStyles
@@ -263,7 +263,7 @@ class ToolbarBlockType extends React.PureComponent {
263
263
  formatMessage: formatMessage,
264
264
  "aria-expanded": active,
265
265
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name,
266
- blockTypeIcon: fg('platform_editor_controls_patch_10') ? currentIcon || defaultIcon : undefined
266
+ blockTypeIcon: currentIcon || defaultIcon
267
267
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && jsx("span", {
268
268
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
269
269
  css: separatorStyles
@@ -286,7 +286,7 @@ var ToolbarBlockType = /*#__PURE__*/function (_React$PureComponent) {
286
286
  formatMessage: formatMessage,
287
287
  "aria-expanded": active,
288
288
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name,
289
- blockTypeIcon: fg('platform_editor_controls_patch_10') ? currentIcon || defaultIcon : undefined
289
+ blockTypeIcon: currentIcon || defaultIcon
290
290
  }), !(api !== null && api !== void 0 && api.primaryToolbar) && jsx("span", {
291
291
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
292
292
  css: separatorStyles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "5.2.2",
3
+ "version": "5.2.4",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,21 +36,21 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^47.6.0",
39
- "@atlaskit/editor-common": "^107.0.0",
39
+ "@atlaskit/editor-common": "^107.1.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
42
42
  "@atlaskit/editor-plugin-selection-toolbar": "^3.7.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.4.0",
45
45
  "@atlaskit/editor-tables": "^2.9.0",
46
- "@atlaskit/icon": "^27.0.0",
46
+ "@atlaskit/icon": "^27.1.0",
47
47
  "@atlaskit/icon-lab": "^5.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/primitives": "^14.8.0",
49
+ "@atlaskit/primitives": "^14.9.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^7.1.0",
53
- "@atlaskit/tokens": "^5.2.0",
52
+ "@atlaskit/tmp-editor-statsig": "^8.0.0",
53
+ "@atlaskit/tokens": "^5.4.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"
56
56
  },
@@ -114,9 +114,6 @@
114
114
  "platform_editor_nested_dnd_styles_changes": {
115
115
  "type": "boolean"
116
116
  },
117
- "platform_editor_controls_patch_10": {
118
- "type": "boolean"
119
- },
120
117
  "platform_editor_controls_patch_13": {
121
118
  "type": "boolean"
122
119
  },