@atlaskit/editor-common 110.24.0 → 110.24.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,18 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 110.24.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 110.24.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`ca454ed251e1e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ca454ed251e1e) -
14
+ Add table height analytics
15
+
3
16
  ## 110.24.0
4
17
 
5
18
  ### Minor Changes
@@ -45,6 +45,8 @@ var TABLE_ACTION = exports.TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
45
45
  // Temporary to track usage of CONFCLOUD-78239 bug
46
46
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
47
47
  TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
48
+ TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
49
+ TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
48
50
  return TABLE_ACTION;
49
51
  }({});
50
52
  var TABLE_BREAKOUT = exports.TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
@@ -93,12 +93,12 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
93
93
  },
94
94
  deleteConfirmationModalCancelButton: {
95
95
  id: 'fabric.editor.deleteConfirmationModalCancelButton',
96
- defaultMessage: "Cancel",
96
+ defaultMessage: 'Cancel',
97
97
  description: 'Text on button which cancels deleting when user was trying to delete source synced block'
98
98
  },
99
99
  deleteConfirmationModalDeleteButton: {
100
100
  id: 'fabric.editor.deleteConfirmationModalDeleteButton',
101
- defaultMessage: "Delete",
101
+ defaultMessage: 'Delete',
102
102
  description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
103
103
  },
104
104
  deleteConfirmationModalDescription: {
@@ -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.23.0";
19
+ var packageVersion = "110.24.1";
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.23.0";
27
+ var packageVersion = "110.24.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -39,6 +39,8 @@ export let TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
39
39
  // Temporary to track usage of CONFCLOUD-78239 bug
40
40
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
41
41
  TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
42
+ TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
43
+ TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
42
44
  return TABLE_ACTION;
43
45
  }({});
44
46
  export let TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
@@ -87,12 +87,12 @@ export const syncBlockMessages = defineMessages({
87
87
  },
88
88
  deleteConfirmationModalCancelButton: {
89
89
  id: 'fabric.editor.deleteConfirmationModalCancelButton',
90
- defaultMessage: "Cancel",
90
+ defaultMessage: 'Cancel',
91
91
  description: 'Text on button which cancels deleting when user was trying to delete source synced block'
92
92
  },
93
93
  deleteConfirmationModalDeleteButton: {
94
94
  id: 'fabric.editor.deleteConfirmationModalDeleteButton',
95
- defaultMessage: "Delete",
95
+ defaultMessage: 'Delete',
96
96
  description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
97
97
  },
98
98
  deleteConfirmationModalDescription: {
@@ -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.23.0";
4
+ const packageVersion = "110.24.1";
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.23.0";
17
+ const packageVersion = "110.24.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -39,6 +39,8 @@ export var TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
39
39
  // Temporary to track usage of CONFCLOUD-78239 bug
40
40
  TABLE_ACTION["TABLE_CELL_BACKGROUND_FIXED"] = "tableCellBackgroundFixed";
41
41
  TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
42
+ TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
43
+ TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
42
44
  return TABLE_ACTION;
43
45
  }({});
44
46
  export var TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
@@ -87,12 +87,12 @@ export var syncBlockMessages = defineMessages({
87
87
  },
88
88
  deleteConfirmationModalCancelButton: {
89
89
  id: 'fabric.editor.deleteConfirmationModalCancelButton',
90
- defaultMessage: "Cancel",
90
+ defaultMessage: 'Cancel',
91
91
  description: 'Text on button which cancels deleting when user was trying to delete source synced block'
92
92
  },
93
93
  deleteConfirmationModalDeleteButton: {
94
94
  id: 'fabric.editor.deleteConfirmationModalDeleteButton',
95
- defaultMessage: "Delete",
95
+ defaultMessage: 'Delete',
96
96
  description: 'Text on button which confirms deleting the sync block when user was trying to delete source synced block'
97
97
  },
98
98
  deleteConfirmationModalDescription: {
@@ -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.23.0";
10
+ var packageVersion = "110.24.1";
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.23.0";
24
+ var packageVersion = "110.24.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -41,7 +41,9 @@ export declare enum TABLE_ACTION {
41
41
  CHANGED_DISPLAY_MODE = "changedDisplayMode",
42
42
  CHANGED_ALIGNMENT = "changedAlignment",
43
43
  TABLE_CELL_BACKGROUND_FIXED = "tableCellBackgroundFixed",
44
- TABLE_WIDTH_INFO = "tableWidthInformation"
44
+ TABLE_WIDTH_INFO = "tableWidthInformation",
45
+ TABLE_EDITOR_HEIGHT_INFO = "tableEditorHeightInformation",
46
+ TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation"
45
47
  }
46
48
  export declare enum TABLE_BREAKOUT {
47
49
  WIDE = "wide",
@@ -220,5 +222,14 @@ type TableWidthInfoAEP = TableAEP<TABLE_ACTION.TABLE_WIDTH_INFO, {
220
222
  tableWidth: number;
221
223
  }>;
222
224
  }, undefined>;
223
- export type TableEventPayload = TableDeleteAEP | TableClearAEP | TableMergeSplitAEP | TableColorAEP | TableToggleHeaderAEP | TableChangeBreakoutAEP | TableCopyAndCutAEP | TableAddRowOrColumnAEP | TableSortColumnAEP | TableDeleteRowOrColumnAEP | TableReplaceAEP | TableAttemptedResizeAEP | TableDistributeColumnsWidthsAEP | TableCollapsedAEP | TableFixedAEP | TableOverflowChangedAEP | TableInitialOverflowCapturedAEP | TableResizedAEP | TableResizePerfSamplingAEP | TableRowOrColumnMovedAEP | TableMovedRowOrColumnAEP | TableClonedRowOrColumnAEP | TableChangedDisplayModeAEP | TableColumnResizedAEP | TableBackgroundColorFixAEP | TableChangedAlignmentAEP | TableWidthInfoAEP;
225
+ type TableHeightInfoAEP = TableAEP<TABLE_ACTION.TABLE_EDITOR_HEIGHT_INFO, {
226
+ editorScrollParentClientHeight: number;
227
+ isEditorScrollable: boolean;
228
+ maxTableToEditorHeightRatio: number;
229
+ tableHeightInfo: Array<{
230
+ isNestedTable: boolean;
231
+ tableHeight: number;
232
+ }>;
233
+ }, undefined>;
234
+ export type TableEventPayload = TableDeleteAEP | TableClearAEP | TableMergeSplitAEP | TableColorAEP | TableToggleHeaderAEP | TableChangeBreakoutAEP | TableCopyAndCutAEP | TableAddRowOrColumnAEP | TableSortColumnAEP | TableDeleteRowOrColumnAEP | TableReplaceAEP | TableAttemptedResizeAEP | TableDistributeColumnsWidthsAEP | TableCollapsedAEP | TableFixedAEP | TableOverflowChangedAEP | TableInitialOverflowCapturedAEP | TableResizedAEP | TableResizePerfSamplingAEP | TableRowOrColumnMovedAEP | TableMovedRowOrColumnAEP | TableClonedRowOrColumnAEP | TableChangedDisplayModeAEP | TableColumnResizedAEP | TableBackgroundColorFixAEP | TableChangedAlignmentAEP | TableWidthInfoAEP | TableHeightInfoAEP;
224
235
  export {};
@@ -41,7 +41,9 @@ export declare enum TABLE_ACTION {
41
41
  CHANGED_DISPLAY_MODE = "changedDisplayMode",
42
42
  CHANGED_ALIGNMENT = "changedAlignment",
43
43
  TABLE_CELL_BACKGROUND_FIXED = "tableCellBackgroundFixed",
44
- TABLE_WIDTH_INFO = "tableWidthInformation"
44
+ TABLE_WIDTH_INFO = "tableWidthInformation",
45
+ TABLE_EDITOR_HEIGHT_INFO = "tableEditorHeightInformation",
46
+ TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation"
45
47
  }
46
48
  export declare enum TABLE_BREAKOUT {
47
49
  WIDE = "wide",
@@ -220,5 +222,14 @@ type TableWidthInfoAEP = TableAEP<TABLE_ACTION.TABLE_WIDTH_INFO, {
220
222
  tableWidth: number;
221
223
  }>;
222
224
  }, undefined>;
223
- export type TableEventPayload = TableDeleteAEP | TableClearAEP | TableMergeSplitAEP | TableColorAEP | TableToggleHeaderAEP | TableChangeBreakoutAEP | TableCopyAndCutAEP | TableAddRowOrColumnAEP | TableSortColumnAEP | TableDeleteRowOrColumnAEP | TableReplaceAEP | TableAttemptedResizeAEP | TableDistributeColumnsWidthsAEP | TableCollapsedAEP | TableFixedAEP | TableOverflowChangedAEP | TableInitialOverflowCapturedAEP | TableResizedAEP | TableResizePerfSamplingAEP | TableRowOrColumnMovedAEP | TableMovedRowOrColumnAEP | TableClonedRowOrColumnAEP | TableChangedDisplayModeAEP | TableColumnResizedAEP | TableBackgroundColorFixAEP | TableChangedAlignmentAEP | TableWidthInfoAEP;
225
+ type TableHeightInfoAEP = TableAEP<TABLE_ACTION.TABLE_EDITOR_HEIGHT_INFO, {
226
+ editorScrollParentClientHeight: number;
227
+ isEditorScrollable: boolean;
228
+ maxTableToEditorHeightRatio: number;
229
+ tableHeightInfo: Array<{
230
+ isNestedTable: boolean;
231
+ tableHeight: number;
232
+ }>;
233
+ }, undefined>;
234
+ export type TableEventPayload = TableDeleteAEP | TableClearAEP | TableMergeSplitAEP | TableColorAEP | TableToggleHeaderAEP | TableChangeBreakoutAEP | TableCopyAndCutAEP | TableAddRowOrColumnAEP | TableSortColumnAEP | TableDeleteRowOrColumnAEP | TableReplaceAEP | TableAttemptedResizeAEP | TableDistributeColumnsWidthsAEP | TableCollapsedAEP | TableFixedAEP | TableOverflowChangedAEP | TableInitialOverflowCapturedAEP | TableResizedAEP | TableResizePerfSamplingAEP | TableRowOrColumnMovedAEP | TableMovedRowOrColumnAEP | TableClonedRowOrColumnAEP | TableChangedDisplayModeAEP | TableColumnResizedAEP | TableBackgroundColorFixAEP | TableChangedAlignmentAEP | TableWidthInfoAEP | TableHeightInfoAEP;
224
235
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "110.24.0",
3
+ "version": "110.24.2",
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/"
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/analytics-namespaced-context": "^7.1.0",
38
38
  "@atlaskit/analytics-next": "^11.1.0",
39
39
  "@atlaskit/atlassian-context": "^0.6.0",
40
- "@atlaskit/button": "^23.5.0",
40
+ "@atlaskit/button": "^23.6.0",
41
41
  "@atlaskit/code": "^17.3.0",
42
42
  "@atlaskit/codemod-utils": "^4.2.0",
43
43
  "@atlaskit/css": "^0.15.0",
@@ -82,9 +82,9 @@
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.31.0",
86
- "@atlaskit/tokens": "^7.1.0",
87
- "@atlaskit/tooltip": "^20.7.0",
85
+ "@atlaskit/tmp-editor-statsig": "^13.32.0",
86
+ "@atlaskit/tokens": "^8.0.0",
87
+ "@atlaskit/tooltip": "^20.8.0",
88
88
  "@atlaskit/ufo": "^0.4.0",
89
89
  "@atlaskit/width-detector": "^5.0.0",
90
90
  "@babel/runtime": "^7.0.0",