@atlaskit/editor-plugin-table 15.1.0 → 15.1.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
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 15.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1ad50530f4fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1ad50530f4fdd) -
|
|
8
|
+
fix wrong experiment for table toDOM relates to table overflow shadow
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 15.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -111,7 +111,7 @@ var tableNodeSpecWithFixedToDOM = exports.tableNodeSpecWithFixedToDOM = function
|
|
|
111
111
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
112
112
|
'data-testid': 'sticky-sentinel-bottom'
|
|
113
113
|
}]];
|
|
114
|
-
var tableContainerDiv = (0, _expValEquals.expValEquals)('
|
|
114
|
+
var tableContainerDiv = (0, _expValEquals.expValEquals)('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant1') || (0, _expValEquals.expValEquals)('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant2') || (0, _expValEquals.expValEquals)('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant3') ? tableContainerDivNext : tableContainerDivLegacy;
|
|
115
115
|
if (!config.tableResizingEnabled || (0, _expValEquals.expValEquals)('platform_editor_tables_scaling_css', 'isEnabled', true) && config.isNested) {
|
|
116
116
|
return ['div', {
|
|
117
117
|
class: 'tableView-content-wrap',
|
|
@@ -96,7 +96,7 @@ export const tableNodeSpecWithFixedToDOM = config => {
|
|
|
96
96
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
97
97
|
'data-testid': 'sticky-sentinel-bottom'
|
|
98
98
|
}]];
|
|
99
|
-
const tableContainerDiv = expValEquals('
|
|
99
|
+
const tableContainerDiv = expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant1') || expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant2') || expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant3') ? tableContainerDivNext : tableContainerDivLegacy;
|
|
100
100
|
if (!config.tableResizingEnabled || expValEquals('platform_editor_tables_scaling_css', 'isEnabled', true) && config.isNested) {
|
|
101
101
|
return ['div', {
|
|
102
102
|
class: 'tableView-content-wrap',
|
|
@@ -104,7 +104,7 @@ export var tableNodeSpecWithFixedToDOM = function tableNodeSpecWithFixedToDOM(co
|
|
|
104
104
|
class: 'pm-table-sticky-sentinel-bottom',
|
|
105
105
|
'data-testid': 'sticky-sentinel-bottom'
|
|
106
106
|
}]];
|
|
107
|
-
var tableContainerDiv = expValEquals('
|
|
107
|
+
var tableContainerDiv = expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant1') || expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant2') || expValEquals('platform_editor_disable_table_overflow_shadows', 'cohort', 'variant3') ? tableContainerDivNext : tableContainerDivLegacy;
|
|
108
108
|
if (!config.tableResizingEnabled || expValEquals('platform_editor_tables_scaling_css', 'isEnabled', true) && config.isNested) {
|
|
109
109
|
return ['div', {
|
|
110
110
|
class: 'tableView-content-wrap',
|