@atlaskit/editor-presets 5.0.1 → 5.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 +14 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js +3 -2
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js +3 -2
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js +3 -2
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -0
- package/dist/types/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.d.ts +2 -2
- package/dist/types/confluence-full-page-base/pluginOptions/tablePluginOptions.d.ts +1 -0
- package/package.json +11 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 5.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`137ce6a6d525e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/137ce6a6d525e) -
|
|
8
|
+
Prevent automatic table fit-to-content conversion from rewriting resized tables
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 5.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 5.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js
CHANGED
|
@@ -13,7 +13,8 @@ exports.agentManagedExtensionPluginOptions = agentManagedExtensionPluginOptions;
|
|
|
13
13
|
function agentManagedExtensionPluginOptions(_ref) {
|
|
14
14
|
var options = _ref.options;
|
|
15
15
|
return {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
|
|
17
|
+
contentType: options === null || options === void 0 ? void 0 : options.contentType,
|
|
18
|
+
extensionType: options === null || options === void 0 ? void 0 : options.extensionType
|
|
18
19
|
};
|
|
19
20
|
}
|
|
@@ -9,6 +9,7 @@ var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
|
9
9
|
function tablePluginOptions(_ref) {
|
|
10
10
|
var options = _ref.options;
|
|
11
11
|
return {
|
|
12
|
+
__livePage: (0, _platformFeatureFlags.fg)('platform_editor_table_auto_convert_fix') ? options.__livePage : undefined,
|
|
12
13
|
// value from next/packages/editor-features/src/hooks/useTableOptions.ts
|
|
13
14
|
tableOptions: {
|
|
14
15
|
allowTableResizing: true,
|
package/dist/es2019/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js
CHANGED
|
@@ -8,7 +8,8 @@ export function agentManagedExtensionPluginOptions({
|
|
|
8
8
|
options
|
|
9
9
|
}) {
|
|
10
10
|
return {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
|
|
12
|
+
contentType: options === null || options === void 0 ? void 0 : options.contentType,
|
|
13
|
+
extensionType: options === null || options === void 0 ? void 0 : options.extensionType
|
|
13
14
|
};
|
|
14
15
|
}
|
|
@@ -4,6 +4,7 @@ export function tablePluginOptions({
|
|
|
4
4
|
options
|
|
5
5
|
}) {
|
|
6
6
|
return {
|
|
7
|
+
__livePage: fg('platform_editor_table_auto_convert_fix') ? options.__livePage : undefined,
|
|
7
8
|
// value from next/packages/editor-features/src/hooks/useTableOptions.ts
|
|
8
9
|
tableOptions: {
|
|
9
10
|
allowTableResizing: true,
|
package/dist/esm/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.js
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
export function agentManagedExtensionPluginOptions(_ref) {
|
|
8
8
|
var options = _ref.options;
|
|
9
9
|
return {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
cloudId: options === null || options === void 0 ? void 0 : options.cloudId,
|
|
11
|
+
contentType: options === null || options === void 0 ? void 0 : options.contentType,
|
|
12
|
+
extensionType: options === null || options === void 0 ? void 0 : options.extensionType
|
|
12
13
|
};
|
|
13
14
|
}
|
|
@@ -3,6 +3,7 @@ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
|
3
3
|
export function tablePluginOptions(_ref) {
|
|
4
4
|
var options = _ref.options;
|
|
5
5
|
return {
|
|
6
|
+
__livePage: fg('platform_editor_table_auto_convert_fix') ? options.__livePage : undefined,
|
|
6
7
|
// value from next/packages/editor-features/src/hooks/useTableOptions.ts
|
|
7
8
|
tableOptions: {
|
|
8
9
|
allowTableResizing: true,
|
package/dist/types/confluence-full-page-base/pluginOptions/agentManagedExtensionPluginOptions.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import type { ConfluencePageAri } from '@atlassian/ari';
|
|
2
1
|
import type { AgentManagedExtensionPluginOptions } from '@atlassian/editor-plugin-agent-managed-extension';
|
|
3
2
|
interface Props {
|
|
4
3
|
options?: {
|
|
4
|
+
cloudId?: string;
|
|
5
|
+
contentType?: string;
|
|
5
6
|
/**
|
|
6
7
|
* Optional override of the extension type used for newly inserted
|
|
7
8
|
* agent-managed bodied extensions.
|
|
@@ -9,7 +10,6 @@ interface Props {
|
|
|
9
10
|
* Defaults to `com.atlassian.confluence.macro.core`.
|
|
10
11
|
*/
|
|
11
12
|
extensionType?: string;
|
|
12
|
-
referenceObjectAri?: ConfluencePageAri;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
@@ -2,6 +2,7 @@ import type { TablePluginOptions } from '@atlaskit/editor-plugin-table';
|
|
|
2
2
|
import type { FullPageEditorAppearance } from '../types';
|
|
3
3
|
interface Props {
|
|
4
4
|
options: {
|
|
5
|
+
__livePage?: boolean;
|
|
5
6
|
editorAppearance: FullPageEditorAppearance;
|
|
6
7
|
prevEditorAppearance?: FullPageEditorAppearance;
|
|
7
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"atlaskit:src": "src/index.ts",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/adf-schema": "^55.
|
|
23
|
+
"@atlaskit/adf-schema": "^55.2.0",
|
|
24
24
|
"@atlaskit/editor-plugin-accessibility-utils": "^12.0.0",
|
|
25
25
|
"@atlaskit/editor-plugin-alignment": "^13.0.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^12.0.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/editor-plugin-grid": "^12.0.0",
|
|
68
68
|
"@atlaskit/editor-plugin-guideline": "^12.0.0",
|
|
69
69
|
"@atlaskit/editor-plugin-help-dialog": "^12.0.0",
|
|
70
|
-
"@atlaskit/editor-plugin-highlight": "^12.
|
|
70
|
+
"@atlaskit/editor-plugin-highlight": "^12.1.0",
|
|
71
71
|
"@atlaskit/editor-plugin-history": "^12.0.0",
|
|
72
72
|
"@atlaskit/editor-plugin-hyperlink": "^14.0.0",
|
|
73
73
|
"@atlaskit/editor-plugin-indentation": "^12.0.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/editor-plugin-loom": "^14.0.0",
|
|
81
81
|
"@atlaskit/editor-plugin-media": "^14.0.0",
|
|
82
82
|
"@atlaskit/editor-plugin-media-insert": "^25.0.0",
|
|
83
|
-
"@atlaskit/editor-plugin-mentions": "^14.
|
|
83
|
+
"@atlaskit/editor-plugin-mentions": "^14.2.0",
|
|
84
84
|
"@atlaskit/editor-plugin-metrics": "^13.0.0",
|
|
85
85
|
"@atlaskit/editor-plugin-panel": "^14.0.0",
|
|
86
86
|
"@atlaskit/editor-plugin-paste": "^13.0.0",
|
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
"@atlaskit/editor-plugin-selection-extension": "^15.0.0",
|
|
96
96
|
"@atlaskit/editor-plugin-selection-marker": "^12.0.0",
|
|
97
97
|
"@atlaskit/editor-plugin-selection-toolbar": "^13.0.0",
|
|
98
|
-
"@atlaskit/editor-plugin-show-diff": "^10.
|
|
98
|
+
"@atlaskit/editor-plugin-show-diff": "^10.1.0",
|
|
99
99
|
"@atlaskit/editor-plugin-status": "^13.0.0",
|
|
100
100
|
"@atlaskit/editor-plugin-submit-editor": "^12.0.0",
|
|
101
101
|
"@atlaskit/editor-plugin-synced-block": "^10.0.0",
|
|
102
102
|
"@atlaskit/editor-plugin-table": "^24.0.0",
|
|
103
103
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^15.0.0",
|
|
104
|
-
"@atlaskit/editor-plugin-text-color": "^12.
|
|
104
|
+
"@atlaskit/editor-plugin-text-color": "^12.1.0",
|
|
105
105
|
"@atlaskit/editor-plugin-text-formatting": "^12.0.0",
|
|
106
106
|
"@atlaskit/editor-plugin-toolbar": "^9.0.0",
|
|
107
107
|
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^13.0.0",
|
|
@@ -115,13 +115,13 @@
|
|
|
115
115
|
"@atlaskit/editor-plugin-user-preferences": "^10.0.0",
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^13.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
118
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
118
|
+
"@atlaskit/tmp-editor-statsig": "^107.1.0",
|
|
119
119
|
"@atlassian/ari": "^2.596.0",
|
|
120
120
|
"@atlassian/editor-plugin-agent-managed-extension": "^2.0.0",
|
|
121
121
|
"@babel/runtime": "^7.0.0"
|
|
122
122
|
},
|
|
123
123
|
"peerDependencies": {
|
|
124
|
-
"@atlaskit/editor-common": "^116.
|
|
124
|
+
"@atlaskit/editor-common": "^116.3.0",
|
|
125
125
|
"react": "^18.2.0",
|
|
126
126
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
127
127
|
},
|
|
@@ -182,6 +182,9 @@
|
|
|
182
182
|
"platform_editor_table_fixed_column_width_prop": {
|
|
183
183
|
"type": "boolean"
|
|
184
184
|
},
|
|
185
|
+
"platform_editor_table_auto_convert_fix": {
|
|
186
|
+
"type": "boolean"
|
|
187
|
+
},
|
|
185
188
|
"confluence_remix_button_right_side_block_fg": {
|
|
186
189
|
"type": "boolean"
|
|
187
190
|
}
|