@atlaskit/editor-plugin-table 7.25.21 → 7.25.22
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 +9 -0
- package/dist/cjs/ui/global-styles.js +2 -3
- package/dist/es2019/ui/global-styles.js +2 -3
- package/dist/esm/ui/global-styles.js +2 -3
- package/dist/types/ui/global-styles.d.ts +1 -1
- package/dist/types-ts4.5/ui/global-styles.d.ts +1 -1
- package/package.json +2 -5
- package/src/ui/global-styles.tsx +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.25.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138699](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138699)
|
|
8
|
+
[`aa5140e59db5a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/aa5140e59db5a) -
|
|
9
|
+
Cleanup feature flag moving styles from editor-core to tables plugin.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 7.25.21
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.GlobalStylesWrapper = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
8
|
var _commonStyles = require("./common-styles");
|
|
10
9
|
/**
|
|
11
10
|
* @jsxRuntime classic
|
|
@@ -15,9 +14,9 @@ var _commonStyles = require("./common-styles");
|
|
|
15
14
|
|
|
16
15
|
var GlobalStylesWrapper = exports.GlobalStylesWrapper = function GlobalStylesWrapper(_ref) {
|
|
17
16
|
var featureFlags = _ref.featureFlags;
|
|
18
|
-
return (0,
|
|
17
|
+
return (0, _react.jsx)(_react.Global, {
|
|
19
18
|
styles: (0, _commonStyles.tableStyles)({
|
|
20
19
|
featureFlags: featureFlags
|
|
21
20
|
})
|
|
22
|
-
})
|
|
21
|
+
});
|
|
23
22
|
};
|
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { Global, jsx } from '@emotion/react';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { tableStyles } from './common-styles';
|
|
9
8
|
export const GlobalStylesWrapper = ({
|
|
10
9
|
featureFlags
|
|
11
10
|
}) => {
|
|
12
|
-
return
|
|
11
|
+
return jsx(Global, {
|
|
13
12
|
styles: tableStyles({
|
|
14
13
|
featureFlags
|
|
15
14
|
})
|
|
16
|
-
})
|
|
15
|
+
});
|
|
17
16
|
};
|
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { Global, jsx } from '@emotion/react';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { tableStyles } from './common-styles';
|
|
9
8
|
export var GlobalStylesWrapper = function GlobalStylesWrapper(_ref) {
|
|
10
9
|
var featureFlags = _ref.featureFlags;
|
|
11
|
-
return
|
|
10
|
+
return jsx(Global, {
|
|
12
11
|
styles: tableStyles({
|
|
13
12
|
featureFlags: featureFlags
|
|
14
13
|
})
|
|
15
|
-
})
|
|
14
|
+
});
|
|
16
15
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.25.
|
|
3
|
+
"version": "7.25.22",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@atlaskit/adf-schema": "^40.9.0",
|
|
31
31
|
"@atlaskit/button": "^20.1.0",
|
|
32
32
|
"@atlaskit/custom-steps": "^0.7.0",
|
|
33
|
-
"@atlaskit/editor-common": "^88.
|
|
33
|
+
"@atlaskit/editor-common": "^88.13.0",
|
|
34
34
|
"@atlaskit/editor-palette": "1.6.0",
|
|
35
35
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
|
|
36
36
|
"@atlaskit/editor-plugin-analytics": "^1.8.0",
|
|
@@ -117,9 +117,6 @@
|
|
|
117
117
|
"platform_editor_dark_mode_cell_header_color_fix": {
|
|
118
118
|
"type": "boolean"
|
|
119
119
|
},
|
|
120
|
-
"platform_editor_move_table_styles_to_plugin": {
|
|
121
|
-
"type": "boolean"
|
|
122
|
-
},
|
|
123
120
|
"platform_editor_a11y_table_context_menu": {
|
|
124
121
|
"type": "boolean"
|
|
125
122
|
},
|
package/src/ui/global-styles.tsx
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
import { Global, jsx } from '@emotion/react';
|
|
7
7
|
|
|
8
8
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
9
|
|
|
11
10
|
import { tableStyles } from './common-styles';
|
|
12
11
|
|
|
@@ -15,7 +14,5 @@ export const GlobalStylesWrapper = ({
|
|
|
15
14
|
}: {
|
|
16
15
|
featureFlags: FeatureFlags | undefined;
|
|
17
16
|
}) => {
|
|
18
|
-
return
|
|
19
|
-
<Global styles={tableStyles({ featureFlags })} />
|
|
20
|
-
) : null;
|
|
17
|
+
return <Global styles={tableStyles({ featureFlags })} />;
|
|
21
18
|
};
|