@atlaskit/editor-plugin-block-type 3.14.1 → 3.14.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,21 @@
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
2
2
|
|
3
|
+
## 3.14.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#136078](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136078)
|
8
|
+
[`09414d7233497`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/09414d7233497) -
|
9
|
+
ED-24507 Switch nested dnd FG to experiment and include padding changes"
|
10
|
+
|
11
|
+
## 3.14.2
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- [#134213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/134213)
|
16
|
+
[`93bd7032842ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93bd7032842ec) -
|
17
|
+
[ux] [ED-24636] Bump ADF Schema package
|
18
|
+
|
3
19
|
## 3.14.1
|
4
20
|
|
5
21
|
### Patch Changes
|
@@ -8,9 +8,9 @@ exports.blocktypeStyles = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
9
9
|
var _react = require("@emotion/react");
|
10
10
|
var _styles = require("@atlaskit/editor-common/styles");
|
11
|
-
var
|
11
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
12
12
|
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
13
13
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Imports are not safe in an object syntax
|
14
14
|
var blocktypeStyles = exports.blocktypeStyles = function blocktypeStyles() {
|
15
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", ";\n\t\t", ";\n\t}\n"])), (0,
|
15
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t.ProseMirror {\n\t\t", ";\n\t\t", ";\n\t}\n"])), (0, _experiments.editorExperiment)('nested-dnd', true) ? _styles.blockquoteSharedStylesNew : _styles.blockquoteSharedStyles, (0, _styles.headingsSharedStyles)());
|
16
16
|
};
|
@@ -1,12 +1,12 @@
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
2
2
|
import { css } from '@emotion/react';
|
3
3
|
import { blockquoteSharedStyles, blockquoteSharedStylesNew, headingsSharedStyles } from '@atlaskit/editor-common/styles';
|
4
|
-
import {
|
4
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
5
5
|
|
6
6
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Imports are not safe in an object syntax
|
7
7
|
export const blocktypeStyles = () => css`
|
8
8
|
.ProseMirror {
|
9
|
-
${
|
9
|
+
${editorExperiment('nested-dnd', true) ? blockquoteSharedStylesNew : blockquoteSharedStyles};
|
10
10
|
${headingsSharedStyles()};
|
11
11
|
}
|
12
12
|
`;
|
@@ -3,9 +3,9 @@ var _templateObject;
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
4
4
|
import { css } from '@emotion/react';
|
5
5
|
import { blockquoteSharedStyles, blockquoteSharedStylesNew, headingsSharedStyles } from '@atlaskit/editor-common/styles';
|
6
|
-
import {
|
6
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
7
7
|
|
8
8
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Imports are not safe in an object syntax
|
9
9
|
export var blocktypeStyles = function blocktypeStyles() {
|
10
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", ";\n\t\t", ";\n\t}\n"])),
|
10
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", ";\n\t\t", ";\n\t}\n"])), editorExperiment('nested-dnd', true) ? blockquoteSharedStylesNew : blockquoteSharedStyles, headingsSharedStyles());
|
11
11
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
3
|
-
"version": "3.14.
|
3
|
+
"version": "3.14.3",
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
5
5
|
"author": "Atlassian Pty Ltd",
|
6
6
|
"license": "Apache-2.0",
|
@@ -10,8 +10,6 @@
|
|
10
10
|
"atlassian": {
|
11
11
|
"team": "Editor: Lego",
|
12
12
|
"singleton": true,
|
13
|
-
"inPublicMirror": false,
|
14
|
-
"releaseModel": "continuous",
|
15
13
|
"runReact18": false
|
16
14
|
},
|
17
15
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
@@ -35,8 +33,8 @@
|
|
35
33
|
"./styles": "./src/styles.ts"
|
36
34
|
},
|
37
35
|
"dependencies": {
|
38
|
-
"@atlaskit/adf-schema": "^40.
|
39
|
-
"@atlaskit/editor-common": "^88.
|
36
|
+
"@atlaskit/adf-schema": "^40.9.0",
|
37
|
+
"@atlaskit/editor-common": "^88.6.0",
|
40
38
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
41
39
|
"@atlaskit/editor-plugin-primary-toolbar": "^2.0.0",
|
42
40
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
@@ -46,6 +44,7 @@
|
|
46
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
47
45
|
"@atlaskit/prosemirror-input-rules": "^3.2.0",
|
48
46
|
"@atlaskit/theme": "^13.0.0",
|
47
|
+
"@atlaskit/tmp-editor-statsig": "*",
|
49
48
|
"@atlaskit/tokens": "^1.59.0",
|
50
49
|
"@babel/runtime": "^7.0.0",
|
51
50
|
"@emotion/react": "^11.7.1"
|
@@ -102,9 +101,6 @@
|
|
102
101
|
}
|
103
102
|
},
|
104
103
|
"platform-feature-flags": {
|
105
|
-
"platform_editor_element_padding_changes_gate": {
|
106
|
-
"type": "boolean"
|
107
|
-
},
|
108
104
|
"editor_nest_media_and_codeblock_in_quotes_jira": {
|
109
105
|
"type": "boolean"
|
110
106
|
}
|