@atlaskit/editor-presets 7.0.0 → 7.0.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 +8 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -5
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -5
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +1 -5
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 7.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7a8d5e478d5d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a8d5e478d5d1) -
|
|
8
|
+
Clean up feature gate `platform_editor_table_fixed_column_width_prop`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 7.0.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.tablePluginOptions = tablePluginOptions;
|
|
7
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
8
7
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
9
8
|
function tablePluginOptions(_ref) {
|
|
10
9
|
var options = _ref.options;
|
|
@@ -34,9 +33,6 @@ function tablePluginOptions(_ref) {
|
|
|
34
33
|
wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
|
|
35
34
|
getEditorFeatureFlags: function getEditorFeatureFlags() {
|
|
36
35
|
return {
|
|
37
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
38
|
-
tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
39
|
-
// END SECTION
|
|
40
36
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
41
37
|
tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
|
|
42
38
|
// END SECTION
|
|
@@ -44,6 +40,6 @@ function tablePluginOptions(_ref) {
|
|
|
44
40
|
},
|
|
45
41
|
isCommentEditor: false,
|
|
46
42
|
isChromelessEditor: false,
|
|
47
|
-
allowFixedColumnWidthOption:
|
|
43
|
+
allowFixedColumnWidthOption: true
|
|
48
44
|
};
|
|
49
45
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
1
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
3
2
|
export function tablePluginOptions({
|
|
4
3
|
options
|
|
@@ -28,15 +27,12 @@ export function tablePluginOptions({
|
|
|
28
27
|
maxWidthEnabled: options.editorAppearance === 'max',
|
|
29
28
|
wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
|
|
30
29
|
getEditorFeatureFlags: () => ({
|
|
31
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
32
|
-
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
33
|
-
// END SECTION
|
|
34
30
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
35
31
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
36
32
|
// END SECTION
|
|
37
33
|
}),
|
|
38
34
|
isCommentEditor: false,
|
|
39
35
|
isChromelessEditor: false,
|
|
40
|
-
allowFixedColumnWidthOption:
|
|
36
|
+
allowFixedColumnWidthOption: true
|
|
41
37
|
};
|
|
42
38
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
1
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
3
2
|
export function tablePluginOptions(_ref) {
|
|
4
3
|
var options = _ref.options;
|
|
@@ -28,9 +27,6 @@ export function tablePluginOptions(_ref) {
|
|
|
28
27
|
wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
|
|
29
28
|
getEditorFeatureFlags: function getEditorFeatureFlags() {
|
|
30
29
|
return {
|
|
31
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
32
|
-
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
33
|
-
// END SECTION
|
|
34
30
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
35
31
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
36
32
|
// END SECTION
|
|
@@ -38,6 +34,6 @@ export function tablePluginOptions(_ref) {
|
|
|
38
34
|
},
|
|
39
35
|
isCommentEditor: false,
|
|
40
36
|
isChromelessEditor: false,
|
|
41
|
-
allowFixedColumnWidthOption:
|
|
37
|
+
allowFixedColumnWidthOption: true
|
|
42
38
|
};
|
|
43
39
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.1",
|
|
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": {
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^14.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^138.
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^138.1.0",
|
|
120
120
|
"@atlassian/ari": "^2.596.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^3.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
@@ -174,9 +174,6 @@
|
|
|
174
174
|
"platform_editor_ai_aifc_streaming": {
|
|
175
175
|
"type": "boolean"
|
|
176
176
|
},
|
|
177
|
-
"platform_editor_table_fixed_column_width_prop": {
|
|
178
|
-
"type": "boolean"
|
|
179
|
-
},
|
|
180
177
|
"confluence_remix_button_right_side_block_fg": {
|
|
181
178
|
"type": "boolean"
|
|
182
179
|
}
|