@atlaskit/editor-core 216.7.9 → 216.7.10
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/presets/universal.js +3 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +3 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +3 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 216.7.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a218bead9e6a7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a218bead9e6a7) -
|
|
8
|
+
EDITOR-4542 Make isTableWithFixedColumnWidthsOptionEnabled an editor prop instead of using FG
|
|
9
|
+
value
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 216.7.9
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -57,6 +57,7 @@ var _tasksAndDecisions = require("@atlaskit/editor-plugins/tasks-and-decisions")
|
|
|
57
57
|
var _textColor = require("@atlaskit/editor-plugins/text-color");
|
|
58
58
|
var _toolbarListsIndentation = require("@atlaskit/editor-plugins/toolbar-lists-indentation");
|
|
59
59
|
var _ufo = require("@atlaskit/editor-plugins/ufo");
|
|
60
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
60
61
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
61
62
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
62
63
|
var _isFullPage = require("../utils/is-full-page");
|
|
@@ -168,7 +169,8 @@ function createUniversalPresetInternal(_ref) {
|
|
|
168
169
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
169
170
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
170
171
|
isCommentEditor: isComment,
|
|
171
|
-
isChromelessEditor: isChromeless
|
|
172
|
+
isChromelessEditor: isChromeless,
|
|
173
|
+
allowFixedColumnWidthOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? props.allowTables && typeof props.allowTables !== 'boolean' && props.allowTables.allowFixedColumnWidthOption : false
|
|
172
174
|
}], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, _objectSpread({
|
|
173
175
|
allowNestedTasks: props.allowNestedTasks,
|
|
174
176
|
consumeTabs: isFullPage,
|
|
@@ -47,6 +47,7 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-deci
|
|
|
47
47
|
import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
|
|
48
48
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
|
|
49
49
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
50
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
50
51
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
51
52
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
52
53
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
@@ -161,7 +162,8 @@ export default function createUniversalPresetInternal({
|
|
|
161
162
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
162
163
|
getEditorFeatureFlags,
|
|
163
164
|
isCommentEditor: isComment,
|
|
164
|
-
isChromelessEditor: isChromeless
|
|
165
|
+
isChromelessEditor: isChromeless,
|
|
166
|
+
allowFixedColumnWidthOption: fg('platform_editor_table_fixed_column_width_prop') ? props.allowTables && typeof props.allowTables !== 'boolean' && props.allowTables.allowFixedColumnWidthOption : false
|
|
165
167
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
|
|
166
168
|
allowNestedTasks: props.allowNestedTasks,
|
|
167
169
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "
|
|
2
|
+
export const version = "216.7.9";
|
|
@@ -51,6 +51,7 @@ import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-deci
|
|
|
51
51
|
import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
|
|
52
52
|
import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
|
|
53
53
|
import { ufoPlugin } from '@atlaskit/editor-plugins/ufo';
|
|
54
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
54
55
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
55
56
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
56
57
|
import { isFullPage as fullPageCheck } from '../utils/is-full-page';
|
|
@@ -161,7 +162,8 @@ export default function createUniversalPresetInternal(_ref) {
|
|
|
161
162
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
162
163
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
163
164
|
isCommentEditor: isComment,
|
|
164
|
-
isChromelessEditor: isChromeless
|
|
165
|
+
isChromelessEditor: isChromeless,
|
|
166
|
+
allowFixedColumnWidthOption: fg('platform_editor_table_fixed_column_width_prop') ? props.allowTables && typeof props.allowTables !== 'boolean' && props.allowTables.allowFixedColumnWidthOption : false
|
|
165
167
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, _objectSpread({
|
|
166
168
|
allowNestedTasks: props.allowNestedTasks,
|
|
167
169
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "
|
|
2
|
+
export var version = "216.7.9";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "216.7.
|
|
3
|
+
"version": "216.7.10",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^5.0.0",
|
|
68
68
|
"@atlaskit/task-decision": "^19.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^16.35.0",
|
|
70
70
|
"@atlaskit/tokens": "^10.1.0",
|
|
71
71
|
"@atlaskit/tooltip": "^20.14.0",
|
|
72
72
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -350,6 +350,9 @@
|
|
|
350
350
|
"rovo_chat_enable_skills_ui_m1": {
|
|
351
351
|
"type": "boolean"
|
|
352
352
|
},
|
|
353
|
+
"platform_editor_table_fixed_column_width_prop": {
|
|
354
|
+
"type": "boolean"
|
|
355
|
+
},
|
|
353
356
|
"platform_editor_a11y_find_replace_focus_ring": {
|
|
354
357
|
"type": "boolean"
|
|
355
358
|
},
|