@atlaskit/editor-core 203.18.3 → 204.0.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 204.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Minor Changes
18
+
19
+ - [#116198](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116198)
20
+ [`3f2a72e33616f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3f2a72e33616f) -
21
+ ED-26667 remove borders for the Editor status node
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+
3
27
  ## 203.18.3
4
28
 
5
29
  ### Patch Changes
@@ -22,4 +22,4 @@ var getVisualRefreshStatusStyles = function getVisualRefreshStatusStyles() {
22
22
  };
23
23
 
24
24
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
- var statusStyles = exports.statusStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t.", ",\n\t\t.", ",\n\t\t[data-layout-section] {\n\t\t.", " {\n\t\t\tmax-width: 100%;\n\t\t\tline-height: 0;\n\n\t\t\t> span {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.", " {\n\t\t> span {\n\t\t\tcursor: pointer;\n\t\t\tline-height: 0; /* Prevent responsive layouts increasing height of container. */\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", " > span {\n\t\t\tbackground-color: ", ";\n\t\t}\n\n\t\t.", ".", "\n\t\t\t.", "\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t}\n\t}\n"])), _styles.TableSharedCssClassName.TABLE_CELL_WRAPPER, _styles.TableSharedCssClassName.TABLE_HEADER_CELL_WRAPPER, _styles.StatusSharedCssClassName.STATUS_CONTAINER, _styles.StatusSharedCssClassName.STATUS_CONTAINER, (0, _styles.getStatusSharedStyles)(), getVisualRefreshStatusStyles(), _styles.StatusSharedCssClassName.STATUS_LOZENGE, _editorSharedStyles.akEditorDeleteBackgroundWithOpacity, _styles.StatusSharedCssClassName.STATUS_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder);
25
+ var statusStyles = exports.statusStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n\t.", ",\n\t\t.", ",\n\t\t[data-layout-section] {\n\t\t.", " {\n\t\t\tmax-width: 100%;\n\t\t\tline-height: 0;\n\n\t\t\t> span {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.", " {\n\t\t> span {\n\t\t\tcursor: pointer;\n\t\t\tline-height: 0; /* Prevent responsive layouts increasing height of container. */\n\t\t}\n\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", " > span {\n\t\t\tbackground-color: ", ";\n\t\t}\n\n\t\t.", ".", "\n\t\t\t.", "\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t}\n\t}\n"])), _styles.TableSharedCssClassName.TABLE_CELL_WRAPPER, _styles.TableSharedCssClassName.TABLE_HEADER_CELL_WRAPPER, _styles.StatusSharedCssClassName.STATUS_CONTAINER, _styles.StatusSharedCssClassName.STATUS_CONTAINER, getVisualRefreshStatusStyles(), _styles.StatusSharedCssClassName.STATUS_LOZENGE, _editorSharedStyles.akEditorDeleteBackgroundWithOpacity, _styles.StatusSharedCssClassName.STATUS_CONTAINER, _editorSharedStyles.akEditorSelectedNodeClassName, _styles.StatusSharedCssClassName.STATUS_LOZENGE, _editorSharedStyles.akEditorSelectedBorderSize, _editorSharedStyles.akEditorDeleteBorder);
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "203.18.3";
8
+ var version = exports.version = "204.0.0";
@@ -1,6 +1,6 @@
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 { StatusSharedCssClassName, TableSharedCssClassName, getStatusSharedStyles } from '@atlaskit/editor-common/styles';
3
+ import { StatusSharedCssClassName, TableSharedCssClassName } from '@atlaskit/editor-common/styles';
4
4
  import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, akEditorSelectedBoldBoxShadow, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
5
5
  import { fg } from '@atlaskit/platform-feature-flags';
6
6
 
@@ -41,8 +41,6 @@ export const statusStyles = css`
41
41
  line-height: 0; /* Prevent responsive layouts increasing height of container. */
42
42
  }
43
43
 
44
- ${getStatusSharedStyles()}
45
-
46
44
  ${getVisualRefreshStatusStyles()}
47
45
  }
