@atlaskit/editor-common 110.14.2 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
3
16
  ## 110.14.2
4
17
 
5
18
  ### 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',
@@ -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.1";
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
@@ -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.1";
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',
@@ -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.1";
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
@@ -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.1";
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',
@@ -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.1";
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
@@ -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.1";
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;
@@ -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,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;
@@ -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,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.2",
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",