@atlaskit/editor-plugin-block-type 22.0.9 → 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 +8 -2
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +1 -1
- package/dist/cjs/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +1 -1
- package/dist/cjs/ui/QuoteBlockMenuItem.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +1 -1
- package/dist/es2019/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +1 -1
- package/dist/es2019/ui/QuoteBlockMenuItem.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/HeadingButton.js +1 -1
- package/dist/esm/pm-plugins/ui/ToolbarBlockType/TextStylesMenuButton.js +1 -1
- package/dist/esm/ui/QuoteBlockMenuItem.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 22.0.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 22.0.9
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -149,7 +155,7 @@
|
|
|
149
155
|
### Patch Changes
|
|
150
156
|
|
|
151
157
|
- [`2b9ae0b463256`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2b9ae0b463256) -
|
|
152
|
-
Clean up feature gate `
|
|
158
|
+
Clean up feature gate `platform_editor_return_focus_after_text_styles_2`
|
|
153
159
|
- Updated dependencies
|
|
154
160
|
|
|
155
161
|
## 21.0.0
|
|
@@ -378,7 +384,7 @@
|
|
|
378
384
|
The Text styles dropdown now renders inline via `shouldRenderToParent`, which stops the popup
|
|
379
385
|
focus-trap from returning focus to the trigger on close. `ToolbarDropdownMenu` gains an opt-in
|
|
380
386
|
`shouldRenderToParent` prop so only the Text styles menu is affected. Gated behind the
|
|
381
|
-
`
|
|
387
|
+
`platform_editor_return_focus_after_text_styles_2` feature flag.
|
|
382
388
|
- Updated dependencies
|
|
383
389
|
|
|
384
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
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* QuoteBlockMenuItem.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* QuoteBlockMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./QuoteBlockMenuItem.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -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
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* QuoteBlockMenuItem.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* QuoteBlockMenuItem.tsx generated by @compiled/babel-plugin v3.0.2 */
|
|
2
2
|
import "./QuoteBlockMenuItem.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
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
|
}
|