@atlaskit/editor-core 201.3.1 → 201.3.2
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 +12 -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/docs/1-legacy-editor.tsx +2 -2
- package/package.json +13 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 201.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#163855](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163855)
|
|
8
|
+
[`893dd8380fd30`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/893dd8380fd30) -
|
|
9
|
+
[ux] Cleaned up FF platform.confluence.frontend.narrow-full-page-editor-toolbar
|
|
10
|
+
- [#163761](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163761)
|
|
11
|
+
[`c011236dc90ec`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c011236dc90ec) -
|
|
12
|
+
NOISSUE: removes soft deleted examples from editor-core
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 201.3.1
|
|
4
16
|
|
|
5
17
|
### 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.3.
|
|
2
|
+
export const version = "201.3.2";
|
|
@@ -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.3.
|
|
2
|
+
export var version = "201.3.2";
|
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.
|
|
3
|
+
"version": "201.3.2",
|
|
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.19.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",
|
|
@@ -55,7 +55,7 @@
|
|
|
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.14.0",
|
|
59
59
|
"@atlaskit/tokens": "^2.2.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.9.0",
|
|
61
61
|
"@atlaskit/width-detector": "^4.3.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.165",
|
|
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
|
},
|
|
@@ -318,6 +315,10 @@
|
|
|
318
315
|
"platform_editor_disable_rerender_tracking_jira": {
|
|
319
316
|
"type": "boolean"
|
|
320
317
|
},
|
|
318
|
+
"platform_editor_ed-25557_lnv_add_ssr_placeholder": {
|
|
319
|
+
"type": "boolean",
|
|
320
|
+
"referenceOnly": true
|
|
321
|
+
},
|
|
321
322
|
"platform_editor_replace_finddomnode_in_common": {
|
|
322
323
|
"type": "boolean",
|
|
323
324
|
"referenceOnly": true
|
|
@@ -334,6 +335,10 @@
|
|
|
334
335
|
"type": "boolean",
|
|
335
336
|
"referenceOnly": true
|
|
336
337
|
},
|
|
338
|
+
"platform_editor_use_nested_table_pm_nodes": {
|
|
339
|
+
"type": "boolean",
|
|
340
|
+
"referenceOnly": true
|
|
341
|
+
},
|
|
337
342
|
"platform_editor_inline_resize_media_to_edge": {
|
|
338
343
|
"type": "boolean",
|
|
339
344
|
"referenceOnly": true
|