@atlaskit/editor-plugin-table 41.0.0 → 41.0.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
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getTableZIndexes = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
8
8
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
9
9
|
var _consts = require("./consts");
|
|
10
10
|
// Keep table content below its sticky masks and header, and the entire table chrome
|
|
@@ -13,23 +13,23 @@ var getTableZIndexes = exports.getTableZIndexes = function getTableZIndexes() {
|
|
|
13
13
|
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_sticky_headers_zindex')) {
|
|
14
14
|
return {
|
|
15
15
|
header: _consts.loweredNativeStickyHeaderZIndex,
|
|
16
|
-
aboveHeader: _consts.loweredNativeStickyHeaderZIndex +
|
|
17
|
-
belowHeader: _consts.loweredNativeStickyHeaderZIndex -
|
|
18
|
-
headerButton: _consts.loweredNativeStickyHeaderZIndex + (
|
|
16
|
+
aboveHeader: _consts.loweredNativeStickyHeaderZIndex + _constants.akEditorUnitZIndex,
|
|
17
|
+
belowHeader: _consts.loweredNativeStickyHeaderZIndex - _constants.akEditorUnitZIndex,
|
|
18
|
+
headerButton: _consts.loweredNativeStickyHeaderZIndex + (_constants.akEditorTableCellOnStickyHeaderZIndex - _consts.nativeStickyHeaderZIndex),
|
|
19
19
|
mask: _consts.stickyRowZIndex - _consts.tableContentZIndexOffset,
|
|
20
20
|
resizeHandle: _consts.resizeHandlerZIndex - _consts.tableContentZIndexOffset,
|
|
21
21
|
dangerOverlay: _consts.tableDangerOverlayZIndex - _consts.tableContentZIndexOffset,
|
|
22
|
-
mediaResizeHandle:
|
|
22
|
+
mediaResizeHandle: _constants.akRichMediaResizeZIndex - _consts.tableContentZIndexOffset
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
26
|
header: _consts.nativeStickyHeaderZIndex,
|
|
27
27
|
aboveHeader: _consts.aboveNativeStickyHeaderZIndex,
|
|
28
28
|
belowHeader: _consts.belowNativeStickyHeaderZIndex,
|
|
29
|
-
headerButton:
|
|
29
|
+
headerButton: _constants.akEditorTableCellOnStickyHeaderZIndex,
|
|
30
30
|
mask: _consts.stickyRowZIndex,
|
|
31
31
|
resizeHandle: _consts.resizeHandlerZIndex,
|
|
32
32
|
dangerOverlay: _consts.tableDangerOverlayZIndex,
|
|
33
|
-
mediaResizeHandle:
|
|
33
|
+
mediaResizeHandle: _constants.akRichMediaResizeZIndex
|
|
34
34
|
};
|
|
35
35
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { akEditorTableCellOnStickyHeaderZIndex, akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
1
|
+
import { akEditorTableCellOnStickyHeaderZIndex, akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
2
2
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
3
3
|
import { aboveNativeStickyHeaderZIndex, belowNativeStickyHeaderZIndex, loweredNativeStickyHeaderZIndex, nativeStickyHeaderZIndex, resizeHandlerZIndex, stickyRowZIndex, tableContentZIndexOffset, tableDangerOverlayZIndex } from './consts';
|
|
4
4
|
// Keep table content below its sticky masks and header, and the entire table chrome
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { akEditorTableCellOnStickyHeaderZIndex, akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
1
|
+
import { akEditorTableCellOnStickyHeaderZIndex, akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles/constants';
|
|
2
2
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
3
3
|
import { aboveNativeStickyHeaderZIndex, belowNativeStickyHeaderZIndex, loweredNativeStickyHeaderZIndex, nativeStickyHeaderZIndex, resizeHandlerZIndex, stickyRowZIndex, tableContentZIndexOffset, tableDangerOverlayZIndex } from './consts';
|
|
4
4
|
// Keep table content below its sticky masks and header, and the entire table chrome
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "41.0.
|
|
3
|
+
"version": "41.0.1",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^29.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^29.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^31.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "32.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "32.0.1",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^29.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^43.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^26.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^3.0.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.6.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^243.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.3.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.6.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^11.1.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^133.
|
|
71
|
+
"@atlaskit/editor-common": "^133.1.0",
|
|
72
72
|
"react": "^18.2.0 || ^19.2.0",
|
|
73
73
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
74
74
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|