@atlaskit/editor-common 99.13.0 → 99.14.1
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 +27 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +5 -1
- package/dist/cjs/messages/block-controls.js +2 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/index.js +5 -1
- package/dist/es2019/messages/block-controls.js +2 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/index.js +5 -1
- package/dist/esm/messages/block-controls.js +2 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/element-events.d.ts +2 -0
- package/dist/types/analytics/types/insert-events.d.ts +2 -0
- package/dist/types/styles/shared/table.d.ts +19 -19
- package/dist/types-ts4.5/analytics/types/element-events.d.ts +2 -0
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +2 -0
- package/dist/types-ts4.5/styles/shared/table.d.ts +19 -19
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 99.14.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#112186](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/112186)
|
|
8
|
+
[`9462d8ca2405a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9462d8ca2405a) -
|
|
9
|
+
Bump adf-schema to 47.2.1
|
|
10
|
+
|
|
11
|
+
## 99.14.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#109976](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109976)
|
|
16
|
+
[`2f1cbe0e2b32f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2f1cbe0e2b32f) -
|
|
17
|
+
[ED-26272] Update DnD related analytics, e.g. element moved, to reflect multi-select info
|
|
18
|
+
(distinctive types of nodes, whether multiple nodes are selected)
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- [#113907](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113907)
|
|
23
|
+
[`d3e81647325c9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d3e81647325c9) -
|
|
24
|
+
[ED-26503] Treat legacy content macro as any other bodied macro
|
|
25
|
+
- [#113311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113311)
|
|
26
|
+
[`8a101cd92e89a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8a101cd92e89a) -
|
|
27
|
+
Add sticky table wrapper to selector to ensures styles target duplicated table correctly
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
|
|
3
30
|
## 99.13.0
|
|
4
31
|
|
|
5
32
|
### Minor Changes
|
|
@@ -55,7 +55,11 @@ function ExtensionWithPluginState(props) {
|
|
|
55
55
|
isLivePageViewMode = props.isLivePageViewMode;
|
|
56
56
|
var _ref = macroInteractionDesignFeatureFlags || {},
|
|
57
57
|
showMacroInteractionDesignUpdates = _ref.showMacroInteractionDesignUpdates;
|
|
58
|
-
var
|
|
58
|
+
var isLegacyContentMacroExtension = function isLegacyContentMacroExtension(extensionNode) {
|
|
59
|
+
var _extensionNode$attrs, _extensionNode$attrs2;
|
|
60
|
+
return extensionNode.type.name === 'extension' && ((_extensionNode$attrs = extensionNode.attrs) === null || _extensionNode$attrs === void 0 ? void 0 : _extensionNode$attrs.extensionType) === 'com.atlassian.confluence.migration' && ((_extensionNode$attrs2 = extensionNode.attrs) === null || _extensionNode$attrs2 === void 0 ? void 0 : _extensionNode$attrs2.extensionKey) === 'legacy-content';
|
|
61
|
+
};
|
|
62
|
+
var hasBody = ['bodiedExtension', 'multiBodiedExtension'].includes(node.type.name) || isLegacyContentMacroExtension(node) && (0, _platformFeatureFlags.fg)('platform_editor_legacy_content_macro');
|
|
59
63
|
var hasChildren = !!children;
|
|
60
64
|
var removeBorder = showMacroInteractionDesignUpdates || !!(hideFrame && !hasBody);
|
|
61
65
|
var getPos = props.getPos,
|
|
@@ -7,12 +7,12 @@ exports.messages = void 0;
|
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
8
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
dragToMove: {
|
|
10
|
-
id: 'fabric.editor.
|
|
10
|
+
id: 'fabric.editor.blockControlDragHandleMove',
|
|
11
11
|
defaultMessage: 'Drag to move',
|
|
12
12
|
description: 'Use drag handle to move content'
|
|
13
13
|
},
|
|
14
14
|
dragToRearrange: {
|
|
15
|
-
id: 'fabric.editor.
|
|
15
|
+
id: 'fabric.editor.blockControlDragHandleRearrange',
|
|
16
16
|
defaultMessage: 'Drag to rearrange',
|
|
17
17
|
description: 'Use drag handle to rearrange columns'
|
|
18
18
|
},
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "99.
|
|
20
|
+
var packageVersion = "99.14.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "99.
|
|
26
|
+
var packageVersion = "99.14.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -44,7 +44,11 @@ function ExtensionWithPluginState(props) {
|
|
|
44
44
|
const {
|
|
45
45
|
showMacroInteractionDesignUpdates
|
|
46
46
|
} = macroInteractionDesignFeatureFlags || {};
|
|
47
|
-
const
|
|
47
|
+
const isLegacyContentMacroExtension = extensionNode => {
|
|
48
|
+
var _extensionNode$attrs, _extensionNode$attrs2;
|
|
49
|
+
return extensionNode.type.name === 'extension' && ((_extensionNode$attrs = extensionNode.attrs) === null || _extensionNode$attrs === void 0 ? void 0 : _extensionNode$attrs.extensionType) === 'com.atlassian.confluence.migration' && ((_extensionNode$attrs2 = extensionNode.attrs) === null || _extensionNode$attrs2 === void 0 ? void 0 : _extensionNode$attrs2.extensionKey) === 'legacy-content';
|
|
50
|
+
};
|
|
51
|
+
const hasBody = ['bodiedExtension', 'multiBodiedExtension'].includes(node.type.name) || isLegacyContentMacroExtension(node) && fg('platform_editor_legacy_content_macro');
|
|
48
52
|
const hasChildren = !!children;
|
|
49
53
|
const removeBorder = showMacroInteractionDesignUpdates || !!(hideFrame && !hasBody);
|
|
50
54
|
const {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
2
|
export const messages = defineMessages({
|
|
3
3
|
dragToMove: {
|
|
4
|
-
id: 'fabric.editor.
|
|
4
|
+
id: 'fabric.editor.blockControlDragHandleMove',
|
|
5
5
|
defaultMessage: 'Drag to move',
|
|
6
6
|
description: 'Use drag handle to move content'
|
|
7
7
|
},
|
|
8
8
|
dragToRearrange: {
|
|
9
|
-
id: 'fabric.editor.
|
|
9
|
+
id: 'fabric.editor.blockControlDragHandleRearrange',
|
|
10
10
|
defaultMessage: 'Drag to rearrange',
|
|
11
11
|
description: 'Use drag handle to rearrange columns'
|
|
12
12
|
},
|
|
@@ -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 = "99.
|
|
4
|
+
const packageVersion = "99.14.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "99.
|
|
16
|
+
const packageVersion = "99.14.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -47,7 +47,11 @@ function ExtensionWithPluginState(props) {
|
|
|
47
47
|
isLivePageViewMode = props.isLivePageViewMode;
|
|
48
48
|
var _ref = macroInteractionDesignFeatureFlags || {},
|
|
49
49
|
showMacroInteractionDesignUpdates = _ref.showMacroInteractionDesignUpdates;
|
|
50
|
-
var
|
|
50
|
+
var isLegacyContentMacroExtension = function isLegacyContentMacroExtension(extensionNode) {
|
|
51
|
+
var _extensionNode$attrs, _extensionNode$attrs2;
|
|
52
|
+
return extensionNode.type.name === 'extension' && ((_extensionNode$attrs = extensionNode.attrs) === null || _extensionNode$attrs === void 0 ? void 0 : _extensionNode$attrs.extensionType) === 'com.atlassian.confluence.migration' && ((_extensionNode$attrs2 = extensionNode.attrs) === null || _extensionNode$attrs2 === void 0 ? void 0 : _extensionNode$attrs2.extensionKey) === 'legacy-content';
|
|
53
|
+
};
|
|
54
|
+
var hasBody = ['bodiedExtension', 'multiBodiedExtension'].includes(node.type.name) || isLegacyContentMacroExtension(node) && fg('platform_editor_legacy_content_macro');
|
|
51
55
|
var hasChildren = !!children;
|
|
52
56
|
var removeBorder = showMacroInteractionDesignUpdates || !!(hideFrame && !hasBody);
|
|
53
57
|
var getPos = props.getPos,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
2
|
export var messages = defineMessages({
|
|
3
3
|
dragToMove: {
|
|
4
|
-
id: 'fabric.editor.
|
|
4
|
+
id: 'fabric.editor.blockControlDragHandleMove',
|
|
5
5
|
defaultMessage: 'Drag to move',
|
|
6
6
|
description: 'Use drag handle to move content'
|
|
7
7
|
},
|
|
8
8
|
dragToRearrange: {
|
|
9
|
-
id: 'fabric.editor.
|
|
9
|
+
id: 'fabric.editor.blockControlDragHandleRearrange',
|
|
10
10
|
defaultMessage: 'Drag to rearrange',
|
|
11
11
|
description: 'Use drag handle to rearrange columns'
|
|
12
12
|
},
|
|
@@ -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 = "99.
|
|
10
|
+
var packageVersion = "99.14.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "99.
|
|
23
|
+
var packageVersion = "99.14.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -7,6 +7,8 @@ type ElementAttributes = {
|
|
|
7
7
|
destinationNodeType?: string;
|
|
8
8
|
isSameParent?: boolean;
|
|
9
9
|
inputMethod?: string;
|
|
10
|
+
nodeTypes?: string;
|
|
11
|
+
hasSelectedMultipleNodes?: boolean;
|
|
10
12
|
};
|
|
11
13
|
type ElementMovedAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
|
|
12
14
|
type ElementDragAEP = UIAEP<ACTION.DRAGGED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
|
|
@@ -106,6 +106,8 @@ type InsertMediaLinkAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA_LINK, {
|
|
|
106
106
|
}, undefined>;
|
|
107
107
|
type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
108
108
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.DRAG_AND_DROP;
|
|
109
|
+
nodeTypes?: string;
|
|
110
|
+
hasSelectedMultipleNodes?: boolean;
|
|
109
111
|
}, undefined>;
|
|
110
112
|
type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
111
113
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
@@ -9,25 +9,25 @@ export declare const tableCellBorderWidth = 1;
|
|
|
9
9
|
export declare const tableCellPadding = 8;
|
|
10
10
|
export declare const tableResizeHandleWidth = 6;
|
|
11
11
|
export declare const TableSharedCssClassName: {
|
|
12
|
-
TABLE_CONTAINER:
|
|
13
|
-
TABLE_NODE_WRAPPER:
|
|
14
|
-
TABLE_LEFT_SHADOW:
|
|
15
|
-
TABLE_RIGHT_SHADOW:
|
|
16
|
-
TABLE_STICKY_SHADOW:
|
|
17
|
-
TABLE_STICKY_WRAPPER:
|
|
18
|
-
TABLE_STICKY_SCROLLBAR_CONTAINER:
|
|
19
|
-
TABLE_STICKY_SENTINEL_TOP:
|
|
20
|
-
TABLE_STICKY_SENTINEL_BOTTOM:
|
|
21
|
-
TABLE_STICKY_SCROLLBAR_SENTINEL_TOP:
|
|
22
|
-
TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM:
|
|
23
|
-
TABLE_SHADOW_SENTINEL_LEFT:
|
|
24
|
-
TABLE_SHADOW_SENTINEL_RIGHT:
|
|
25
|
-
TABLE_CELL_NODEVIEW_CONTENT_DOM:
|
|
26
|
-
TABLE_CELL_WRAPPER:
|
|
27
|
-
TABLE_HEADER_CELL_WRAPPER:
|
|
28
|
-
TABLE_ROW_CONTROLS_WRAPPER:
|
|
29
|
-
TABLE_COLUMN_CONTROLS_DECORATIONS:
|
|
30
|
-
TABLE_RESIZER_CONTAINER:
|
|
12
|
+
readonly TABLE_CONTAINER: "pm-table-container";
|
|
13
|
+
readonly TABLE_NODE_WRAPPER: "pm-table-wrapper";
|
|
14
|
+
readonly TABLE_LEFT_SHADOW: "pm-table-with-left-shadow";
|
|
15
|
+
readonly TABLE_RIGHT_SHADOW: "pm-table-with-right-shadow";
|
|
16
|
+
readonly TABLE_STICKY_SHADOW: "pm-table-sticky-shadow";
|
|
17
|
+
readonly TABLE_STICKY_WRAPPER: "pm-table-sticky-wrapper";
|
|
18
|
+
readonly TABLE_STICKY_SCROLLBAR_CONTAINER: "pm-table-sticky-scrollbar-container";
|
|
19
|
+
readonly TABLE_STICKY_SENTINEL_TOP: "pm-table-sticky-sentinel-top";
|
|
20
|
+
readonly TABLE_STICKY_SENTINEL_BOTTOM: "pm-table-sticky-sentinel-bottom";
|
|
21
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: "pm-table-sticky-scrollbar-sentinel-top";
|
|
22
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: "pm-table-sticky-scrollbar-sentinel-bottom";
|
|
23
|
+
readonly TABLE_SHADOW_SENTINEL_LEFT: "pm-table-shadow-sentinel-left";
|
|
24
|
+
readonly TABLE_SHADOW_SENTINEL_RIGHT: "pm-table-shadow-sentinel-right";
|
|
25
|
+
readonly TABLE_CELL_NODEVIEW_CONTENT_DOM: "pm-table-cell-nodeview-content-dom";
|
|
26
|
+
readonly TABLE_CELL_WRAPPER: "pm-table-cell-content-wrap";
|
|
27
|
+
readonly TABLE_HEADER_CELL_WRAPPER: "pm-table-header-content-wrap";
|
|
28
|
+
readonly TABLE_ROW_CONTROLS_WRAPPER: "pm-table-row-controls-wrapper";
|
|
29
|
+
readonly TABLE_COLUMN_CONTROLS_DECORATIONS: "pm-table-column-controls-decoration";
|
|
30
|
+
readonly TABLE_RESIZER_CONTAINER: "pm-table-resizer-container";
|
|
31
31
|
};
|
|
32
32
|
declare const tableSharedStyle: () => import("@emotion/react").SerializedStyles;
|
|
33
33
|
export declare const calcTableWidth: (layout: TableLayout, containerWidth?: number, addControllerPadding?: boolean) => number | 'inherit';
|
|
@@ -7,6 +7,8 @@ type ElementAttributes = {
|
|
|
7
7
|
destinationNodeType?: string;
|
|
8
8
|
isSameParent?: boolean;
|
|
9
9
|
inputMethod?: string;
|
|
10
|
+
nodeTypes?: string;
|
|
11
|
+
hasSelectedMultipleNodes?: boolean;
|
|
10
12
|
};
|
|
11
13
|
type ElementMovedAEP = TrackAEP<ACTION.MOVED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
|
|
12
14
|
type ElementDragAEP = UIAEP<ACTION.DRAGGED, ACTION_SUBJECT.ELEMENT, ACTION_SUBJECT_ID.ELEMENT_DRAG_HANDLE, ElementAttributes, null>;
|
|
@@ -106,6 +106,8 @@ type InsertMediaLinkAEP = InsertAEP<ACTION_SUBJECT_ID.MEDIA_LINK, {
|
|
|
106
106
|
}, undefined>;
|
|
107
107
|
type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
108
108
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.DRAG_AND_DROP;
|
|
109
|
+
nodeTypes?: string;
|
|
110
|
+
hasSelectedMultipleNodes?: boolean;
|
|
109
111
|
}, undefined>;
|
|
110
112
|
type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
111
113
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
@@ -9,25 +9,25 @@ export declare const tableCellBorderWidth = 1;
|
|
|
9
9
|
export declare const tableCellPadding = 8;
|
|
10
10
|
export declare const tableResizeHandleWidth = 6;
|
|
11
11
|
export declare const TableSharedCssClassName: {
|
|
12
|
-
TABLE_CONTAINER:
|
|
13
|
-
TABLE_NODE_WRAPPER:
|
|
14
|
-
TABLE_LEFT_SHADOW:
|
|
15
|
-
TABLE_RIGHT_SHADOW:
|
|
16
|
-
TABLE_STICKY_SHADOW:
|
|
17
|
-
TABLE_STICKY_WRAPPER:
|
|
18
|
-
TABLE_STICKY_SCROLLBAR_CONTAINER:
|
|
19
|
-
TABLE_STICKY_SENTINEL_TOP:
|
|
20
|
-
TABLE_STICKY_SENTINEL_BOTTOM:
|
|
21
|
-
TABLE_STICKY_SCROLLBAR_SENTINEL_TOP:
|
|
22
|
-
TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM:
|
|
23
|
-
TABLE_SHADOW_SENTINEL_LEFT:
|
|
24
|
-
TABLE_SHADOW_SENTINEL_RIGHT:
|
|
25
|
-
TABLE_CELL_NODEVIEW_CONTENT_DOM:
|
|
26
|
-
TABLE_CELL_WRAPPER:
|
|
27
|
-
TABLE_HEADER_CELL_WRAPPER:
|
|
28
|
-
TABLE_ROW_CONTROLS_WRAPPER:
|
|
29
|
-
TABLE_COLUMN_CONTROLS_DECORATIONS:
|
|
30
|
-
TABLE_RESIZER_CONTAINER:
|
|
12
|
+
readonly TABLE_CONTAINER: "pm-table-container";
|
|
13
|
+
readonly TABLE_NODE_WRAPPER: "pm-table-wrapper";
|
|
14
|
+
readonly TABLE_LEFT_SHADOW: "pm-table-with-left-shadow";
|
|
15
|
+
readonly TABLE_RIGHT_SHADOW: "pm-table-with-right-shadow";
|
|
16
|
+
readonly TABLE_STICKY_SHADOW: "pm-table-sticky-shadow";
|
|
17
|
+
readonly TABLE_STICKY_WRAPPER: "pm-table-sticky-wrapper";
|
|
18
|
+
readonly TABLE_STICKY_SCROLLBAR_CONTAINER: "pm-table-sticky-scrollbar-container";
|
|
19
|
+
readonly TABLE_STICKY_SENTINEL_TOP: "pm-table-sticky-sentinel-top";
|
|
20
|
+
readonly TABLE_STICKY_SENTINEL_BOTTOM: "pm-table-sticky-sentinel-bottom";
|
|
21
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_TOP: "pm-table-sticky-scrollbar-sentinel-top";
|
|
22
|
+
readonly TABLE_STICKY_SCROLLBAR_SENTINEL_BOTTOM: "pm-table-sticky-scrollbar-sentinel-bottom";
|
|
23
|
+
readonly TABLE_SHADOW_SENTINEL_LEFT: "pm-table-shadow-sentinel-left";
|
|
24
|
+
readonly TABLE_SHADOW_SENTINEL_RIGHT: "pm-table-shadow-sentinel-right";
|
|
25
|
+
readonly TABLE_CELL_NODEVIEW_CONTENT_DOM: "pm-table-cell-nodeview-content-dom";
|
|
26
|
+
readonly TABLE_CELL_WRAPPER: "pm-table-cell-content-wrap";
|
|
27
|
+
readonly TABLE_HEADER_CELL_WRAPPER: "pm-table-header-content-wrap";
|
|
28
|
+
readonly TABLE_ROW_CONTROLS_WRAPPER: "pm-table-row-controls-wrapper";
|
|
29
|
+
readonly TABLE_COLUMN_CONTROLS_DECORATIONS: "pm-table-column-controls-decoration";
|
|
30
|
+
readonly TABLE_RESIZER_CONTAINER: "pm-table-resizer-container";
|
|
31
31
|
};
|
|
32
32
|
declare const tableSharedStyle: () => import("@emotion/react").SerializedStyles;
|
|
33
33
|
export declare const calcTableWidth: (layout: TableLayout, containerWidth?: number, addControllerPadding?: boolean) => number | 'inherit';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "99.
|
|
3
|
+
"version": "99.14.1",
|
|
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/"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
116
|
-
"@atlaskit/adf-schema": "^
|
|
116
|
+
"@atlaskit/adf-schema": "^47.2.1",
|
|
117
117
|
"@atlaskit/adf-utils": "^19.18.0",
|
|
118
118
|
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
119
119
|
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
130
130
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
131
131
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
132
|
-
"@atlaskit/emoji": "^67.
|
|
133
|
-
"@atlaskit/icon": "^23.
|
|
134
|
-
"@atlaskit/icon-object": "^6.
|
|
132
|
+
"@atlaskit/emoji": "^67.14.0",
|
|
133
|
+
"@atlaskit/icon": "^23.9.0",
|
|
134
|
+
"@atlaskit/icon-object": "^6.11.0",
|
|
135
135
|
"@atlaskit/link-datasource": "^3.19.0",
|
|
136
136
|
"@atlaskit/link-picker": "^1.49.0",
|
|
137
137
|
"@atlaskit/media-card": "^78.19.0",
|
|
@@ -148,14 +148,14 @@
|
|
|
148
148
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
149
149
|
"@atlaskit/popper": "^6.4.0",
|
|
150
150
|
"@atlaskit/primitives": "^13.5.0",
|
|
151
|
-
"@atlaskit/profilecard": "^22.
|
|
151
|
+
"@atlaskit/profilecard": "^22.2.0",
|
|
152
152
|
"@atlaskit/section-message": "^6.9.0",
|
|
153
153
|
"@atlaskit/smart-card": "^34.10.0",
|
|
154
154
|
"@atlaskit/smart-user-picker": "^7.0.0",
|
|
155
155
|
"@atlaskit/spinner": "^17.1.0",
|
|
156
156
|
"@atlaskit/task-decision": "^17.12.0",
|
|
157
157
|
"@atlaskit/textfield": "^6.8.0",
|
|
158
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
158
|
+
"@atlaskit/tmp-editor-statsig": "^2.46.0",
|
|
159
159
|
"@atlaskit/tokens": "^3.3.0",
|
|
160
160
|
"@atlaskit/tooltip": "^19.1.0",
|
|
161
161
|
"@atlaskit/width-detector": "^4.4.0",
|