48
46
 
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "203.18.3";
2
+ export const version = "204.0.0";
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
2
2
  var _templateObject, _templateObject2, _templateObject3;
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
- import { StatusSharedCssClassName, TableSharedCssClassName, getStatusSharedStyles } from '@atlaskit/editor-common/styles';
5
+ import { StatusSharedCssClassName, TableSharedCssClassName } from '@atlaskit/editor-common/styles';
6
6
  import { akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, akEditorSelectedBoldBoxShadow, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
8
 
@@ -17,4 +17,4 @@ var getVisualRefreshStatusStyles = function getVisualRefreshStatusStyles() {
17
17
  };
18
18
 
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
20
- export var statusStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t.", ",\n\t\t.", ",\n\t\t[data-layout-section] {\n\t\t.", " {\n\t\t\tmax-width: 100%;\n\t\t\tline-height: 0;\n\n\t\t\t> span {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.", " {\n\t\t> span {\n\t\t\tcursor: pointer;\n\t\t\tline-height: 0; /* Prevent responsive layouts increasing height of container. */\n\t\t}\n\n\t\t", "\n\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", " > span {\n\t\t\tbackground-color: ", ";\n\t\t}\n\n\t\t.", ".", "\n\t\t\t.", "\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t}\n\t}\n"])), TableSharedCssClassName.TABLE_CELL_WRAPPER, TableSharedCssClassName.TABLE_HEADER_CELL_WRAPPER, StatusSharedCssClassName.STATUS_CONTAINER, StatusSharedCssClassName.STATUS_CONTAINER, getStatusSharedStyles(), getVisualRefreshStatusStyles(), StatusSharedCssClassName.STATUS_LOZENGE, akEditorDeleteBackgroundWithOpacity, StatusSharedCssClassName.STATUS_CONTAINER, akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, akEditorSelectedBorderSize, akEditorDeleteBorder);
20
+ export var statusStyles = css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\t.", ",\n\t\t.", ",\n\t\t[data-layout-section] {\n\t\t.", " {\n\t\t\tmax-width: 100%;\n\t\t\tline-height: 0;\n\n\t\t\t> span {\n\t\t\t\twidth: 100%;\n\t\t\t}\n\t\t}\n\t}\n\t.", " {\n\t\t> span {\n\t\t\tcursor: pointer;\n\t\t\tline-height: 0; /* Prevent responsive layouts increasing height of container. */\n\t\t}\n\n\t\t", "\n\t}\n\n\t.danger {\n\t\t.", " > span {\n\t\t\tbackground-color: ", ";\n\t\t}\n\n\t\t.", ".", "\n\t\t\t.", "\n\t\t\t> span {\n\t\t\tbox-shadow: 0 0 0 ", "px ", ";\n\t\t}\n\t}\n"])), TableSharedCssClassName.TABLE_CELL_WRAPPER, TableSharedCssClassName.TABLE_HEADER_CELL_WRAPPER, StatusSharedCssClassName.STATUS_CONTAINER, StatusSharedCssClassName.STATUS_CONTAINER, getVisualRefreshStatusStyles(), StatusSharedCssClassName.STATUS_LOZENGE, akEditorDeleteBackgroundWithOpacity, StatusSharedCssClassName.STATUS_CONTAINER, akEditorSelectedNodeClassName, StatusSharedCssClassName.STATUS_LOZENGE, akEditorSelectedBorderSize, akEditorDeleteBorder);
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "203.18.3";
2
+ export var version = "204.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "203.18.3",
3
+ "version": "204.0.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,28 +39,28 @@
39
39
  "dependencies": {
40
40
  "@atlaskit/activity-provider": "^2.5.0",
41
41
  "@atlaskit/adf-schema": "^47.2.1",
42
- "@atlaskit/analytics-namespaced-context": "^6.14.0",
43
- "@atlaskit/analytics-next": "^10.3.0",
42
+ "@atlaskit/analytics-namespaced-context": "^7.0.0",
43
+ "@atlaskit/analytics-next": "^11.0.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
- "@atlaskit/button": "^20.5.0",
46
- "@atlaskit/editor-common": "^99.19.0",
45
+ "@atlaskit/button": "^21.0.0",
46
+ "@atlaskit/editor-common": "^100.0.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.23.0",
48
- "@atlaskit/editor-performance-metrics": "1.5.1",
49
- "@atlaskit/editor-plugin-quick-insert": "1.10.2",
50
- "@atlaskit/editor-plugins": "^7.2.0",
48
+ "@atlaskit/editor-performance-metrics": "2.0.0",
49
+ "@atlaskit/editor-plugin-quick-insert": "2.0.0",
50
+ "@atlaskit/editor-plugins": "^8.0.0",
51
51
  "@atlaskit/editor-prosemirror": "7.0.0",
52
52
  "@atlaskit/editor-shared-styles": "^3.3.0",
53
- "@atlaskit/emoji": "^67.14.0",
54
- "@atlaskit/icon": "^23.11.0",
55
- "@atlaskit/media-card": "^78.19.0",
56
- "@atlaskit/mention": "^23.11.0",
53
+ "@atlaskit/emoji": "^68.0.0",
54
+ "@atlaskit/icon": "^24.0.0",
55
+ "@atlaskit/media-card": "^79.0.0",
56
+ "@atlaskit/mention": "^24.0.0",
57
57
  "@atlaskit/platform-feature-flags": "^1.1.0",
58
- "@atlaskit/react-ufo": "^2.16.0",
59
- "@atlaskit/task-decision": "^18.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^2.47.0",
61
- "@atlaskit/tokens": "^3.3.0",
62
- "@atlaskit/tooltip": "^19.2.0",
63
- "@atlaskit/width-detector": "^4.4.0",
58
+ "@atlaskit/react-ufo": "^3.0.0",
59
+ "@atlaskit/task-decision": "^19.0.0",
60
+ "@atlaskit/tmp-editor-statsig": "^3.0.0",
61
+ "@atlaskit/tokens": "^4.0.0",
62
+ "@atlaskit/tooltip": "^20.0.0",
63
+ "@atlaskit/width-detector": "^5.0.0",
64
64
  "@babel/runtime": "^7.0.0",
65
65
  "@emotion/react": "^11.7.1",
66
66
  "@types/react-loadable": "^5.4.1",
@@ -74,38 +74,38 @@
74
74
  "uuid": "^3.1.0"
75
75
  },
76
76
  "peerDependencies": {
77
- "@atlaskit/link-provider": "^1.17.0",
78
- "@atlaskit/media-core": "^34.3.0",
79
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
80
- "react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0",
77
+ "@atlaskit/link-provider": "^2.0.0",
78
+ "@atlaskit/media-core": "^35.0.0",
79
+ "react": "^18.2.0",
80
+ "react-dom": "^18.2.0",
81
81
  "react-intl-next": "npm:react-intl@^5.18.1"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@af/editor-libra": "*",
85
85
  "@af/visual-regression": "*",
86
86
  "@atlaskit/adf-utils": "^19.18.0",
87
- "@atlaskit/analytics-listeners": "^8.15.0",
88
- "@atlaskit/collab-provider": "10.7.1",
89
- "@atlaskit/editor-plugin-annotation": "1.28.1",
90
- "@atlaskit/editor-plugin-card": "^4.6.0",
91
- "@atlaskit/editor-plugin-list": "^3.10.0",
92
- "@atlaskit/editor-plugin-paste": "^2.3.0",
93
- "@atlaskit/link-provider": "^1.19.0",
94
- "@atlaskit/logo": "^15.4.0",
95
- "@atlaskit/media-core": "^34.5.0",
96
- "@atlaskit/media-integration-test-helpers": "^3.1.0",
97
- "@atlaskit/media-test-helpers": "^34.8.0",
98
- "@atlaskit/modal-dialog": "^12.20.0",
99
- "@atlaskit/primitives": "^13.6.0",
100
- "@atlaskit/renderer": "^112.15.0",
101
- "@atlaskit/smart-card": "^34.11.0",
87
+ "@atlaskit/analytics-listeners": "^9.0.0",
88
+ "@atlaskit/collab-provider": "10.7.2",
89
+ "@atlaskit/editor-plugin-annotation": "2.0.0",
90
+ "@atlaskit/editor-plugin-card": "^5.0.0",
91
+ "@atlaskit/editor-plugin-list": "^4.0.0",
92
+ "@atlaskit/editor-plugin-paste": "^3.0.0",
93
+ "@atlaskit/link-provider": "^2.0.0",
94
+ "@atlaskit/logo": "^16.0.0",
95
+ "@atlaskit/media-core": "^35.0.0",
96
+ "@atlaskit/media-integration-test-helpers": "^4.0.0",
97
+ "@atlaskit/media-test-helpers": "^35.0.0",
98
+ "@atlaskit/modal-dialog": "^13.0.0",
99
+ "@atlaskit/primitives": "^14.0.0",
100
+ "@atlaskit/renderer": "^113.0.0",
101
+ "@atlaskit/smart-card": "^35.0.0",
102
102
  "@atlaskit/synchrony-test-helpers": "^3.1.0",
103
- "@atlaskit/toggle": "^14.2.0",
103
+ "@atlaskit/toggle": "^15.0.0",
104
104
  "@atlaskit/util-data-test": "^18.0.0",
105
105
  "@atlaskit/visual-regression": "*",
106
106
  "@atlassian/adf-schema-json": "^1.27.0",
107
107
  "@atlassian/feature-flags-test-utils": "*",
108
- "@atlassian/search-provider": "3.0.37",
108
+ "@atlassian/search-provider": "3.0.38",
109
109
  "@emotion/jest": "^11.8.0",
110
110
  "@storybook/addon-knobs": "^6.4.0",
111
111
  "@testing-library/react": "^13.4.0",