@atlaskit/editor-plugin-table 23.2.0 → 23.3.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 23.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`dc18b82540c1e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dc18b82540c1e) -
|
|
8
|
+
[EDITOR-7606](https://hello.jira.atlassian.cloud/browse/EDITOR-7606) - fix SSR streaming tables
|
|
9
|
+
borders by adopting changes from `platform_editor_vc90_transition_table_border` experiment
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 23.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -11,6 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
12
12
|
var _kebabCase = _interopRequireDefault(require("lodash/kebabCase"));
|
|
13
13
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
14
|
+
var _coreUtils = require("@atlaskit/editor-common/core-utils");
|
|
14
15
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
15
16
|
var _table = require("@atlaskit/editor-common/table");
|
|
16
17
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -80,7 +81,7 @@ var tableNodeSpecWithFixedToDOM = exports.tableNodeSpecWithFixedToDOM = function
|
|
|
80
81
|
}, ['table', attrs, colgroup, ['tbody', 0]]], ['div', {
|
|
81
82
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
82
83
|
'data-testid': 'sticky-sentinel-bottom'
|
|
83
|
-
}]].concat((0, _toConsumableArray2.default)((0,
|
|
84
|
+
}]].concat((0, _toConsumableArray2.default)((0, _coreUtils.isSSRStreaming)() ? [['div', {
|
|
84
85
|
contenteditable: 'false',
|
|
85
86
|
class: 'pm-table-left-border',
|
|
86
87
|
'data-with-numbered-table': node.attrs.isNumberColumnEnabled,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import classNames from 'classnames';
|
|
2
2
|
import kebabCase from 'lodash/kebabCase';
|
|
3
3
|
import { table, tableWithNestedTable } from '@atlaskit/adf-schema';
|
|
4
|
+
import { isSSRStreaming } from '@atlaskit/editor-common/core-utils';
|
|
4
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
5
6
|
import { isTableInContentMode } from '@atlaskit/editor-common/table';
|
|
6
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -64,7 +65,7 @@ export const tableNodeSpecWithFixedToDOM = config => {
|
|
|
64
65
|
}, ['table', attrs, colgroup, ['tbody', 0]]], ['div', {
|
|
65
66
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
66
67
|
'data-testid': 'sticky-sentinel-bottom'
|
|
67
|
-
}], ...(
|
|
68
|
+
}], ...(isSSRStreaming() ? [['div', {
|
|
68
69
|
contenteditable: 'false',
|
|
69
70
|
class: 'pm-table-left-border',
|
|
70
71
|
'data-with-numbered-table': node.attrs.isNumberColumnEnabled,
|
|
@@ -6,6 +6,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import kebabCase from 'lodash/kebabCase';
|
|
8
8
|
import { table, tableWithNestedTable } from '@atlaskit/adf-schema';
|
|
9
|
+
import { isSSRStreaming } from '@atlaskit/editor-common/core-utils';
|
|
9
10
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
10
11
|
import { isTableInContentMode } from '@atlaskit/editor-common/table';
|
|
11
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -73,7 +74,7 @@ export var tableNodeSpecWithFixedToDOM = function tableNodeSpecWithFixedToDOM(co
|
|
|
73
74
|
}, ['table', attrs, colgroup, ['tbody', 0]]], ['div', {
|
|
74
75
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
75
76
|
'data-testid': 'sticky-sentinel-bottom'
|
|
76
|
-
}]].concat(_toConsumableArray(
|
|
77
|
+
}]].concat(_toConsumableArray(isSSRStreaming() ? [['div', {
|
|
77
78
|
contenteditable: 'false',
|
|
78
79
|
class: 'pm-table-left-border',
|
|
79
80
|
'data-with-numbered-table': node.attrs.isNumberColumnEnabled,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.3.0",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
61
61
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.2.0",
|
|
62
62
|
"@atlaskit/primitives": "^19.0.0",
|
|
63
|
-
"@atlaskit/tmp-editor-statsig": "^90.
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^90.3.0",
|
|
64
64
|
"@atlaskit/toggle": "^16.1.0",
|
|
65
65
|
"@atlaskit/tokens": "^13.3.0",
|
|
66
66
|
"@atlaskit/tooltip": "^22.6.0",
|