@atlaskit/editor-common 110.14.1 → 110.15.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/messages/block-type.js +0 -10
  3. package/dist/cjs/messages/placeholder-text.js +5 -0
  4. package/dist/cjs/monitoring/error.js +1 -1
  5. package/dist/cjs/styles/shared/sync-block.js +10 -2
  6. package/dist/cjs/sync-block.js +12 -0
  7. package/dist/cjs/ui/DropList/index.js +1 -1
  8. package/dist/es2019/messages/block-type.js +0 -10
  9. package/dist/es2019/messages/placeholder-text.js +5 -0
  10. package/dist/es2019/monitoring/error.js +1 -1
  11. package/dist/es2019/styles/shared/sync-block.js +9 -1
  12. package/dist/es2019/sync-block.js +1 -1
  13. package/dist/es2019/ui/DropList/index.js +1 -1
  14. package/dist/esm/messages/block-type.js +0 -10
  15. package/dist/esm/messages/placeholder-text.js +5 -0
  16. package/dist/esm/monitoring/error.js +1 -1
  17. package/dist/esm/styles/shared/sync-block.js +9 -1
  18. package/dist/esm/sync-block.js +1 -1
  19. package/dist/esm/ui/DropList/index.js +1 -1
  20. package/dist/types/analytics/types/insert-events.d.ts +0 -1
  21. package/dist/types/messages/block-type.d.ts +0 -10
  22. package/dist/types/messages/placeholder-text.d.ts +5 -0
  23. package/dist/types/provider-factory/quick-insert-provider.d.ts +1 -1
  24. package/dist/types/styles/shared/sync-block.d.ts +7 -1
  25. package/dist/types/sync-block.d.ts +1 -1
  26. package/dist/types/types/editor-appearance.d.ts +1 -1
  27. package/dist/types-ts4.5/analytics/types/insert-events.d.ts +0 -1
  28. package/dist/types-ts4.5/messages/block-type.d.ts +0 -10
  29. package/dist/types-ts4.5/messages/placeholder-text.d.ts +5 -0
  30. package/dist/types-ts4.5/provider-factory/quick-insert-provider.d.ts +1 -1
  31. package/dist/types-ts4.5/styles/shared/sync-block.d.ts +7 -1
  32. package/dist/types-ts4.5/sync-block.d.ts +1 -1
  33. package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -1
  34. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`18aec70029328`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/18aec70029328) -
