@atlaskit/editor-core 201.3.1 → 201.4.0
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 +25 -0
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +2 -3
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +3 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +3 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/presets/universal.d.ts +2 -0
- package/dist/types-ts4.5/presets/universal.d.ts +2 -0
- package/docs/1-legacy-editor.tsx +2 -2
- package/package.json +16 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 201.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#163468](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163468)
|
|
8
|
+
[`dd36c12324efd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dd36c12324efd) -
|
|
9
|
+
JIV-19284 Allow setting task placeholder and quick insert action description for Editor tasks and
|
|
10
|
+
decisions plugin
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 201.3.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#163855](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163855)
|
|
21
|
+
[`893dd8380fd30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/893dd8380fd30) -
|
|
22
|
+
[ux] Cleaned up FF platform.confluence.frontend.narrow-full-page-editor-toolbar
|
|
23
|
+
- [#163761](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163761)
|
|
24
|
+
[`c011236dc90ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c011236dc90ec) -
|
|
25
|
+
NOISSUE: removes soft deleted examples from editor-core
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 201.3.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -16,8 +16,7 @@ var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = exports.MAXIMUM_TWO_LINE_TOOLBAR_BREAK
|
|
|
16
16
|
// box-shadow is overriden by the mainToolbar
|
|
17
17
|
var mainToolbarWithKeyline = (0, _react.css)({
|
|
18
18
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
|
-
boxShadow:
|
|
20
|
-
"0 ".concat(_editorSharedStyles.akEditorToolbarKeylineHeight, "px 0 0 ", "var(--ds-background-accent-gray-subtlest, #F1F2F4)")
|
|
19
|
+
boxShadow: "var(--ds-shadow-overflow, 0px 0px 8px #091E4228, 0px 0px 1px #091E421e)"
|
|
21
20
|
});
|
|
22
21
|
var mainToolbarTwoLineStyle = function mainToolbarTwoLineStyle() {
|
|
23
22
|
var editorToolbarHeight = (0, _editorSharedStyles.FULL_PAGE_EDITOR_TOOLBAR_HEIGHT)();
|
|
@@ -40,7 +39,7 @@ var mainToolbar = function mainToolbar() {
|
|
|
40
39
|
alignItems: 'center',
|
|
41
40
|
boxShadow: 'none',
|
|
42
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
43
|
-
borderBottom:
|
|
42
|
+
borderBottom: "1px solid ".concat("var(--ds-border, #091E4224)"),
|
|
44
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
45
44
|
transition: "box-shadow 200ms ".concat(_editorSharedStyles.akEditorSwoopCubicBezier),
|
|
46
45
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -1,15 +1,13 @@
|
|
|
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
|
-
import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier,
|
|
3
|
+
import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
export const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 868;
|
|
6
6
|
|
|
7
7
|
// box-shadow is overriden by the mainToolbar
|
|
8
8
|
const mainToolbarWithKeyline = css({
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
10
|
-
boxShadow:
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
12
|
-
`0 ${akEditorToolbarKeylineHeight}px 0 0 ${"var(--ds-background-accent-gray-subtlest, #F1F2F4)"}`
|
|
10
|
+
boxShadow: `${"var(--ds-shadow-overflow, 0px 0px 8px #091E4228, 0px 0px 1px #091E421e)"}`
|
|
13
11
|
});
|
|
14
12
|
const mainToolbarTwoLineStyle = () => {
|
|
15
13
|
const editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
@@ -35,7 +33,7 @@ const mainToolbar = () => {
|
|
|
35
33
|
alignItems: 'center',
|
|
36
34
|
boxShadow: 'none',
|
|
37
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
|
-
borderBottom:
|
|
36
|
+
borderBottom: `1px solid ${"var(--ds-border, #091E4224)"}`,
|
|
39
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
40
38
|
transition: `box-shadow 200ms ${akEditorSwoopCubicBezier}`,
|
|
41
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "201.
|
|
2
|
+
export const version = "201.4.0";
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
|
-
import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier,
|
|
4
|
+
import { akEditorFloatingDialogZIndex, akEditorMobileMaxWidth, akEditorSwoopCubicBezier, FULL_PAGE_EDITOR_TOOLBAR_HEIGHT } from '@atlaskit/editor-shared-styles';
|
|
5
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
6
|
export var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 868;
|
|
7
7
|
|
|
8
8
|
// box-shadow is overriden by the mainToolbar
|
|
9
9
|
var mainToolbarWithKeyline = css({
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
11
|
-
boxShadow:
|
|
12
|
-
"0 ".concat(akEditorToolbarKeylineHeight, "px 0 0 ", "var(--ds-background-accent-gray-subtlest, #F1F2F4)")
|
|
11
|
+
boxShadow: "var(--ds-shadow-overflow, 0px 0px 8px #091E4228, 0px 0px 1px #091E421e)"
|
|
13
12
|
});
|
|
14
13
|
var mainToolbarTwoLineStyle = function mainToolbarTwoLineStyle() {
|
|
15
14
|
var editorToolbarHeight = FULL_PAGE_EDITOR_TOOLBAR_HEIGHT();
|
|
@@ -32,7 +31,7 @@ var mainToolbar = function mainToolbar() {
|
|
|
32
31
|
alignItems: 'center',
|
|
33
32
|
boxShadow: 'none',
|
|
34
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
35
|
-
borderBottom:
|
|
34
|
+
borderBottom: "1px solid ".concat("var(--ds-border, #091E4224)"),
|
|
36
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
37
36
|
transition: "box-shadow 200ms ".concat(akEditorSwoopCubicBezier),
|
|
38
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "201.
|
|
2
|
+
export var version = "201.4.0";
|
package/docs/1-legacy-editor.tsx
CHANGED
|
@@ -252,9 +252,9 @@ ${code`
|
|
|
252
252
|
${(
|
|
253
253
|
<Example
|
|
254
254
|
packageName="@atlaskit/editor-core"
|
|
255
|
-
Component={require('../examples/1-basic').default}
|
|
255
|
+
Component={require('../examples/1-basic-composable-editor').default}
|
|
256
256
|
title="Basic"
|
|
257
|
-
source={require('!!raw-loader!../examples/1-basic')}
|
|
257
|
+
source={require('!!raw-loader!../examples/1-basic-composable-editor')}
|
|
258
258
|
/>
|
|
259
259
|
)}
|
|
260
260
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "201.
|
|
3
|
+
"version": "201.4.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
44
44
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
45
45
|
"@atlaskit/button": "^20.3.0",
|
|
46
|
-
"@atlaskit/editor-common": "^94.
|
|
46
|
+
"@atlaskit/editor-common": "^94.21.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.21.0",
|
|
48
48
|
"@atlaskit/editor-plugin-quick-insert": "1.7.0",
|
|
49
49
|
"@atlaskit/editor-plugins": "^5.6.0",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.9.0",
|
|
53
53
|
"@atlaskit/icon": "^22.24.0",
|
|
54
|
-
"@atlaskit/media-card": "^78.
|
|
54
|
+
"@atlaskit/media-card": "^78.14.0",
|
|
55
55
|
"@atlaskit/mention": "^23.3.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
57
57
|
"@atlaskit/task-decision": "^17.11.0",
|
|
58
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
58
|
+
"@atlaskit/tmp-editor-statsig": "^2.16.0",
|
|
59
59
|
"@atlaskit/tokens": "^2.2.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.9.0",
|
|
61
61
|
"@atlaskit/width-detector": "^4.3.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@af/visual-regression": "*",
|
|
84
84
|
"@atlaskit/adf-utils": "^19.12.0",
|
|
85
85
|
"@atlaskit/analytics-listeners": "^8.11.0",
|
|
86
|
-
"@atlaskit/collab-provider": "9.
|
|
86
|
+
"@atlaskit/collab-provider": "9.45.0",
|
|
87
87
|
"@atlaskit/editor-plugin-annotation": "1.23.3",
|
|
88
88
|
"@atlaskit/editor-plugin-card": "^4.4.0",
|
|
89
89
|
"@atlaskit/editor-plugin-list": "^3.9.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@atlaskit/media-integration-test-helpers": "^3.1.0",
|
|
95
95
|
"@atlaskit/media-test-helpers": "^34.6.0",
|
|
96
96
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
97
|
-
"@atlaskit/primitives": "^13.
|
|
97
|
+
"@atlaskit/primitives": "^13.2.0",
|
|
98
98
|
"@atlaskit/renderer": "^112.5.0",
|
|
99
99
|
"@atlaskit/smart-card": "^30.2.0",
|
|
100
100
|
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
@@ -103,9 +103,9 @@
|
|
|
103
103
|
"@atlaskit/visual-regression": "*",
|
|
104
104
|
"@atlassian/adf-schema-json": "^1.22.0",
|
|
105
105
|
"@atlassian/feature-flags-test-utils": "*",
|
|
106
|
-
"@atlassian/search-provider": "2.4.
|
|
106
|
+
"@atlassian/search-provider": "2.4.166",
|
|
107
107
|
"@emotion/jest": "^11.8.0",
|
|
108
|
-
"@storybook/addon-knobs": "^
|
|
108
|
+
"@storybook/addon-knobs": "^6.4.0",
|
|
109
109
|
"@testing-library/react": "^12.1.5",
|
|
110
110
|
"@testing-library/react-hooks": "^8.0.1",
|
|
111
111
|
"@types/diff": "^5.0.2",
|
|
@@ -175,9 +175,6 @@
|
|
|
175
175
|
"type": "boolean",
|
|
176
176
|
"referenceOnly": "true"
|
|
177
177
|
},
|
|
178
|
-
"platform.confluence.frontend.narrow-full-page-editor-toolbar": {
|
|
179
|
-
"type": "boolean"
|
|
180
|
-
},
|
|
181
178
|
"platform_editor_core_increase_full_page_guttering": {
|
|
182
179
|
"type": "boolean"
|
|
183
180
|
},
|
|
@@ -236,10 +233,6 @@
|
|
|
236
233
|
"type": "boolean",
|
|
237
234
|
"referenceOnly": true
|
|
238
235
|
},
|
|
239
|
-
"platform_editor_empty_line_prompt_delay": {
|
|
240
|
-
"type": "boolean",
|
|
241
|
-
"referenceOnly": true
|
|
242
|
-
},
|
|
243
236
|
"platform_editor_ssr_fix_block_controls": {
|
|
244
237
|
"type": "boolean"
|
|
245
238
|
},
|
|
@@ -318,6 +311,10 @@
|
|
|
318
311
|
"platform_editor_disable_rerender_tracking_jira": {
|
|
319
312
|
"type": "boolean"
|
|
320
313
|
},
|
|
314
|
+
"platform_editor_ed-25557_lnv_add_ssr_placeholder": {
|
|
315
|
+
"type": "boolean",
|
|
316
|
+
"referenceOnly": true
|
|
317
|
+
},
|
|
321
318
|
"platform_editor_replace_finddomnode_in_common": {
|
|
322
319
|
"type": "boolean",
|
|
323
320
|
"referenceOnly": true
|
|
@@ -334,6 +331,10 @@
|
|
|
334
331
|
"type": "boolean",
|
|
335
332
|
"referenceOnly": true
|
|
336
333
|
},
|
|
334
|
+
"platform_editor_use_nested_table_pm_nodes": {
|
|
335
|
+
"type": "boolean",
|
|
336
|
+
"referenceOnly": true
|
|
337
|
+
},
|
|
337
338
|
"platform_editor_inline_resize_media_to_edge": {
|
|
338
339
|
"type": "boolean",
|
|
339
340
|
"referenceOnly": true
|