@atlaskit/editor-plugin-block-type 21.0.0 → 21.0.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,25 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 21.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 21.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 21.0.1
16
+
17
+ ### Patch Changes
18
+
19
+ - [`2b9ae0b463256`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b9ae0b463256) -
20
+ Clean up feature gate `platform_editor_return_focus_after_text_styles`
21
+ - Updated dependencies
22
+
3
23
  ## 21.0.0
4
24
 
5
25
  ### Patch Changes
@@ -107,6 +107,6 @@ var TextStylesMenuButton = exports.TextStylesMenuButton = function TextStylesMen
107
107
  label: formatMessage(_messages.toolbarMessages.textStyles, {
108
108
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name
109
109
  }),
110
- shouldRenderToParent: (0, _fg.fg)('platform_editor_return_focus_after_text_styles')
110
+ shouldRenderToParent: true
111
111
  }, children);
112
112
  };
@@ -93,6 +93,6 @@ export const TextStylesMenuButton = ({
93
93
  label: formatMessage(toolbarMessages.textStyles, {
94
94
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name
95
95
  }),
96
- shouldRenderToParent: fg('platform_editor_return_focus_after_text_styles')
96
+ shouldRenderToParent: true
97
97
  }, children);
98
98
  };
@@ -99,6 +99,6 @@ export var TextStylesMenuButton = function TextStylesMenuButton(_ref) {
99
99
  label: formatMessage(toolbarMessages.textStyles, {
100
100
  blockTypeName: currentBlockType === null || currentBlockType === void 0 ? void 0 : currentBlockType.name
101
101
  }),
102
- shouldRenderToParent: fg('platform_editor_return_focus_after_text_styles')
102
+ shouldRenderToParent: true
103
103
  }, children);
104
104
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "21.0.0",
3
+ "version": "21.0.3",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,14 +43,14 @@
43
43
  "@atlaskit/primitives": "^22.5.0",
44
44
  "@atlaskit/prosemirror-history": "^1.2.0",
45
45
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
46
- "@atlaskit/tmp-editor-statsig": "^179.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^182.0.0",
47
47
  "@atlaskit/tokens": "^16.11.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^1.0.2",
50
50
  "@emotion/react": "^11.7.1"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^121.0.0",
53
+ "@atlaskit/editor-common": "^121.1.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-dom": "^18.2.0 || ^19.2.0",
56
56
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
@@ -78,9 +78,6 @@
78
78
  },
79
79
  "platform_editor_adf_with_localid": {
80
80
  "type": "boolean"
81
- },
82
- "platform_editor_return_focus_after_text_styles": {
83
- "type": "boolean"
84
81
  }
85
82
  }
86
83
  }