8
+ EDITOR-2420 Rename parameter values of `dense` contentMode to `compact`
9
+ - [`a4fbfc862e34f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4fbfc862e34f) -
10
+ [ux] ED-29557 Clean up plain text quick insert as it's not needed
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
16
+ ## 110.14.2
17
+
18
+ ### Patch Changes
19
+
20
+ - [`10882b2fab738`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/10882b2fab738) -
21
+ [ux] Introduced bodiedSyncBlock nodeview
22
+
3
23
  ## 110.14.1
4
24
 
5
25
  ### Patch Changes
@@ -91,16 +91,6 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
91
91
  defaultMessage: 'Display code with syntax highlighting',
92
92
  description: 'Insert a snippet/segment of code (code block)'
93
93
  },
94
- plainTextCodeblock: {
95
- id: 'fabric.editor.plainTextCodeblock',
96
- defaultMessage: 'Plain text',
97
- description: 'Insert a snippet/segment of code block as plain text'
98
- },
99
- plainTextCodeblockDescription: {
100
- id: 'fabric.editor.plainTextCodeblock.description',
101
- defaultMessage: 'Insert code block for plain text',
102
- description: 'Insert a snippet/segment of code block as plain text'
103
- },
104
94
  infoPanel: {
105
95
  id: 'fabric.editor.infoPanel',
106
96
  defaultMessage: 'Info panel',
@@ -20,5 +20,10 @@ var placeholderTextMessages = exports.placeholderTextMessages = (0, _reactIntlNe
20
20
  id: 'fabric.editor.longEmptyNodePlaceholderText',
21
21
  defaultMessage: 'Type / to insert elements',
22
22
  description: 'Long placeholder text for empty nodes'
23
+ },
24
+ syncBlockPlaceholderText: {
25
+ id: 'fabric.editor.syncBlockPlaceholderText',
26
+ defaultMessage: 'Add content then copy this synced block to access it across spaces',
27
+ description: 'Placeholder text for sync block'
23
28
  }
24
29
  });
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "110.14.0";
19
+ var packageVersion = "110.14.2";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -3,10 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.SyncBlockSharedCssClassName = void 0;
6
+ exports.SyncBlockSharedCssClassName = exports.SyncBlockLabelSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = void 0;
7
7
  var prefix = 'ak-editor-sync-block';
8
8
  var SyncBlockSharedCssClassName = exports.SyncBlockSharedCssClassName = {
9
9
  prefix: prefix,
10
- editor: "".concat(prefix, "__editor"),
11
10
  renderer: "".concat(prefix, "__renderer")
11
+ };
12
+ var bodiedPrefix = 'ak-editor-bodied-sync-block';
13
+ var BodiedSyncBlockSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = {
14
+ prefix: bodiedPrefix,
15
+ content: "".concat(bodiedPrefix, "__content")
16
+ };
17
+ var labelClassName = 'ak-editor-sync-block__label';
18
+ var SyncBlockLabelSharedCssClassName = exports.SyncBlockLabelSharedCssClassName = {
19
+ labelClassName: labelClassName
12
20
  };
@@ -3,6 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "BodiedSyncBlockSharedCssClassName", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _syncBlock.BodiedSyncBlockSharedCssClassName;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "SyncBlockLabelSharedCssClassName", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _syncBlock.SyncBlockLabelSharedCssClassName;
16
+ }
17
+ });
6
18
  Object.defineProperty(exports, "SyncBlockSharedCssClassName", {
7
19
  enumerable: true,
8
20
  get: function get() {
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "110.14.0";
27
+ var packageVersion = "110.14.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -85,16 +85,6 @@ export const messages = defineMessages({
85
85
  defaultMessage: 'Display code with syntax highlighting',
86
86
  description: 'Insert a snippet/segment of code (code block)'
87
87
  },
88
- plainTextCodeblock: {
89
- id: 'fabric.editor.plainTextCodeblock',
90
- defaultMessage: 'Plain text',
91
- description: 'Insert a snippet/segment of code block as plain text'
92
- },
93
- plainTextCodeblockDescription: {
94
- id: 'fabric.editor.plainTextCodeblock.description',
95
- defaultMessage: 'Insert code block for plain text',
96
- description: 'Insert a snippet/segment of code block as plain text'
97
- },
98
88
  infoPanel: {
99
89
  id: 'fabric.editor.infoPanel',
100
90
  defaultMessage: 'Info panel',
@@ -14,5 +14,10 @@ export const placeholderTextMessages = defineMessages({
14
14
  id: 'fabric.editor.longEmptyNodePlaceholderText',
15
15
  defaultMessage: 'Type / to insert elements',
16
16
  description: 'Long placeholder text for empty nodes'
17
+ },
18
+ syncBlockPlaceholderText: {
19
+ id: 'fabric.editor.syncBlockPlaceholderText',
20
+ defaultMessage: 'Add content then copy this synced block to access it across spaces',
21
+ description: 'Placeholder text for sync block'
17
22
  }
18
23
  });
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "110.14.0";
4
+ const packageVersion = "110.14.2";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -1,6 +1,14 @@
1
1
  const prefix = 'ak-editor-sync-block';
2
2
  export const SyncBlockSharedCssClassName = {
3
3
  prefix,
4
- editor: `${prefix}__editor`,
5
4
  renderer: `${prefix}__renderer`
5
+ };
6
+ const bodiedPrefix = 'ak-editor-bodied-sync-block';
7
+ export const BodiedSyncBlockSharedCssClassName = {
8
+ prefix: bodiedPrefix,
9
+ content: `${bodiedPrefix}__content`
10
+ };
11
+ const labelClassName = 'ak-editor-sync-block__label';
12
+ export const SyncBlockLabelSharedCssClassName = {
13
+ labelClassName
6
14
  };
@@ -1,4 +1,4 @@
1
1
  // Disable no-re-export rule for entry point files
2
2
  /* eslint-disable @atlaskit/editor/no-re-export */
3
3
 
4
- export { SyncBlockSharedCssClassName } from './styles/shared/sync-block';
4
+ export { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName } from './styles/shared/sync-block';
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "110.14.0";
17
+ const packageVersion = "110.14.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -85,16 +85,6 @@ export var messages = defineMessages({
85
85
  defaultMessage: 'Display code with syntax highlighting',
86
86
  description: 'Insert a snippet/segment of code (code block)'
87
87
  },
88
- plainTextCodeblock: {
89
- id: 'fabric.editor.plainTextCodeblock',
90
- defaultMessage: 'Plain text',
91
- description: 'Insert a snippet/segment of code block as plain text'
92
- },
93
- plainTextCodeblockDescription: {
94
- id: 'fabric.editor.plainTextCodeblock.description',
95
- defaultMessage: 'Insert code block for plain text',
96
- description: 'Insert a snippet/segment of code block as plain text'
97
- },
98
88
  infoPanel: {
99
89
  id: 'fabric.editor.infoPanel',
100
90
  defaultMessage: 'Info panel',
@@ -14,5 +14,10 @@ export var placeholderTextMessages = defineMessages({
14
14
  id: 'fabric.editor.longEmptyNodePlaceholderText',
15
15
  defaultMessage: 'Type / to insert elements',
16
16
  description: 'Long placeholder text for empty nodes'
17
+ },
18
+ syncBlockPlaceholderText: {
19
+ id: 'fabric.editor.syncBlockPlaceholderText',
20
+ defaultMessage: 'Add content then copy this synced block to access it across spaces',
21
+ description: 'Placeholder text for sync block'
17
22
  }
18
23
  });
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "110.14.0";
10
+ var packageVersion = "110.14.2";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -1,6 +1,14 @@
1
1
  var prefix = 'ak-editor-sync-block';
2
2
  export var SyncBlockSharedCssClassName = {
3
3
  prefix: prefix,
4
- editor: "".concat(prefix, "__editor"),
5
4
  renderer: "".concat(prefix, "__renderer")
5
+ };
6
+ var bodiedPrefix = 'ak-editor-bodied-sync-block';
7
+ export var BodiedSyncBlockSharedCssClassName = {
8
+ prefix: bodiedPrefix,
9
+ content: "".concat(bodiedPrefix, "__content")
10
+ };
11
+ var labelClassName = 'ak-editor-sync-block__label';
12
+ export var SyncBlockLabelSharedCssClassName = {
13
+ labelClassName: labelClassName
6
14
  };
@@ -1,4 +1,4 @@
1
1
  // Disable no-re-export rule for entry point files
2
2
  /* eslint-disable @atlaskit/editor/no-re-export */
3
3
 
4
- export { SyncBlockSharedCssClassName } from './styles/shared/sync-block';
4
+ export { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName } from './styles/shared/sync-block';
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "110.14.0";
24
+ var packageVersion = "110.14.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -42,7 +42,6 @@ type InsertPanelAEP = InsertAEP<ACTION_SUBJECT_ID.PANEL, {
42
42
  }, undefined>;
43
43
  type InsertCodeBlockAEP = InsertAEP<ACTION_SUBJECT_ID.CODE_BLOCK, {
44
44
  inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.INSERT_MENU;
45
- language?: string;
46
45
  }, undefined>;
47
46
  type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
48
47
  inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.PICKER | INPUT_METHOD.SHORTCUT;
@@ -84,16 +84,6 @@ export declare const messages: {
84
84
  defaultMessage: string;
85
85
  description: string;
86
86
  };
87
- plainTextCodeblock: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- plainTextCodeblockDescription: {
93
- id: string;
94
- defaultMessage: string;
95
- description: string;
96
- };
97
87
  infoPanel: {
98
88
  id: string;
99
89
  defaultMessage: string;
@@ -14,4 +14,9 @@ export declare const placeholderTextMessages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ syncBlockPlaceholderText: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  };
@@ -5,7 +5,7 @@ import type { TypeAheadItem } from '../types/type-ahead';
5
5
  export type QuickInsertActionInsert = (node?: Node | Record<string, any> | string, opts?: {
6
6
  selectInlineNode?: boolean;
7
7
  }) => Transaction;
8
- export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout' | 'syncBlock' | 'plainText';
8
+ export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout' | 'syncBlock';
9
9
  export type QuickInsertItem = TypeAheadItem & {
10
10
  /**
11
11
  * What to do on insert
@@ -1,5 +1,11 @@
1
1
  export declare const SyncBlockSharedCssClassName: {
2
2
  prefix: string;
3
- editor: string;
4
3
  renderer: string;
5
4
  };
5
+ export declare const BodiedSyncBlockSharedCssClassName: {
6
+ prefix: string;
7
+ content: string;
8
+ };
9
+ export declare const SyncBlockLabelSharedCssClassName: {
10
+ labelClassName: string;
11
+ };
@@ -1 +1 @@
1
- export { SyncBlockSharedCssClassName } from './styles/shared/sync-block';
1
+ export { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, } from './styles/shared/sync-block';
@@ -1,2 +1,2 @@
1
1
  export type EditorAppearance = 'comment' | 'full-page' | 'full-width' | 'chromeless';
2
- export type EditorContentMode = 'standard' | 'dense';
2
+ export type EditorContentMode = 'standard' | 'dense' | 'compact';
@@ -42,7 +42,6 @@ type InsertPanelAEP = InsertAEP<ACTION_SUBJECT_ID.PANEL, {
42
42
  }, undefined>;
43
43
  type InsertCodeBlockAEP = InsertAEP<ACTION_SUBJECT_ID.CODE_BLOCK, {
44
44
  inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.INSERT_MENU;
45
- language?: string;
46
45
  }, undefined>;
47
46
  type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
48
47
  inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.PICKER | INPUT_METHOD.SHORTCUT;
@@ -84,16 +84,6 @@ export declare const messages: {
84
84
  defaultMessage: string;
85
85
  description: string;
86
86
  };
87
- plainTextCodeblock: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- plainTextCodeblockDescription: {
93
- id: string;
94
- defaultMessage: string;
95
- description: string;
96
- };
97
87
  infoPanel: {
98
88
  id: string;
99
89
  defaultMessage: string;
@@ -14,4 +14,9 @@ export declare const placeholderTextMessages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ syncBlockPlaceholderText: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  };
@@ -5,7 +5,7 @@ import type { TypeAheadItem } from '../types/type-ahead';
5
5
  export type QuickInsertActionInsert = (node?: Node | Record<string, any> | string, opts?: {
6
6
  selectInlineNode?: boolean;
7
7
  }) => Transaction;
8
- export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout' | 'syncBlock' | 'plainText';
8
+ export type QuickInsertItemId = 'hyperlink' | 'table' | 'helpdialog' | 'date' | 'media' | 'media-insert' | 'blockquote' | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6' | 'codeblock' | 'unorderedList' | 'feedbackdialog' | 'orderedList' | 'rule' | 'status' | 'mention' | 'emoji' | 'action' | 'decision' | 'infopanel' | 'notepanel' | 'successpanel' | 'warningpanel' | 'errorpanel' | 'custompanel' | 'layout' | 'expand' | 'placeholderText' | 'datasource' | 'loom' | 'onecolumnlayout' | 'twocolumnslayout' | 'threecolumnslayout' | 'fourcolumnslayout' | 'fivecolumnslayout' | 'syncBlock';
9
9
  export type QuickInsertItem = TypeAheadItem & {
10
10
  /**
11
11
  * What to do on insert
@@ -1,5 +1,11 @@
1
1
  export declare const SyncBlockSharedCssClassName: {
2
2
  prefix: string;
3
- editor: string;
4
3
  renderer: string;
5
4
  };
5
+ export declare const BodiedSyncBlockSharedCssClassName: {
6
+ prefix: string;
7
+ content: string;
8
+ };
9
+ export declare const SyncBlockLabelSharedCssClassName: {
10
+ labelClassName: string;
11
+ };
@@ -1 +1 @@
1
- export { SyncBlockSharedCssClassName } from './styles/shared/sync-block';
1
+ export { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName, SyncBlockLabelSharedCssClassName, } from './styles/shared/sync-block';
@@ -1,2 +1,2 @@
1
1
  export type EditorAppearance = 'comment' | 'full-page' | 'full-width' | 'chromeless';
2
- export type EditorContentMode = 'standard' | 'dense';
2
+ export type EditorContentMode = 'standard' | 'dense' | 'compact';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.14.1",
3
+ "version": "110.15.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -82,7 +82,7 @@
82
82
  "@atlaskit/task-decision": "^19.2.0",
83
83
  "@atlaskit/textfield": "^8.0.0",
84
84
  "@atlaskit/theme": "^21.0.0",
85
- "@atlaskit/tmp-editor-statsig": "^13.13.0",
85
+ "@atlaskit/tmp-editor-statsig": "^13.14.0",
86
86
  "@atlaskit/tokens": "^7.0.0",
87
87
  "@atlaskit/tooltip": "^20.6.0",
88
88
  "@atlaskit/width-detector": "^5.0.0",