@atlaskit/editor-core 178.0.0 → 178.0.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 178.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2ff1c66a6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ff1c66a6ab) - [ux] ED-16490 fixed bug so big margin will not occur before a Decision node in Renderer on iOS
8
+
9
+ ## 178.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 178.0.0
4
16
 
5
17
  ### Major Changes
@@ -30,12 +30,7 @@ Object.defineProperty(exports, "getChangedNodes", {
30
30
  return _document.getChangedNodes;
31
31
  }
32
32
  });
33
- Object.defineProperty(exports, "tablePluginKey", {
34
- enumerable: true,
35
- get: function get() {
36
- return _pluginKey.pluginKey;
37
- }
38
- });
33
+ exports.tablePluginKey = void 0;
39
34
  Object.defineProperty(exports, "toJSON", {
40
35
  enumerable: true,
41
36
  get: function get() {
@@ -63,6 +58,12 @@ var _extension = require("./plugins/extension/nodeviews/extension");
63
58
 
64
59
  var _pluginKey = require("@atlaskit/editor-plugin-table/plugin-key");
65
60
 
61
+ /**
62
+ * @deprecated [ED-14688] - used during the table viz project and not used anymore
63
+ * will be removed in a future version of `@atlaskit/editor-core`
64
+ */
65
+ var tablePluginKey = _pluginKey.pluginKey;
66
+ exports.tablePluginKey = tablePluginKey;
66
67
  var EmitterEvents = {
67
68
  TABLE_DELETED: 'TABLE_DELETED'
68
69
  };
@@ -19,5 +19,5 @@ var _styles = require("@atlaskit/editor-common/styles");
19
19
 
20
20
  var _templateObject;
21
21
 
22
- var listsStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror li {\n position: relative;\n\n > p:not(:first-child) {\n margin: 4px 0 0 0;\n }\n\n // In SSR the above rule will apply to all p tags because first-child would be a style tag.\n // The following rule resets the first p tag back to its original margin\n // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts\n > style:first-child + p {\n margin-top: ", ";\n }\n\n ", "\n }\n"])), _editorSharedStyles.blockNodesVerticalMargin, _utils.browser.safari ? _styles.codeBlockInListSafariFix : '');
22
+ var listsStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .ProseMirror {\n li {\n position: relative;\n\n > p:not(:first-child) {\n margin: 4px 0 0 0;\n }\n\n // In SSR the above rule will apply to all p tags because first-child would be a style tag.\n // The following rule resets the first p tag back to its original margin\n // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts\n > style:first-child + p {\n margin-top: ", ";\n }\n }\n\n & :not([data-node-type='decisionList']) > li {\n ", "\n }\n }\n"])), _editorSharedStyles.blockNodesVerticalMargin, _utils.browser.safari ? _styles.codeBlockInListSafariFix : '');
23
23
  exports.listsStyles = listsStyles;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = "@atlaskit/editor-core";
8
8
  exports.name = name;
9
- var version = "178.0.0";
9
+ var version = "178.0.2";
10
10
  exports.version = version;
11
11
 
12
12
  var nextMajorVersion = function nextMajorVersion() {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "178.0.0",
3
+ "version": "178.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,14 @@ export { toJSON } from './utils';
4
4
  export { default as Extension } from './plugins/extension/ui/Extension';
5
5
  export { default as ExtensionNodeWrapper } from './plugins/extension/ui/Extension/ExtensionNodeWrapper';
6
6
  export { ExtensionNode } from './plugins/extension/nodeviews/extension';
7
- export { pluginKey as tablePluginKey } from '@atlaskit/editor-plugin-table/plugin-key';
7
+ import { pluginKey as tablePluginKeyInner } from '@atlaskit/editor-plugin-table/plugin-key';
8
+ /**
9
+ * @deprecated [ED-14688] - used during the table viz project and not used anymore
10
+ * will be removed in a future version of `@atlaskit/editor-core`
11
+ */
12
+
13
+ const tablePluginKey = tablePluginKeyInner;
14
+ export { tablePluginKey };
8
15
  export const EmitterEvents = {
9
16
  TABLE_DELETED: 'TABLE_DELETED'
10
17
  };
@@ -3,20 +3,24 @@ import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
3
3
  import { browser } from '@atlaskit/editor-common/utils';
4
4
  import { codeBlockInListSafariFix } from '@atlaskit/editor-common/styles';
5
5
  export const listsStyles = css`
6
- .ProseMirror li {
7
- position: relative;
6
+ .ProseMirror {
7
+ li {
8
+ position: relative;
8
9
 
9
- > p:not(:first-child) {
10
- margin: 4px 0 0 0;
11
- }
10
+ > p:not(:first-child) {
11
+ margin: 4px 0 0 0;
12
+ }
12
13
 
13
- // In SSR the above rule will apply to all p tags because first-child would be a style tag.
14
- // The following rule resets the first p tag back to its original margin
15
- // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts
16
- > style:first-child + p {
17
- margin-top: ${blockNodesVerticalMargin};
14
+ // In SSR the above rule will apply to all p tags because first-child would be a style tag.
15
+ // The following rule resets the first p tag back to its original margin
16
+ // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts
17
+ > style:first-child + p {
18
+ margin-top: ${blockNodesVerticalMargin};
19
+ }
18
20
  }
19
21
 
20
- ${browser.safari ? codeBlockInListSafariFix : ''}
22
+ & :not([data-node-type='decisionList']) > li {
23
+ ${browser.safari ? codeBlockInListSafariFix : ''}
24
+ }
21
25
  }
22
26
  `;
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "178.0.0";
2
+ export const version = "178.0.2";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "178.0.0",
3
+ "version": "178.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,14 @@ export { toJSON } from './utils';
4
4
  export { default as Extension } from './plugins/extension/ui/Extension';
5
5
  export { default as ExtensionNodeWrapper } from './plugins/extension/ui/Extension/ExtensionNodeWrapper';
6
6
  export { ExtensionNode } from './plugins/extension/nodeviews/extension';
7
- export { pluginKey as tablePluginKey } from '@atlaskit/editor-plugin-table/plugin-key';
7
+ import { pluginKey as tablePluginKeyInner } from '@atlaskit/editor-plugin-table/plugin-key';
8
+ /**
9
+ * @deprecated [ED-14688] - used during the table viz project and not used anymore
10
+ * will be removed in a future version of `@atlaskit/editor-core`
11
+ */
12
+
13
+ var tablePluginKey = tablePluginKeyInner;
14
+ export { tablePluginKey };
8
15
  export var EmitterEvents = {
9
16
  TABLE_DELETED: 'TABLE_DELETED'
10
17
  };
@@ -6,4 +6,4 @@ import { css } from '@emotion/react';
6
6
  import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
7
7
  import { browser } from '@atlaskit/editor-common/utils';
8
8
  import { codeBlockInListSafariFix } from '@atlaskit/editor-common/styles';
9
- export var listsStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ProseMirror li {\n position: relative;\n\n > p:not(:first-child) {\n margin: 4px 0 0 0;\n }\n\n // In SSR the above rule will apply to all p tags because first-child would be a style tag.\n // The following rule resets the first p tag back to its original margin\n // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts\n > style:first-child + p {\n margin-top: ", ";\n }\n\n ", "\n }\n"])), blockNodesVerticalMargin, browser.safari ? codeBlockInListSafariFix : '');
9
+ export var listsStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .ProseMirror {\n li {\n position: relative;\n\n > p:not(:first-child) {\n margin: 4px 0 0 0;\n }\n\n // In SSR the above rule will apply to all p tags because first-child would be a style tag.\n // The following rule resets the first p tag back to its original margin\n // defined in packages/editor/editor-common/src/styles/shared/paragraph.ts\n > style:first-child + p {\n margin-top: ", ";\n }\n }\n\n & :not([data-node-type='decisionList']) > li {\n ", "\n }\n }\n"])), blockNodesVerticalMargin, browser.safari ? codeBlockInListSafariFix : '');
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "178.0.0";
2
+ export var version = "178.0.2";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "178.0.0",
3
+ "version": "178.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -4,7 +4,12 @@ export { toJSON } from './utils';
4
4
  export { default as Extension } from './plugins/extension/ui/Extension';
5
5
  export { default as ExtensionNodeWrapper } from './plugins/extension/ui/Extension/ExtensionNodeWrapper';
6
6
  export { ExtensionNode } from './plugins/extension/nodeviews/extension';
7
- export { pluginKey as tablePluginKey } from '@atlaskit/editor-plugin-table/plugin-key';
7
+ /**
8
+ * @deprecated [ED-14688] - used during the table viz project and not used anymore
9
+ * will be removed in a future version of `@atlaskit/editor-core`
10
+ */
11
+ declare const tablePluginKey: import("prosemirror-state").PluginKey<import("@atlaskit/editor-plugin-table/types").TablePluginState, any>;
12
+ export { tablePluginKey };
8
13
  export declare const EmitterEvents: {
9
14
  TABLE_DELETED: string;
10
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "178.0.0",
3
+ "version": "178.0.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,14 +29,14 @@
29
29
  "@atlaskit/adf-schema": "^25.1.0",
30
30
  "@atlaskit/adf-utils": "^18.0.0",
31
31
  "@atlaskit/analytics-gas-types": "^5.0.0",
32
- "@atlaskit/analytics-listeners": "^8.3.0",
33
- "@atlaskit/analytics-namespaced-context": "^6.5.0",
32
+ "@atlaskit/analytics-listeners": "^8.5.0",
33
+ "@atlaskit/analytics-namespaced-context": "^6.6.0",
34
34
  "@atlaskit/analytics-next": "^8.2.0",
35
35
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
36
36
  "@atlaskit/avatar": "^21.1.0",
37
37
  "@atlaskit/avatar-group": "^9.2.0",
38
38
  "@atlaskit/button": "^16.5.0",
39
- "@atlaskit/calendar": "^12.4.0",
39
+ "@atlaskit/calendar": "^13.0.0",
40
40
  "@atlaskit/checkbox": "^12.4.0",
41
41
  "@atlaskit/code": "^14.4.0",
42
42
  "@atlaskit/date": "^0.9.0",
@@ -69,7 +69,7 @@
69
69
  "@atlaskit/radio": "^5.4.0",
70
70
  "@atlaskit/section-message": "^6.3.0",
71
71
  "@atlaskit/select": "^16.1.0",
72
- "@atlaskit/smart-card": "^23.12.0",
72
+ "@atlaskit/smart-card": "^23.13.0",
73
73
  "@atlaskit/smart-user-picker": "^6.0.0",
74
74
  "@atlaskit/spinner": "^15.3.0",
75
75
  "@atlaskit/status": "^1.2.0",
@@ -134,7 +134,7 @@
134
134
  },
135
135
  "devDependencies": {
136
136
  "@atlaskit/atlassian-navigation": "^2.3.0",
137
- "@atlaskit/breadcrumbs": "11.7.7",
137
+ "@atlaskit/breadcrumbs": "11.7.8",
138
138
  "@atlaskit/code": "^14.4.0",
139
139
  "@atlaskit/collab-provider": "8.0.1",
140
140
  "@atlaskit/docs": "*",
@@ -155,7 +155,7 @@
155
155
  "@atlaskit/media-test-helpers": "^30.1.0",
156
156
  "@atlaskit/menu": "^1.4.0",
157
157
  "@atlaskit/page-layout": "^1.3.0",
158
- "@atlaskit/profilecard": "^18.1.0",
158
+ "@atlaskit/profilecard": "^18.2.0",
159
159
  "@atlaskit/pubsub": "^6.2.0",
160
160
  "@atlaskit/renderer": "^105.0.0",
161
161
  "@atlaskit/section-message": "^6.3.0",
@@ -169,7 +169,7 @@
169
169
  "@atlaskit/visual-regression": "*",
170
170
  "@atlaskit/webdriver-runner": "*",
171
171
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
172
- "@atlassian/link-picker-atlassian-plugin": "^26.0.0",
172
+ "@atlassian/link-picker-atlassian-plugin": "^26.1.0",
173
173
  "@atlassian/link-picker-plugins": "^14.1.0",
174
174
  "@atlassian/search-provider": "2.3.9",
175
175
  "@atlassian/ufo": "^0.1.0",