@atlaskit/editor-presets 0.2.2 → 0.2.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 +9 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +0 -4
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +0 -4
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +0 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 0.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2df767cd2e0e9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2df767cd2e0e9) -
|
|
8
|
+
Remove deprecated dragAndDropEnabled plugin option - table drag and drop is now always
|
|
9
|
+
enabled(EDITOR-6287)
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 0.2.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -26,9 +26,6 @@ function tablePluginOptions(_ref) {
|
|
|
26
26
|
stickyHeaders: true,
|
|
27
27
|
allowAddColumnWithCustomStep: false
|
|
28
28
|
},
|
|
29
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
30
|
-
dragAndDropEnabled: true,
|
|
31
|
-
// END SECTION
|
|
32
29
|
isTableScalingEnabled: true,
|
|
33
30
|
allowContextualMenu: true,
|
|
34
31
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -39,7 +36,6 @@ function tablePluginOptions(_ref) {
|
|
|
39
36
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
40
37
|
tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
41
38
|
// END SECTION
|
|
42
|
-
|
|
43
39
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
44
40
|
tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
|
|
45
41
|
// END SECTION
|
|
@@ -21,9 +21,6 @@ export function tablePluginOptions({
|
|
|
21
21
|
stickyHeaders: true,
|
|
22
22
|
allowAddColumnWithCustomStep: false
|
|
23
23
|
},
|
|
24
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
25
|
-
dragAndDropEnabled: true,
|
|
26
|
-
// END SECTION
|
|
27
24
|
isTableScalingEnabled: true,
|
|
28
25
|
allowContextualMenu: true,
|
|
29
26
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -33,7 +30,6 @@ export function tablePluginOptions({
|
|
|
33
30
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
34
31
|
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
35
32
|
// END SECTION
|
|
36
|
-
|
|
37
33
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
38
34
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
39
35
|
// END SECTION
|
|
@@ -20,9 +20,6 @@ export function tablePluginOptions(_ref) {
|
|
|
20
20
|
stickyHeaders: true,
|
|
21
21
|
allowAddColumnWithCustomStep: false
|
|
22
22
|
},
|
|
23
|
-
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
24
|
-
dragAndDropEnabled: true,
|
|
25
|
-
// END SECTION
|
|
26
23
|
isTableScalingEnabled: true,
|
|
27
24
|
allowContextualMenu: true,
|
|
28
25
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -33,7 +30,6 @@ export function tablePluginOptions(_ref) {
|
|
|
33
30
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
34
31
|
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
35
32
|
// END SECTION
|
|
36
|
-
|
|
37
33
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
38
34
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
39
35
|
// END SECTION
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.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": {
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@atlaskit/editor-plugin-status": "^9.1.0",
|
|
108
108
|
"@atlaskit/editor-plugin-submit-editor": "^8.0.0",
|
|
109
109
|
"@atlaskit/editor-plugin-synced-block": "^6.1.0",
|
|
110
|
-
"@atlaskit/editor-plugin-table": "^
|
|
110
|
+
"@atlaskit/editor-plugin-table": "^19.0.0",
|
|
111
111
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^11.4.0",
|
|
112
112
|
"@atlaskit/editor-plugin-text-color": "^8.1.0",
|
|
113
113
|
"@atlaskit/editor-plugin-text-formatting": "^8.2.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"@atlaskit/editor-plugin-user-preferences": "^6.0.0",
|
|
124
124
|
"@atlaskit/editor-plugin-width": "^9.0.0",
|
|
125
125
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
126
|
-
"@atlaskit/tmp-editor-statsig": "^62.
|
|
126
|
+
"@atlaskit/tmp-editor-statsig": "^62.2.0",
|
|
127
127
|
"@babel/runtime": "^7.0.0"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|