@atlaskit/editor-common 111.5.0 → 111.6.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 +11 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/analytics/types/table-events.js +1 -0
- package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/sync-block.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/analytics/types/table-events.js +1 -0
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/sync-block.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/analytics/types/table-events.js +1 -0
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/sync-block.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/table-events.d.ts +7 -3
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +7 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`38de936c97015`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38de936c97015) -
|
|
8
|
+
EDITOR-3707 Fire UI event when native/ legacy sticky headers are enabled
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 111.5.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -536,6 +536,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
536
536
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
537
537
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
538
538
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_FETCH"] = "syncedBlockFetch";
|
|
539
|
+
ACTION_SUBJECT_ID["TABLE_STICKY_HEADER"] = "tableStickyHeader";
|
|
539
540
|
return ACTION_SUBJECT_ID;
|
|
540
541
|
}({});
|
|
541
542
|
var FLOATING_CONTROLS_TITLE = exports.FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
|
|
@@ -47,6 +47,7 @@ var TABLE_ACTION = exports.TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
|
|
|
47
47
|
TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
|
|
48
48
|
TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
|
|
49
49
|
TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
|
|
50
|
+
TABLE_ACTION["STICKY_HEADER_METHOD_TOGGLED"] = "stickyHeaderMethodToggled";
|
|
50
51
|
return TABLE_ACTION;
|
|
51
52
|
}({});
|
|
52
53
|
var TABLE_BREAKOUT = exports.TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
|
|
@@ -13,9 +13,9 @@ var _react2 = require("@emotion/react");
|
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
15
15
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
16
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
16
17
|
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
17
18
|
var _linkExternal = _interopRequireDefault(require("@atlaskit/icon/core/link-external"));
|
|
18
|
-
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
19
19
|
var _messages = require("../../messages");
|
|
20
20
|
var _StyledButton = require("./StyledButton");
|
|
21
21
|
var _useLinkOverlayAnalyticsEvents = require("./useLinkOverlayAnalyticsEvents");
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
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); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "111.
|
|
22
|
+
var packageVersion = "111.5.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -15,7 +15,7 @@ var SyncBlockRendererDataAttributeName = exports.SyncBlockRendererDataAttributeN
|
|
|
15
15
|
var bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
16
16
|
var BodiedSyncBlockSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = {
|
|
17
17
|
prefix: bodiedPrefix,
|
|
18
|
-
renderer: "".concat(
|
|
18
|
+
renderer: "".concat(bodiedPrefix, "__renderer"),
|
|
19
19
|
content: "".concat(bodiedPrefix, "__content"),
|
|
20
20
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
21
21
|
};
|
|
@@ -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 = "111.
|
|
27
|
+
var packageVersion = "111.5.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -530,6 +530,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
530
530
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
531
531
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
532
532
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_FETCH"] = "syncedBlockFetch";
|
|
533
|
+
ACTION_SUBJECT_ID["TABLE_STICKY_HEADER"] = "tableStickyHeader";
|
|
533
534
|
return ACTION_SUBJECT_ID;
|
|
534
535
|
}({});
|
|
535
536
|
export let FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
|
|
@@ -41,6 +41,7 @@ export let TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
|
|
|
41
41
|
TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
|
|
42
42
|
TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
|
|
43
43
|
TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
|
|
44
|
+
TABLE_ACTION["STICKY_HEADER_METHOD_TOGGLED"] = "stickyHeaderMethodToggled";
|
|
44
45
|
return TABLE_ACTION;
|
|
45
46
|
}({});
|
|
46
47
|
export let TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
|
|
@@ -10,9 +10,9 @@ import { jsx } from '@emotion/react';
|
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
12
12
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
13
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
13
14
|
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
14
15
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
15
|
-
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
16
16
|
import { cardMessages as messages } from '../../messages';
|
|
17
17
|
import { StyledButton } from './StyledButton';
|
|
18
18
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "111.
|
|
7
|
+
const packageVersion = "111.5.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -9,7 +9,7 @@ export const SyncBlockRendererDataAttributeName = 'data-sync-block-renderer';
|
|
|
9
9
|
const bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
10
10
|
export const BodiedSyncBlockSharedCssClassName = {
|
|
11
11
|
prefix: bodiedPrefix,
|
|
12
|
-
renderer: `${
|
|
12
|
+
renderer: `${bodiedPrefix}__renderer`,
|
|
13
13
|
content: `${bodiedPrefix}__content`,
|
|
14
14
|
selectionInside: `${bodiedPrefix}__selection_inside`
|
|
15
15
|
};
|
|
@@ -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 = "111.
|
|
17
|
+
const packageVersion = "111.5.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -530,6 +530,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
530
530
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_DELETE"] = "syncedBlockDelete";
|
|
531
531
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_GET_SOURCE_INFO"] = "syncedBlockGetSourceInfo";
|
|
532
532
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_FETCH"] = "syncedBlockFetch";
|
|
533
|
+
ACTION_SUBJECT_ID["TABLE_STICKY_HEADER"] = "tableStickyHeader";
|
|
533
534
|
return ACTION_SUBJECT_ID;
|
|
534
535
|
}({});
|
|
535
536
|
export var FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
|
|
@@ -41,6 +41,7 @@ export var TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
|
|
|
41
41
|
TABLE_ACTION["TABLE_WIDTH_INFO"] = "tableWidthInformation";
|
|
42
42
|
TABLE_ACTION["TABLE_EDITOR_HEIGHT_INFO"] = "tableEditorHeightInformation";
|
|
43
43
|
TABLE_ACTION["TABLE_RENDERER_HEIGHT_INFO"] = "tableRendererHeightInformation";
|
|
44
|
+
TABLE_ACTION["STICKY_HEADER_METHOD_TOGGLED"] = "stickyHeaderMethodToggled";
|
|
44
45
|
return TABLE_ACTION;
|
|
45
46
|
}({});
|
|
46
47
|
export var TABLE_BREAKOUT = /*#__PURE__*/function (TABLE_BREAKOUT) {
|
|
@@ -12,9 +12,9 @@ import { jsx } from '@emotion/react';
|
|
|
12
12
|
import { useIntl } from 'react-intl-next';
|
|
13
13
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
14
14
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
15
|
+
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
15
16
|
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
16
17
|
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
17
|
-
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
18
18
|
import { cardMessages as messages } from '../../messages';
|
|
19
19
|
import { StyledButton } from './StyledButton';
|
|
20
20
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "111.
|
|
13
|
+
var packageVersion = "111.5.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -9,7 +9,7 @@ export var SyncBlockRendererDataAttributeName = 'data-sync-block-renderer';
|
|
|
9
9
|
var bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
10
10
|
export var BodiedSyncBlockSharedCssClassName = {
|
|
11
11
|
prefix: bodiedPrefix,
|
|
12
|
-
renderer: "".concat(
|
|
12
|
+
renderer: "".concat(bodiedPrefix, "__renderer"),
|
|
13
13
|
content: "".concat(bodiedPrefix, "__content"),
|
|
14
14
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
15
15
|
};
|
|
@@ -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 = "111.
|
|
24
|
+
var packageVersion = "111.5.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -521,7 +521,8 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
521
521
|
REFERENCE_SYNCED_BLOCK_CREATE = "referenceSyncedBlockCreate",
|
|
522
522
|
SYNCED_BLOCK_DELETE = "syncedBlockDelete",
|
|
523
523
|
SYNCED_BLOCK_GET_SOURCE_INFO = "syncedBlockGetSourceInfo",
|
|
524
|
-
SYNCED_BLOCK_FETCH = "syncedBlockFetch"
|
|
524
|
+
SYNCED_BLOCK_FETCH = "syncedBlockFetch",
|
|
525
|
+
TABLE_STICKY_HEADER = "tableStickyHeader"
|
|
525
526
|
}
|
|
526
527
|
export declare enum FLOATING_CONTROLS_TITLE {
|
|
527
528
|
CODE_BLOCK = "codeBlockFloatingControls",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
2
2
|
import type { EditorBreakpointKey } from '../../utils/analytics';
|
|
3
|
-
import type { ACTION_SUBJECT, INPUT_METHOD } from './enums';
|
|
3
|
+
import type { ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
|
|
4
4
|
import type { OperationalAEP, TableAEP, UIAEP } from './utils';
|
|
5
5
|
export declare enum TABLE_ACTION {
|
|
6
6
|
DELETED = "deleted",
|
|
@@ -43,7 +43,8 @@ export declare enum TABLE_ACTION {
|
|
|
43
43
|
TABLE_CELL_BACKGROUND_FIXED = "tableCellBackgroundFixed",
|
|
44
44
|
TABLE_WIDTH_INFO = "tableWidthInformation",
|
|
45
45
|
TABLE_EDITOR_HEIGHT_INFO = "tableEditorHeightInformation",
|
|
46
|
-
TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation"
|
|
46
|
+
TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation",
|
|
47
|
+
STICKY_HEADER_METHOD_TOGGLED = "stickyHeaderMethodToggled"
|
|
47
48
|
}
|
|
48
49
|
export declare enum TABLE_BREAKOUT {
|
|
49
50
|
WIDE = "wide",
|
|
@@ -231,5 +232,8 @@ type TableHeightInfoAEP = TableAEP<TABLE_ACTION.TABLE_EDITOR_HEIGHT_INFO, {
|
|
|
231
232
|
tableHeight: number;
|
|
232
233
|
}>;
|
|
233
234
|
}, undefined>;
|
|
234
|
-
|
|
235
|
+
type TableStickyHeaderEnabledAEP = UIAEP<TABLE_ACTION.STICKY_HEADER_METHOD_TOGGLED, ACTION_SUBJECT.TABLE, ACTION_SUBJECT_ID.TABLE_STICKY_HEADER, {
|
|
236
|
+
nativeStickyHeaderEnabled: boolean;
|
|
237
|
+
}, undefined>;
|
|
238
|
+
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 | TableStickyHeaderEnabledAEP;
|
|
235
239
|
export {};
|
|
@@ -521,7 +521,8 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
521
521
|
REFERENCE_SYNCED_BLOCK_CREATE = "referenceSyncedBlockCreate",
|
|
522
522
|
SYNCED_BLOCK_DELETE = "syncedBlockDelete",
|
|
523
523
|
SYNCED_BLOCK_GET_SOURCE_INFO = "syncedBlockGetSourceInfo",
|
|
524
|
-
SYNCED_BLOCK_FETCH = "syncedBlockFetch"
|
|
524
|
+
SYNCED_BLOCK_FETCH = "syncedBlockFetch",
|
|
525
|
+
TABLE_STICKY_HEADER = "tableStickyHeader"
|
|
525
526
|
}
|
|
526
527
|
export declare enum FLOATING_CONTROLS_TITLE {
|
|
527
528
|
CODE_BLOCK = "codeBlockFloatingControls",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TableSortOrder as SortOrder } from '@atlaskit/custom-steps';
|
|
2
2
|
import type { EditorBreakpointKey } from '../../utils/analytics';
|
|
3
|
-
import type { ACTION_SUBJECT, INPUT_METHOD } from './enums';
|
|
3
|
+
import type { ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
|
|
4
4
|
import type { OperationalAEP, TableAEP, UIAEP } from './utils';
|
|
5
5
|
export declare enum TABLE_ACTION {
|
|
6
6
|
DELETED = "deleted",
|
|
@@ -43,7 +43,8 @@ export declare enum TABLE_ACTION {
|
|
|
43
43
|
TABLE_CELL_BACKGROUND_FIXED = "tableCellBackgroundFixed",
|
|
44
44
|
TABLE_WIDTH_INFO = "tableWidthInformation",
|
|
45
45
|
TABLE_EDITOR_HEIGHT_INFO = "tableEditorHeightInformation",
|
|
46
|
-
TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation"
|
|
46
|
+
TABLE_RENDERER_HEIGHT_INFO = "tableRendererHeightInformation",
|
|
47
|
+
STICKY_HEADER_METHOD_TOGGLED = "stickyHeaderMethodToggled"
|
|
47
48
|
}
|
|
48
49
|
export declare enum TABLE_BREAKOUT {
|
|
49
50
|
WIDE = "wide",
|
|
@@ -231,5 +232,8 @@ type TableHeightInfoAEP = TableAEP<TABLE_ACTION.TABLE_EDITOR_HEIGHT_INFO, {
|
|
|
231
232
|
tableHeight: number;
|
|
232
233
|
}>;
|
|
233
234
|
}, undefined>;
|
|
234
|
-
|
|
235
|
+
type TableStickyHeaderEnabledAEP = UIAEP<TABLE_ACTION.STICKY_HEADER_METHOD_TOGGLED, ACTION_SUBJECT.TABLE, ACTION_SUBJECT_ID.TABLE_STICKY_HEADER, {
|
|
236
|
+
nativeStickyHeaderEnabled: boolean;
|
|
237
|
+
}, undefined>;
|
|
238
|
+
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 | TableStickyHeaderEnabledAEP;
|
|
235
239
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.
|
|
3
|
+
"version": "111.6.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/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^69.9.0",
|
|
53
|
-
"@atlaskit/icon": "^29.
|
|
53
|
+
"@atlaskit/icon": "^29.4.0",
|
|
54
54
|
"@atlaskit/icon-object": "^7.4.0",
|
|
55
55
|
"@atlaskit/link": "^3.3.0",
|
|
56
56
|
"@atlaskit/link-datasource": "^4.31.0",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@atlaskit/react-ufo": "^4.16.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.11.0",
|
|
77
77
|
"@atlaskit/smart-card": "^43.19.0",
|
|
78
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
78
|
+
"@atlaskit/smart-user-picker": "^8.8.0",
|
|
79
79
|
"@atlaskit/spinner": "^19.0.0",
|
|
80
80
|
"@atlaskit/status": "^3.0.0",
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
84
|
"@atlaskit/tmp-editor-statsig": "^16.8.0",
|
|
85
85
|
"@atlaskit/tokens": "^9.1.0",
|
|
86
|
-
"@atlaskit/tooltip": "^20.
|
|
86
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
88
88
|
"@babel/runtime": "^7.0.0",
|
|
89
89
|
"@compiled/react": "^0.18.6",
|