@atlaskit/editor-core 193.27.0 → 193.27.2
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/presets/universal.js +3 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +3 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +3 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +23 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.27.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#111381](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111381)
|
|
8
|
+
[`5ec7ab3d39035`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5ec7ab3d39035) -
|
|
9
|
+
Replace the LD flag controlling new column resizing experience with statsig experiment
|
|
10
|
+
|
|
3
11
|
## 193.27.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -135,14 +135,15 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
135
135
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
136
136
|
}], Boolean(props.emojiProvider)).maybeAdd([_table.tablesPlugin, {
|
|
137
137
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
138
|
-
tableResizingEnabled:
|
|
138
|
+
tableResizingEnabled: isFullPage,
|
|
139
139
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
140
140
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
141
141
|
allowContextualMenu: !isMobile,
|
|
142
142
|
fullWidthEnabled: appearance === 'full-width',
|
|
143
143
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
144
144
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
145
|
-
isTableAlignmentEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.allow-table-alignment') && isFullPage
|
|
145
|
+
isTableAlignmentEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.allow-table-alignment') && isFullPage,
|
|
146
|
+
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
|
|
146
147
|
}], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
|
|
147
148
|
allowNestedTasks: props.allowNestedTasks,
|
|
148
149
|
consumeTabs: isFullPage,
|
|
@@ -125,14 +125,15 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
125
125
|
getEditorFeatureFlags
|
|
126
126
|
}], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
127
127
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
128
|
-
tableResizingEnabled:
|
|
128
|
+
tableResizingEnabled: isFullPage,
|
|
129
129
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
130
130
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
131
131
|
allowContextualMenu: !isMobile,
|
|
132
132
|
fullWidthEnabled: appearance === 'full-width',
|
|
133
133
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
134
134
|
getEditorFeatureFlags,
|
|
135
|
-
isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
|
|
135
|
+
isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage,
|
|
136
|
+
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
|
|
136
137
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
|
|
137
138
|
allowNestedTasks: props.allowNestedTasks,
|
|
138
139
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.27.
|
|
2
|
+
export const version = "193.27.2";
|
|
@@ -127,14 +127,15 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
127
127
|
getEditorFeatureFlags: getEditorFeatureFlags
|
|
128
128
|
}], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
129
129
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
130
|
-
tableResizingEnabled:
|
|
130
|
+
tableResizingEnabled: isFullPage,
|
|
131
131
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
132
132
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
133
133
|
allowContextualMenu: !isMobile,
|
|
134
134
|
fullWidthEnabled: appearance === 'full-width',
|
|
135
135
|
wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
|
|
136
136
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
137
|
-
isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
|
|
137
|
+
isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage,
|
|
138
|
+
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
|
|
138
139
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
|
|
139
140
|
allowNestedTasks: props.allowNestedTasks,
|
|
140
141
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.27.
|
|
2
|
+
export var version = "193.27.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.27.
|
|
3
|
+
"version": "193.27.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
18
21
|
}
|
|
19
22
|
},
|
|
20
23
|
"sideEffects": false,
|
|
@@ -28,7 +31,10 @@
|
|
|
28
31
|
"name": "Editor Core"
|
|
29
32
|
},
|
|
30
33
|
"integrationTests": {
|
|
31
|
-
"additionalBrowsers": [
|
|
34
|
+
"additionalBrowsers": [
|
|
35
|
+
"desktop-firefox",
|
|
36
|
+
"desktop-webkit"
|
|
37
|
+
]
|
|
32
38
|
},
|
|
33
39
|
"runReact18": true
|
|
34
40
|
},
|
|
@@ -39,7 +45,7 @@
|
|
|
39
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
40
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
41
47
|
"@atlaskit/button": "^17.17.0",
|
|
42
|
-
"@atlaskit/editor-common": "^82.
|
|
48
|
+
"@atlaskit/editor-common": "^82.7.0",
|
|
43
49
|
"@atlaskit/editor-json-transformer": "^8.13.0",
|
|
44
50
|
"@atlaskit/editor-plugins": "^3.2.0",
|
|
45
51
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
@@ -94,7 +100,7 @@
|
|
|
94
100
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
95
101
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
96
102
|
"@atlaskit/modal-dialog": "^12.13.0",
|
|
97
|
-
"@atlaskit/primitives": "^7.
|
|
103
|
+
"@atlaskit/primitives": "^7.3.0",
|
|
98
104
|
"@atlaskit/renderer": "^109.32.0",
|
|
99
105
|
"@atlaskit/smart-card": "^27.6.0",
|
|
100
106
|
"@atlaskit/synchrony-test-helpers": "^2.4.0",
|
|
@@ -124,13 +130,21 @@
|
|
|
124
130
|
},
|
|
125
131
|
"techstack": {
|
|
126
132
|
"@atlassian/frontend": {
|
|
127
|
-
"import-structure": [
|
|
128
|
-
|
|
133
|
+
"import-structure": [
|
|
134
|
+
"atlassian-conventions"
|
|
135
|
+
],
|
|
136
|
+
"circular-dependencies": [
|
|
137
|
+
"file-level"
|
|
138
|
+
]
|
|
129
139
|
},
|
|
130
140
|
"@repo/internal": {
|
|
131
141
|
"deprecation": "no-deprecated-imports",
|
|
132
|
-
"design-tokens": [
|
|
133
|
-
|
|
142
|
+
"design-tokens": [
|
|
143
|
+
"color"
|
|
144
|
+
],
|
|
145
|
+
"styling": [
|
|
146
|
+
"emotion"
|
|
147
|
+
]
|
|
134
148
|
}
|
|
135
149
|
},
|
|
136
150
|
"platform-feature-flags": {
|
|
@@ -276,10 +290,6 @@
|
|
|
276
290
|
"type": "boolean",
|
|
277
291
|
"referenceOnly": "true"
|
|
278
292
|
},
|
|
279
|
-
"platform.editor.table.colum-resizing-improvements": {
|
|
280
|
-
"type": "boolean",
|
|
281
|
-
"referenceOnly": "true"
|
|
282
|
-
},
|
|
283
293
|
"platform.editor.table.use-increased-scaling-percent": {
|
|
284
294
|
"type": "boolean",
|
|
285
295
|
"referenceOnly": "true"
|