@atlaskit/editor-presets 0.2.3 → 1.0.0
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 +6 -0
- package/dist/cjs/confluence-full-page-base/pluginOptions/tablePluginOptions.js +4 -0
- package/dist/es2019/confluence-full-page-base/pluginOptions/tablePluginOptions.js +4 -0
- package/dist/esm/confluence-full-page-base/pluginOptions/tablePluginOptions.js +4 -0
- package/package.json +97 -97
package/CHANGELOG.md
CHANGED
|
@@ -26,6 +26,9 @@ 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
|
|
29
32
|
isTableScalingEnabled: true,
|
|
30
33
|
allowContextualMenu: true,
|
|
31
34
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -36,6 +39,7 @@ function tablePluginOptions(_ref) {
|
|
|
36
39
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
37
40
|
tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
38
41
|
// END SECTION
|
|
42
|
+
|
|
39
43
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
40
44
|
tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
|
|
41
45
|
// END SECTION
|
|
@@ -21,6 +21,9 @@ 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
|
|
24
27
|
isTableScalingEnabled: true,
|
|
25
28
|
allowContextualMenu: true,
|
|
26
29
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -30,6 +33,7 @@ export function tablePluginOptions({
|
|
|
30
33
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
31
34
|
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
32
35
|
// END SECTION
|
|
36
|
+
|
|
33
37
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
34
38
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
35
39
|
// END SECTION
|
|
@@ -20,6 +20,9 @@ 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
|
|
23
26
|
isTableScalingEnabled: true,
|
|
24
27
|
allowContextualMenu: true,
|
|
25
28
|
fullWidthEnabled: options.editorAppearance === 'full-width',
|
|
@@ -30,6 +33,7 @@ export function tablePluginOptions(_ref) {
|
|
|
30
33
|
// SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
|
|
31
34
|
tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
|
|
32
35
|
// END SECTION
|
|
36
|
+
|
|
33
37
|
// SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
|
|
34
38
|
tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
|
|
35
39
|
// END SECTION
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
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": {
|
|
@@ -28,106 +28,106 @@
|
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"atlaskit:src": "src/index.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^52.
|
|
32
|
-
"@atlaskit/editor-plugin-accessibility-utils": "^
|
|
33
|
-
"@atlaskit/editor-plugin-alignment": "^
|
|
34
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
35
|
-
"@atlaskit/editor-plugin-annotation": "^
|
|
36
|
-
"@atlaskit/editor-plugin-avatar-group": "^
|
|
37
|
-
"@atlaskit/editor-plugin-base": "^
|
|
38
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "^
|
|
39
|
-
"@atlaskit/editor-plugin-better-type-history": "^
|
|
40
|
-
"@atlaskit/editor-plugin-block-controls": "^
|
|
41
|
-
"@atlaskit/editor-plugin-block-menu": "^
|
|
42
|
-
"@atlaskit/editor-plugin-block-type": "^
|
|
43
|
-
"@atlaskit/editor-plugin-border": "^
|
|
44
|
-
"@atlaskit/editor-plugin-breakout": "^
|
|
45
|
-
"@atlaskit/editor-plugin-caption": "^
|
|
46
|
-
"@atlaskit/editor-plugin-card": "^
|
|
47
|
-
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^
|
|
48
|
-
"@atlaskit/editor-plugin-clipboard": "^
|
|
49
|
-
"@atlaskit/editor-plugin-code-bidi-warning": "^
|
|
50
|
-
"@atlaskit/editor-plugin-code-block": "^
|
|
51
|
-
"@atlaskit/editor-plugin-code-block-advanced": "^
|
|
52
|
-
"@atlaskit/editor-plugin-collab-edit": "^
|
|
53
|
-
"@atlaskit/editor-plugin-composition": "^
|
|
54
|
-
"@atlaskit/editor-plugin-connectivity": "^
|
|
55
|
-
"@atlaskit/editor-plugin-content-format": "^
|
|
56
|
-
"@atlaskit/editor-plugin-content-insertion": "^
|
|
57
|
-
"@atlaskit/editor-plugin-context-identifier": "^
|
|
58
|
-
"@atlaskit/editor-plugin-context-panel": "^
|
|
59
|
-
"@atlaskit/editor-plugin-copy-button": "^
|
|
60
|
-
"@atlaskit/editor-plugin-custom-autoformat": "^
|
|
61
|
-
"@atlaskit/editor-plugin-data-consumer": "^
|
|
62
|
-
"@atlaskit/editor-plugin-date": "^
|
|
63
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
64
|
-
"@atlaskit/editor-plugin-editor-disabled": "^
|
|
65
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
66
|
-
"@atlaskit/editor-plugin-editor-viewmode-effects": "^
|
|
67
|
-
"@atlaskit/editor-plugin-emoji": "^
|
|
68
|
-
"@atlaskit/editor-plugin-expand": "^
|
|
69
|
-
"@atlaskit/editor-plugin-extension": "^
|
|
70
|
-
"@atlaskit/editor-plugin-feature-flags": "^
|
|
71
|
-
"@atlaskit/editor-plugin-find-replace": "^
|
|
72
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
73
|
-
"@atlaskit/editor-plugin-focus": "^
|
|
74
|
-
"@atlaskit/editor-plugin-fragment": "^
|
|
75
|
-
"@atlaskit/editor-plugin-grid": "^
|
|
76
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
77
|
-
"@atlaskit/editor-plugin-help-dialog": "^
|
|
78
|
-
"@atlaskit/editor-plugin-highlight": "^
|
|
79
|
-
"@atlaskit/editor-plugin-history": "^
|
|
80
|
-
"@atlaskit/editor-plugin-hyperlink": "^
|
|
81
|
-
"@atlaskit/editor-plugin-indentation": "^
|
|
82
|
-
"@atlaskit/editor-plugin-insert-block": "^
|
|
83
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
84
|
-
"@atlaskit/editor-plugin-layout": "^
|
|
85
|
-
"@atlaskit/editor-plugin-limited-mode": "^
|
|
86
|
-
"@atlaskit/editor-plugin-list": "^
|
|
87
|
-
"@atlaskit/editor-plugin-local-id": "^
|
|
88
|
-
"@atlaskit/editor-plugin-loom": "^
|
|
89
|
-
"@atlaskit/editor-plugin-media": "^
|
|
90
|
-
"@atlaskit/editor-plugin-media-insert": "^
|
|
91
|
-
"@atlaskit/editor-plugin-mentions": "^
|
|
92
|
-
"@atlaskit/editor-plugin-metrics": "^
|
|
93
|
-
"@atlaskit/editor-plugin-panel": "^
|
|
94
|
-
"@atlaskit/editor-plugin-paste": "^
|
|
95
|
-
"@atlaskit/editor-plugin-paste-options-toolbar": "^
|
|
96
|
-
"@atlaskit/editor-plugin-placeholder": "^
|
|
97
|
-
"@atlaskit/editor-plugin-placeholder-text": "^
|
|
98
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^
|
|
99
|
-
"@atlaskit/editor-plugin-quick-insert": "^
|
|
100
|
-
"@atlaskit/editor-plugin-rule": "^
|
|
101
|
-
"@atlaskit/editor-plugin-scroll-into-view": "^
|
|
102
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
103
|
-
"@atlaskit/editor-plugin-selection-extension": "^
|
|
104
|
-
"@atlaskit/editor-plugin-selection-marker": "^
|
|
105
|
-
"@atlaskit/editor-plugin-selection-toolbar": "^
|
|
106
|
-
"@atlaskit/editor-plugin-show-diff": "^
|
|
107
|
-
"@atlaskit/editor-plugin-status": "^
|
|
108
|
-
"@atlaskit/editor-plugin-submit-editor": "^
|
|
109
|
-
"@atlaskit/editor-plugin-synced-block": "^
|
|
110
|
-
"@atlaskit/editor-plugin-table": "^
|
|
111
|
-
"@atlaskit/editor-plugin-tasks-and-decisions": "^
|
|
112
|
-
"@atlaskit/editor-plugin-text-color": "^
|
|
113
|
-
"@atlaskit/editor-plugin-text-formatting": "^
|
|
114
|
-
"@atlaskit/editor-plugin-toolbar": "^
|
|
115
|
-
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^
|
|
116
|
-
"@atlaskit/editor-plugin-track-changes": "^
|
|
117
|
-
"@atlaskit/editor-plugin-type-ahead": "^
|
|
118
|
-
"@atlaskit/editor-plugin-ufo": "^
|
|
119
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
120
|
-
"@atlaskit/editor-plugin-undo-redo": "^
|
|
121
|
-
"@atlaskit/editor-plugin-unsupported-content": "^
|
|
122
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
123
|
-
"@atlaskit/editor-plugin-user-preferences": "^
|
|
124
|
-
"@atlaskit/editor-plugin-width": "^
|
|
31
|
+
"@atlaskit/adf-schema": "^52.5.0",
|
|
32
|
+
"@atlaskit/editor-plugin-accessibility-utils": "^9.0.0",
|
|
33
|
+
"@atlaskit/editor-plugin-alignment": "^10.0.0",
|
|
34
|
+
"@atlaskit/editor-plugin-analytics": "^9.0.0",
|
|
35
|
+
"@atlaskit/editor-plugin-annotation": "^9.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-avatar-group": "^10.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-base": "^10.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "^9.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-better-type-history": "^9.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-block-controls": "^10.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-block-menu": "^8.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-block-type": "^13.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-border": "^9.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-breakout": "^9.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-caption": "^9.0.0",
|
|
46
|
+
"@atlaskit/editor-plugin-card": "^15.0.0",
|
|
47
|
+
"@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^9.0.0",
|
|
48
|
+
"@atlaskit/editor-plugin-clipboard": "^9.0.0",
|
|
49
|
+
"@atlaskit/editor-plugin-code-bidi-warning": "^9.0.0",
|
|
50
|
+
"@atlaskit/editor-plugin-code-block": "^11.0.0",
|
|
51
|
+
"@atlaskit/editor-plugin-code-block-advanced": "^9.0.0",
|
|
52
|
+
"@atlaskit/editor-plugin-collab-edit": "^10.0.0",
|
|
53
|
+
"@atlaskit/editor-plugin-composition": "^8.0.0",
|
|
54
|
+
"@atlaskit/editor-plugin-connectivity": "^9.0.0",
|
|
55
|
+
"@atlaskit/editor-plugin-content-format": "^3.0.0",
|
|
56
|
+
"@atlaskit/editor-plugin-content-insertion": "^9.0.0",
|
|
57
|
+
"@atlaskit/editor-plugin-context-identifier": "^9.0.0",
|
|
58
|
+
"@atlaskit/editor-plugin-context-panel": "^11.0.0",
|
|
59
|
+
"@atlaskit/editor-plugin-copy-button": "^9.0.0",
|
|
60
|
+
"@atlaskit/editor-plugin-custom-autoformat": "^9.0.0",
|
|
61
|
+
"@atlaskit/editor-plugin-data-consumer": "^9.0.0",
|
|
62
|
+
"@atlaskit/editor-plugin-date": "^11.0.0",
|
|
63
|
+
"@atlaskit/editor-plugin-decorations": "^9.0.0",
|
|
64
|
+
"@atlaskit/editor-plugin-editor-disabled": "^9.0.0",
|
|
65
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^11.0.0",
|
|
66
|
+
"@atlaskit/editor-plugin-editor-viewmode-effects": "^9.0.0",
|
|
67
|
+
"@atlaskit/editor-plugin-emoji": "^10.0.0",
|
|
68
|
+
"@atlaskit/editor-plugin-expand": "^10.0.0",
|
|
69
|
+
"@atlaskit/editor-plugin-extension": "^12.0.0",
|
|
70
|
+
"@atlaskit/editor-plugin-feature-flags": "^8.0.0",
|
|
71
|
+
"@atlaskit/editor-plugin-find-replace": "^9.0.0",
|
|
72
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^11.0.0",
|
|
73
|
+
"@atlaskit/editor-plugin-focus": "^8.0.0",
|
|
74
|
+
"@atlaskit/editor-plugin-fragment": "^9.0.0",
|
|
75
|
+
"@atlaskit/editor-plugin-grid": "^9.0.0",
|
|
76
|
+
"@atlaskit/editor-plugin-guideline": "^9.0.0",
|
|
77
|
+
"@atlaskit/editor-plugin-help-dialog": "^9.0.0",
|
|
78
|
+
"@atlaskit/editor-plugin-highlight": "^9.0.0",
|
|
79
|
+
"@atlaskit/editor-plugin-history": "^9.0.0",
|
|
80
|
+
"@atlaskit/editor-plugin-hyperlink": "^11.0.0",
|
|
81
|
+
"@atlaskit/editor-plugin-indentation": "^9.0.0",
|
|
82
|
+
"@atlaskit/editor-plugin-insert-block": "^10.0.0",
|
|
83
|
+
"@atlaskit/editor-plugin-interaction": "^18.0.0",
|
|
84
|
+
"@atlaskit/editor-plugin-layout": "^9.0.0",
|
|
85
|
+
"@atlaskit/editor-plugin-limited-mode": "^6.0.0",
|
|
86
|
+
"@atlaskit/editor-plugin-list": "^11.0.0",
|
|
87
|
+
"@atlaskit/editor-plugin-local-id": "^7.0.0",
|
|
88
|
+
"@atlaskit/editor-plugin-loom": "^11.0.0",
|
|
89
|
+
"@atlaskit/editor-plugin-media": "^11.0.0",
|
|
90
|
+
"@atlaskit/editor-plugin-media-insert": "^22.0.0",
|
|
91
|
+
"@atlaskit/editor-plugin-mentions": "^11.0.0",
|
|
92
|
+
"@atlaskit/editor-plugin-metrics": "^10.0.0",
|
|
93
|
+
"@atlaskit/editor-plugin-panel": "^11.0.0",
|
|
94
|
+
"@atlaskit/editor-plugin-paste": "^10.0.0",
|
|
95
|
+
"@atlaskit/editor-plugin-paste-options-toolbar": "^10.0.0",
|
|
96
|
+
"@atlaskit/editor-plugin-placeholder": "^9.0.0",
|
|
97
|
+
"@atlaskit/editor-plugin-placeholder-text": "^10.0.0",
|
|
98
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^10.0.0",
|
|
99
|
+
"@atlaskit/editor-plugin-quick-insert": "^9.0.0",
|
|
100
|
+
"@atlaskit/editor-plugin-rule": "^9.0.0",
|
|
101
|
+
"@atlaskit/editor-plugin-scroll-into-view": "^9.0.0",
|
|
102
|
+
"@atlaskit/editor-plugin-selection": "^9.0.0",
|
|
103
|
+
"@atlaskit/editor-plugin-selection-extension": "^12.0.0",
|
|
104
|
+
"@atlaskit/editor-plugin-selection-marker": "^9.0.0",
|
|
105
|
+
"@atlaskit/editor-plugin-selection-toolbar": "^10.0.0",
|
|
106
|
+
"@atlaskit/editor-plugin-show-diff": "^7.0.0",
|
|
107
|
+
"@atlaskit/editor-plugin-status": "^10.0.0",
|
|
108
|
+
"@atlaskit/editor-plugin-submit-editor": "^9.0.0",
|
|
109
|
+
"@atlaskit/editor-plugin-synced-block": "^7.0.0",
|
|
110
|
+
"@atlaskit/editor-plugin-table": "^20.0.0",
|
|
111
|
+
"@atlaskit/editor-plugin-tasks-and-decisions": "^12.0.0",
|
|
112
|
+
"@atlaskit/editor-plugin-text-color": "^9.0.0",
|
|
113
|
+
"@atlaskit/editor-plugin-text-formatting": "^9.0.0",
|
|
114
|
+
"@atlaskit/editor-plugin-toolbar": "^6.0.0",
|
|
115
|
+
"@atlaskit/editor-plugin-toolbar-lists-indentation": "^10.0.0",
|
|
116
|
+
"@atlaskit/editor-plugin-track-changes": "^8.0.0",
|
|
117
|
+
"@atlaskit/editor-plugin-type-ahead": "^9.0.0",
|
|
118
|
+
"@atlaskit/editor-plugin-ufo": "^9.0.0",
|
|
119
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^3.0.0",
|
|
120
|
+
"@atlaskit/editor-plugin-undo-redo": "^9.0.0",
|
|
121
|
+
"@atlaskit/editor-plugin-unsupported-content": "^9.0.0",
|
|
122
|
+
"@atlaskit/editor-plugin-user-intent": "^7.0.0",
|
|
123
|
+
"@atlaskit/editor-plugin-user-preferences": "^7.0.0",
|
|
124
|
+
"@atlaskit/editor-plugin-width": "^10.0.0",
|
|
125
125
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
126
|
-
"@atlaskit/tmp-editor-statsig": "^62.
|
|
126
|
+
"@atlaskit/tmp-editor-statsig": "^62.4.0",
|
|
127
127
|
"@babel/runtime": "^7.0.0"
|
|
128
128
|
},
|
|
129
129
|
"peerDependencies": {
|
|
130
|
-
"@atlaskit/editor-common": "^
|
|
130
|
+
"@atlaskit/editor-common": "^113.0.0",
|
|
131
131
|
"react": "^18.2.0",
|
|
132
132
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
133
133
|
},
|