@atlaskit/editor-core 197.7.6 → 197.8.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 +19 -0
- package/appearance-editor-full-page/package.json +15 -0
- package/appearance-editor-full-width/package.json +15 -0
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/editor-appearances/FullPageEditor.d.ts +4 -1
- package/dist/types/editor-appearances/FullWidthEditor.d.ts +4 -1
- package/dist/types-ts4.5/editor-appearances/FullPageEditor.d.ts +4 -1
- package/dist/types-ts4.5/editor-appearances/FullWidthEditor.d.ts +4 -1
- package/package.json +10 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 197.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#142155](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/142155)
|
|
8
|
+
[`9749eb9ba2987`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9749eb9ba2987) -
|
|
9
|
+
Remove platform.editor.table.use-increased-scaling-percent feature flag
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 197.8.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#142076](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/142076)
|
|
17
|
+
[`b18a99f9877b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b18a99f9877b7) -
|
|
18
|
+
Introduce new editor components that are decoupled from other appearances: `FullPageEditor` and
|
|
19
|
+
`FullWidthEditor`. These have a similar API as `ComposableEditor` except have the UI code and
|
|
20
|
+
state only from the relevant appearance.
|
|
21
|
+
|
|
3
22
|
## 197.7.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-core/appearance-editor-full-page",
|
|
3
|
+
"main": "../dist/cjs/editor-appearances/FullPageEditor.js",
|
|
4
|
+
"module": "../dist/esm/editor-appearances/FullPageEditor.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/editor-appearances/FullPageEditor.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/editor-appearances/FullPageEditor.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.4": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/editor-appearances/FullPageEditor.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-core/appearance-editor-full-width",
|
|
3
|
+
"main": "../dist/cjs/editor-appearances/FullWidthEditor.js",
|
|
4
|
+
"module": "../dist/esm/editor-appearances/FullWidthEditor.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/editor-appearances/FullWidthEditor.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/editor-appearances/FullWidthEditor.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.4": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/editor-appearances/FullWidthEditor.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "197.
|
|
2
|
+
export const version = "197.8.1";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "197.
|
|
2
|
+
export var version = "197.8.1";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullPageEditorProps = Pick<EditorNextProps, 'preset'
|
|
3
|
+
export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'trackValidTransactions' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
|
+
onChange?: () => void;
|
|
5
|
+
onEditorReady?: () => void;
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-page".
|
|
6
9
|
*
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset'
|
|
3
|
+
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'trackValidTransactions' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
|
+
onChange?: () => void;
|
|
5
|
+
onEditorReady?: () => void;
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-width".
|
|
6
9
|
*
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullPageEditorProps = Pick<EditorNextProps, 'preset'
|
|
3
|
+
export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'trackValidTransactions' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
|
+
onChange?: () => void;
|
|
5
|
+
onEditorReady?: () => void;
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-page".
|
|
6
9
|
*
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset'
|
|
3
|
+
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'performanceTracking' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'trackValidTransactions' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
|
+
onChange?: () => void;
|
|
5
|
+
onEditorReady?: () => void;
|
|
6
|
+
};
|
|
4
7
|
/**
|
|
5
8
|
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-width".
|
|
6
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "197.
|
|
3
|
+
"version": "197.8.1",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/button": "^20.1.0",
|
|
46
46
|
"@atlaskit/editor-common": "^89.3.0",
|
|
47
47
|
"@atlaskit/editor-json-transformer": "^8.18.0",
|
|
48
|
-
"@atlaskit/editor-plugins": "^5.
|
|
48
|
+
"@atlaskit/editor-plugins": "^5.3.0",
|
|
49
49
|
"@atlaskit/editor-prosemirror": "6.0.0",
|
|
50
50
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
51
51
|
"@atlaskit/emoji": "^67.7.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"@atlaskit/media-test-helpers": "^34.3.0",
|
|
98
98
|
"@atlaskit/modal-dialog": "^12.15.0",
|
|
99
99
|
"@atlaskit/primitives": "^12.1.0",
|
|
100
|
-
"@atlaskit/renderer": "^110.
|
|
100
|
+
"@atlaskit/renderer": "^110.2.0",
|
|
101
101
|
"@atlaskit/smart-card": "^28.1.0",
|
|
102
102
|
"@atlaskit/synchrony-test-helpers": "^2.5.0",
|
|
103
103
|
"@atlaskit/toggle": "^13.4.0",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@atlaskit/visual-regression": "*",
|
|
106
106
|
"@atlassian/adf-schema-json": "^1.22.0",
|
|
107
107
|
"@atlassian/feature-flags-test-utils": "*",
|
|
108
|
-
"@atlassian/search-provider": "2.4.
|
|
108
|
+
"@atlassian/search-provider": "2.4.134",
|
|
109
109
|
"@emotion/jest": "^11.8.0",
|
|
110
110
|
"@storybook/addon-knobs": "^5.3.18",
|
|
111
111
|
"@testing-library/react": "^12.1.5",
|
|
@@ -207,10 +207,6 @@
|
|
|
207
207
|
"type": "boolean",
|
|
208
208
|
"referenceOnly": "true"
|
|
209
209
|
},
|
|
210
|
-
"platform.editor.table.use-increased-scaling-percent": {
|
|
211
|
-
"type": "boolean",
|
|
212
|
-
"referenceOnly": "true"
|
|
213
|
-
},
|
|
214
210
|
"platform.editor.live-view.disable-editing-in-view-mode_fi1rx": {
|
|
215
211
|
"type": "boolean",
|
|
216
212
|
"referenceOnly": "true"
|
|
@@ -278,6 +274,10 @@
|
|
|
278
274
|
},
|
|
279
275
|
"platform_editor_mark_boundary_cursor": {
|
|
280
276
|
"type": "boolean"
|
|
277
|
+
},
|
|
278
|
+
"platform_editor_action_decisions_ssr_fix": {
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"referenceOnly": true
|
|
281
281
|
}
|
|
282
282
|
},
|
|
283
283
|
"stricter": {
|
|
@@ -302,6 +302,8 @@
|
|
|
302
302
|
"./use-preset": "./src/use-preset.ts",
|
|
303
303
|
"./use-preset-context": "./src/presets/context.tsx",
|
|
304
304
|
"./preset-builder": "./src/preset-builder.ts",
|
|
305
|
+
"./appearance-editor-full-page": "./src/editor-appearances/FullPageEditor.tsx",
|
|
306
|
+
"./appearance-editor-full-width": "./src/editor-appearances/FullWidthEditor.tsx",
|
|
305
307
|
"./version-wrapper": "./src/version-wrapper.ts"
|
|
306
308
|
}
|
|
307
309
|
}
|