@atlaskit/editor-plugin-table 2.6.8 → 2.6.10
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 +13 -0
- package/dist/cjs/plugins/table/utils/guidelines.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/table/utils/guidelines.js +2 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/table/utils/guidelines.js +2 -2
- package/dist/esm/version.json +1 -1
- package/package.json +4 -4
- package/src/plugins/table/utils/guidelines.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 2.6.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`79dc812733f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79dc812733f) - [ux] [ED-19293] Updates table's guideline used for wide layout. The value is aligned with other nodes that use breakouts and are set to wide.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 2.6.9
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 2.6.8
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var calculateGuidelineWidthsInDefaultLayoutWidth = function calculateGuidelineWi
|
|
|
16
16
|
}
|
|
17
17
|
return widths;
|
|
18
18
|
};
|
|
19
|
-
var defaultGuidelineWidths = [].concat((0, _toConsumableArray2.default)(calculateGuidelineWidthsInDefaultLayoutWidth()), [_editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.
|
|
19
|
+
var defaultGuidelineWidths = [].concat((0, _toConsumableArray2.default)(calculateGuidelineWidthsInDefaultLayoutWidth()), [_editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth]);
|
|
20
20
|
exports.defaultGuidelineWidths = defaultGuidelineWidths;
|
|
21
21
|
var defaultGuidelines = (0, _guideline.createFixedGuidelinesFromLengths)(defaultGuidelineWidths);
|
|
22
22
|
exports.defaultGuidelines = defaultGuidelines;
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createFixedGuidelinesFromLengths } from '@atlaskit/editor-common/guideline';
|
|
2
|
-
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth
|
|
2
|
+
import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
3
3
|
const numberOfLanesInDefaultLayoutWidth = 12;
|
|
4
4
|
const calculateGuidelineWidthsInDefaultLayoutWidth = () => {
|
|
5
5
|
let widths = [];
|
|
@@ -8,5 +8,5 @@ const calculateGuidelineWidthsInDefaultLayoutWidth = () => {
|
|
|
8
8
|
}
|
|
9
9
|
return widths;
|
|
10
10
|
};
|
|
11
|
-
export const defaultGuidelineWidths = [...calculateGuidelineWidthsInDefaultLayoutWidth(), akEditorDefaultLayoutWidth,
|
|
11
|
+
export const defaultGuidelineWidths = [...calculateGuidelineWidthsInDefaultLayoutWidth(), akEditorDefaultLayoutWidth, akEditorCalculatedWideLayoutWidth, akEditorFullWidthLayoutWidth];
|
|
12
12
|
export const defaultGuidelines = createFixedGuidelinesFromLengths(defaultGuidelineWidths);
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { createFixedGuidelinesFromLengths } from '@atlaskit/editor-common/guideline';
|
|
3
|
-
import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth
|
|
3
|
+
import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
4
4
|
var numberOfLanesInDefaultLayoutWidth = 12;
|
|
5
5
|
var calculateGuidelineWidthsInDefaultLayoutWidth = function calculateGuidelineWidthsInDefaultLayoutWidth() {
|
|
6
6
|
var widths = [];
|
|
@@ -9,5 +9,5 @@ var calculateGuidelineWidthsInDefaultLayoutWidth = function calculateGuidelineWi
|
|
|
9
9
|
}
|
|
10
10
|
return widths;
|
|
11
11
|
};
|
|
12
|
-
export var defaultGuidelineWidths = [].concat(_toConsumableArray(calculateGuidelineWidthsInDefaultLayoutWidth()), [akEditorDefaultLayoutWidth,
|
|
12
|
+
export var defaultGuidelineWidths = [].concat(_toConsumableArray(calculateGuidelineWidthsInDefaultLayoutWidth()), [akEditorDefaultLayoutWidth, akEditorCalculatedWideLayoutWidth, akEditorFullWidthLayoutWidth]);
|
|
13
13
|
export var defaultGuidelines = createFixedGuidelinesFromLengths(defaultGuidelineWidths);
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.10",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"releaseModel": "continuous"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@atlaskit/adf-schema": "^
|
|
31
|
-
"@atlaskit/editor-common": "^74.
|
|
30
|
+
"@atlaskit/adf-schema": "^27.0.0",
|
|
31
|
+
"@atlaskit/editor-common": "^74.36.0",
|
|
32
32
|
"@atlaskit/editor-palette": "1.5.1",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^0.1.0",
|
|
34
34
|
"@atlaskit/editor-plugin-content-insertion": "^0.0.7",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "1.0.2",
|
|
36
|
-
"@atlaskit/editor-shared-styles": "^2.
|
|
36
|
+
"@atlaskit/editor-shared-styles": "^2.6.0",
|
|
37
37
|
"@atlaskit/editor-tables": "^2.3.0",
|
|
38
38
|
"@atlaskit/icon": "^21.12.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^0.2.1",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createFixedGuidelinesFromLengths } from '@atlaskit/editor-common/guideline';
|
|
2
2
|
import type { GuidelineConfig } from '@atlaskit/editor-common/guideline';
|
|
3
3
|
import {
|
|
4
|
+
akEditorCalculatedWideLayoutWidth,
|
|
4
5
|
akEditorDefaultLayoutWidth,
|
|
5
6
|
akEditorFullWidthLayoutWidth,
|
|
6
|
-
akEditorWideLayoutWidth,
|
|
7
7
|
} from '@atlaskit/editor-shared-styles';
|
|
8
8
|
|
|
9
9
|
const numberOfLanesInDefaultLayoutWidth = 12;
|
|
@@ -21,7 +21,7 @@ const calculateGuidelineWidthsInDefaultLayoutWidth = () => {
|
|
|
21
21
|
export const defaultGuidelineWidths = [
|
|
22
22
|
...calculateGuidelineWidthsInDefaultLayoutWidth(),
|
|
23
23
|
akEditorDefaultLayoutWidth,
|
|
24
|
-
|
|
24
|
+
akEditorCalculatedWideLayoutWidth,
|
|
25
25
|
akEditorFullWidthLayoutWidth,
|
|
26
26
|
];
|
|
27
27
|
|