@atlaskit/editor-plugin-block-type 22.0.8 → 22.0.10
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,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 22.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 22.0.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 22.0.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -143,7 +155,7 @@
|
|
|
143
155
|
### Patch Changes
|
|
144
156
|
|
|
145
157
|
- [`2b9ae0b463256`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b9ae0b463256) -
|
|
146
|
-
Clean up feature gate `
|
|
158
|
+
Clean up feature gate `platform_editor_return_focus_after_text_styles_2`
|
|
147
159
|
- Updated dependencies
|
|
148
160
|
|
|
149
161
|
## 21.0.0
|
|
@@ -372,7 +384,7 @@
|
|
|
372
384
|
The Text styles dropdown now renders inline via `shouldRenderToParent`, which stops the popup
|
|
373
385
|
focus-trap from returning focus to the trigger on close. `ToolbarDropdownMenu` gains an opt-in
|
|
374
386
|
`shouldRenderToParent` prop so only the Text styles menu is affected. Gated behind the
|
|
375
|
-
`
|
|
387
|
+
`platform_editor_return_focus_after_text_styles_2` feature flag.
|
|
376
388
|
- Updated dependencies
|
|
377
389
|
|
|
378
390
|
## 19.0.7
|
|
@@ -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)('
|
|
110
|
+
shouldRenderToParent: (0, _fg.fg)('platform_editor_return_focus_after_text_styles_2')
|
|
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('
|
|
96
|
+
shouldRenderToParent: fg('platform_editor_return_focus_after_text_styles_2')
|
|
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('
|
|
102
|
+
shouldRenderToParent: fg('platform_editor_return_focus_after_text_styles_2')
|
|
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": "22.0.
|
|
3
|
+
"version": "22.0.10",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/adf-schema": "^57.
|
|
24
|
+
"@atlaskit/adf-schema": "^57.5.0",
|
|
25
25
|
"@atlaskit/css": "^1.1.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^18.0.0",
|
|
27
27
|
"@atlaskit/editor-plugin-block-menu": "^17.0.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": "^
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^198.0.0",
|
|
47
47
|
"@atlaskit/tokens": "^17.0.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": "^122.
|
|
53
|
+
"@atlaskit/editor-common": "^122.10.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"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"platform_editor_adf_with_localid": {
|
|
80
80
|
"type": "boolean"
|
|
81
81
|
},
|
|
82
|
-
"
|
|
82
|
+
"platform_editor_return_focus_after_text_styles_2": {
|
|
83
83
|
"type": "boolean"
|
|
84
84
|
}
|
|
85
85
|
}
|