@atlaskit/editor-plugin-table 24.3.2 → 24.3.3
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,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 24.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e79324e600259`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e79324e600259) -
|
|
8
|
+
[ED] Add gated testid (pm-table-contextual-menu-button) to the table cell options button to anchor
|
|
9
|
+
the Post Office changeboarding spotlight (cc-editor-table-cell-menu-changes), gated behind the
|
|
10
|
+
platform_editor_table_menu_updates experiment
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 24.3.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -148,6 +148,10 @@ var FloatingContextualButtonInner = /*#__PURE__*/_react.default.memo(function (p
|
|
|
148
148
|
}),
|
|
149
149
|
"aria-label": labelCellOptions,
|
|
150
150
|
"aria-expanded": isCellMenuOpen
|
|
151
|
+
// Stable anchor used by the Post Office changeboarding spotlight
|
|
152
|
+
// (cc-editor-table-cell-menu-changes) to target the cell options button.
|
|
153
|
+
,
|
|
154
|
+
testId: (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) ? 'pm-table-contextual-menu-button' : undefined
|
|
151
155
|
}));
|
|
152
156
|
var parentSticky = targetCellRef.parentElement && targetCellRef.parentElement.className.indexOf('sticky') > -1;
|
|
153
157
|
var parentStickyNative = targetCellRef.parentElement && ((0, _platformFeatureFlags.fg)('platform_editor_table_sticky_header_patch_4') ? tableWrapper === null || tableWrapper === void 0 ? void 0 : tableWrapper.classList.contains(_types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW) : targetCellRef.parentElement.classList.contains(_types.TableCssClassName.NATIVE_STICKY));
|
|
@@ -150,6 +150,10 @@ const FloatingContextualButtonInner = /*#__PURE__*/React.memo(props => {
|
|
|
150
150
|
}),
|
|
151
151
|
"aria-label": labelCellOptions,
|
|
152
152
|
"aria-expanded": isCellMenuOpen
|
|
153
|
+
// Stable anchor used by the Post Office changeboarding spotlight
|
|
154
|
+
// (cc-editor-table-cell-menu-changes) to target the cell options button.
|
|
155
|
+
,
|
|
156
|
+
testId: expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) ? 'pm-table-contextual-menu-button' : undefined
|
|
153
157
|
}));
|
|
154
158
|
const parentSticky = targetCellRef.parentElement && targetCellRef.parentElement.className.indexOf('sticky') > -1;
|
|
155
159
|
const parentStickyNative = targetCellRef.parentElement && (fg('platform_editor_table_sticky_header_patch_4') ? tableWrapper === null || tableWrapper === void 0 ? void 0 : tableWrapper.classList.contains(ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW) : targetCellRef.parentElement.classList.contains(ClassName.NATIVE_STICKY));
|
|
@@ -137,6 +137,10 @@ var FloatingContextualButtonInner = /*#__PURE__*/React.memo(function (props) {
|
|
|
137
137
|
}),
|
|
138
138
|
"aria-label": labelCellOptions,
|
|
139
139
|
"aria-expanded": isCellMenuOpen
|
|
140
|
+
// Stable anchor used by the Post Office changeboarding spotlight
|
|
141
|
+
// (cc-editor-table-cell-menu-changes) to target the cell options button.
|
|
142
|
+
,
|
|
143
|
+
testId: expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) ? 'pm-table-contextual-menu-button' : undefined
|
|
140
144
|
}));
|
|
141
145
|
var parentSticky = targetCellRef.parentElement && targetCellRef.parentElement.className.indexOf('sticky') > -1;
|
|
142
146
|
var parentStickyNative = targetCellRef.parentElement && (fg('platform_editor_table_sticky_header_patch_4') ? tableWrapper === null || tableWrapper === void 0 ? void 0 : tableWrapper.classList.contains(ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW) : targetCellRef.parentElement.classList.contains(ClassName.NATIVE_STICKY));
|