@atlaskit/editor-plugin-table 36.0.1 → 36.0.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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 36.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 36.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`bf2f598c788f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bf2f598c788f8) -
|
|
14
|
+
clean up feature flag platform_editor_core_static_css
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 36.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -93,8 +93,10 @@ var baseTableStylesWithoutSharedStyle = function baseTableStylesWithoutSharedSty
|
|
|
93
93
|
"border-left: 1px solid ".concat(_consts3.tableBorderDeleteColor, ";\n\t\t\t\t\t\tborder-top: 1px solid ").concat(_consts3.tableBorderDeleteColor, ";\n\t\t\t\t\t\tborder-bottom: 1px solid ").concat(_consts3.tableBorderDeleteColor, ";\n\t\t\t\t\t\tbackground-color: ", "var(--ds-background-accent-gray-subtlest, #F0F1F2)", ";\n\t\t\t\t\t\tbackground-image: linear-gradient(").concat(_consts3.tableCellDeleteColor, ", ").concat(_consts3.tableCellDeleteColor, ");") : "border-left: unset;\n\t\t\t\t\tborder-top: unset;\n\t\t\t\t\tbackground: ".concat(_consts3.tableCellDeleteColor, ";"), _types.TableCssClassName.TABLE_CONTAINER, _types.TableCssClassName.TABLE_SELECTED, _types.TableCssClassName.HOVERED_DELETE_BUTTON, _types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, _types.TableCssClassName.TABLE_CONTAINER, _types.TableCssClassName.HOVERED_DELETE_BUTTON, _types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, _types.TableCssClassName.SELECTED_CELL, _types.TableCssClassName.COLUMN_SELECTED, _consts3.tableBorderDeleteColor, _consts3.tableBorderDeleteColor, _consts3.tableCellDeleteColor, _types.TableCssClassName.TABLE_CONTAINER, _types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, _types.TableCssClassName.NATIVE_STICKY_ACTIVE, "var(--ds-shadow-overflow-perimeter, #1E1F211f)", _types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, _types.TableCssClassName.DRAG_COLUMN_CONTROLS_INNER, _types.TableCssClassName.NESTED_TABLE_WITH_CONTROLS, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_q4_patch_8') ? _styles.tableMarginTop - 1 : _styles.tableMarginTop, _types.TableCssClassName.TABLE_STICKY, _types.TableCssClassName.DRAG_COLUMN_CONTROLS_WRAPPER, _editorSharedStyles.akEditorTableCellOnStickyHeaderZIndex - 4, (0, _expValEquals.expValEquals)('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? ".".concat(_types.TableCssClassName.TABLE_CONTAINER, ".").concat(_types.TableCssClassName.WITH_CONTROLS, ":has(tr.sticky) .").concat(_types.TableCssClassName.NUMBERED_COLUMN, " .").concat(_types.TableCssClassName.NUMBERED_COLUMN_BUTTON, ":first-of-type {\n\t\t\tbox-shadow: 0 -5px 0 1px ").concat(_consts3.tableBorderColor, ";\n\t\t}") : "", _types.TableCssClassName.TABLE_CONTAINER, _types.TableCssClassName.TABLE_STICKY, _types.TableCssClassName.DRAG_COLUMN_CONTROLS_WRAPPER, _editorSharedStyles.akEditorUnitZIndex, _types.TableCssClassName.TABLE_NODE_WRAPPER, _types.TableCssClassName.TABLE_NODE_WRAPPER, _types.TableCssClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, (0, _fg.fg)('platform-dst-tokens-finesse') ? selectedCellBorderStyles() : '');
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
//
|
|
97
|
-
|
|
96
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
97
|
+
/**
|
|
98
|
+
* @deprecated Legacy Emotion table styles. See EDITOR-7593.
|
|
99
|
+
*/
|
|
98
100
|
var baseTableStyles = exports.baseTableStyles = function baseTableStyles(props) {
|
|
99
101
|
return (0, _react.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n\t", ";\n\t", ";\n"])), (0, _styles.tableSharedStyle)(), baseTableStylesWithoutSharedStyle(props));
|
|
100
102
|
};
|
|
@@ -1349,8 +1349,10 @@ expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? rangeS
|
|
|
1349
1349
|
${fg('platform-dst-tokens-finesse') ? selectedCellBorderStyles() : ''}
|
|
1350
1350
|
`;
|
|
1351
1351
|
|
|
1352
|
-
//
|
|
1353
|
-
|
|
1352
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
1353
|
+
/**
|
|
1354
|
+
* @deprecated Legacy Emotion table styles. See EDITOR-7593.
|
|
1355
|
+
*/
|
|
1354
1356
|
export const baseTableStyles = props => css`
|
|
1355
1357
|
${tableSharedStyle()};
|
|
1356
1358
|
${baseTableStylesWithoutSharedStyle(props)};
|
|
@@ -88,8 +88,10 @@ var baseTableStylesWithoutSharedStyle = function baseTableStylesWithoutSharedSty
|
|
|
88
88
|
"border-left: 1px solid ".concat(tableBorderDeleteColor, ";\n\t\t\t\t\t\tborder-top: 1px solid ").concat(tableBorderDeleteColor, ";\n\t\t\t\t\t\tborder-bottom: 1px solid ").concat(tableBorderDeleteColor, ";\n\t\t\t\t\t\tbackground-color: ", "var(--ds-background-accent-gray-subtlest, #F0F1F2)", ";\n\t\t\t\t\t\tbackground-image: linear-gradient(").concat(tableCellDeleteColor, ", ").concat(tableCellDeleteColor, ");") : "border-left: unset;\n\t\t\t\t\tborder-top: unset;\n\t\t\t\t\tbackground: ".concat(tableCellDeleteColor, ";"), ClassName.TABLE_CONTAINER, ClassName.TABLE_SELECTED, ClassName.HOVERED_DELETE_BUTTON, ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, ClassName.TABLE_CONTAINER, ClassName.HOVERED_DELETE_BUTTON, ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, ClassName.SELECTED_CELL, ClassName.COLUMN_SELECTED, tableBorderDeleteColor, tableBorderDeleteColor, tableCellDeleteColor, ClassName.TABLE_CONTAINER, ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, ClassName.NATIVE_STICKY_ACTIVE, "var(--ds-shadow-overflow-perimeter, #1E1F211f)", ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, ClassName.DRAG_COLUMN_CONTROLS_INNER, ClassName.NESTED_TABLE_WITH_CONTROLS, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && isExperimentEnabled('platform_editor_table_q4_patch_8') ? tableMarginTop - 1 : tableMarginTop, ClassName.TABLE_STICKY, ClassName.DRAG_COLUMN_CONTROLS_WRAPPER, akEditorTableCellOnStickyHeaderZIndex - 4, expValEquals('platform_editor_table_sticky_header_improvements', 'cohort', 'test_with_overflow') ? ".".concat(ClassName.TABLE_CONTAINER, ".").concat(ClassName.WITH_CONTROLS, ":has(tr.sticky) .").concat(ClassName.NUMBERED_COLUMN, " .").concat(ClassName.NUMBERED_COLUMN_BUTTON, ":first-of-type {\n\t\t\tbox-shadow: 0 -5px 0 1px ").concat(tableBorderColor, ";\n\t\t}") : "", ClassName.TABLE_CONTAINER, ClassName.TABLE_STICKY, ClassName.DRAG_COLUMN_CONTROLS_WRAPPER, akEditorUnitZIndex, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_NODE_WRAPPER, ClassName.TABLE_NODE_WRAPPER_NO_OVERFLOW, fg('platform-dst-tokens-finesse') ? selectedCellBorderStyles() : '');
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
//
|
|
92
|
-
|
|
91
|
+
// eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
|
|
92
|
+
/**
|
|
93
|
+
* @deprecated Legacy Emotion table styles. See EDITOR-7593.
|
|
94
|
+
*/
|
|
93
95
|
export var baseTableStyles = function baseTableStyles(props) {
|
|
94
96
|
return css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n\t", ";\n\t", ";\n"])), tableSharedStyle(), baseTableStylesWithoutSharedStyle(props));
|
|
95
97
|
};
|
|
@@ -2,6 +2,9 @@ import { type SerializedStyles } from '@emotion/react';
|
|
|
2
2
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
3
|
export declare const insertColumnButtonOffset: number;
|
|
4
4
|
export declare const tableRowHeight = 44;
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Legacy Emotion table styles. See EDITOR-7593.
|
|
7
|
+
*/
|
|
5
8
|
export declare const baseTableStyles: (props: {
|
|
6
9
|
featureFlags?: FeatureFlags;
|
|
7
10
|
isDragAndDropEnabled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "36.0.
|
|
3
|
+
"version": "36.0.3",
|
|
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": "^24.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^24.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^26.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "27.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "27.0.2",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^24.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^38.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^21.0.0",
|
|
@@ -53,9 +53,9 @@
|
|
|
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.5.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^222.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.3.0",
|
|
58
|
-
"@atlaskit/tokens": "^20.
|
|
58
|
+
"@atlaskit/tokens": "^20.3.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^1.0.2",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^11.1.1"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^128.
|
|
71
|
+
"@atlaskit/editor-common": "^128.3.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"
|