@atlaskit/editor-core 207.0.2 → 207.0.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/ui/Appearance/Chromeless.js +13 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +3 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +3 -1
- package/dist/cjs/ui/ContentStyles/ai-panels.js +6 -1
- package/dist/cjs/ui/ContentStyles/index.js +2 -2
- package/dist/cjs/ui/ContentStyles/layout.js +8 -1
- package/dist/cjs/ui/ContentStyles/status.js +2 -2
- package/dist/cjs/ui/EditorContentContainer.js +220 -30
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/Chromeless.js +11 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +3 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +3 -1
- package/dist/es2019/ui/ContentStyles/ai-panels.js +7 -0
- package/dist/es2019/ui/ContentStyles/index.js +4 -4
- package/dist/es2019/ui/ContentStyles/layout.js +7 -0
- package/dist/es2019/ui/ContentStyles/status.js +2 -2
- package/dist/es2019/ui/EditorContentContainer.js +753 -34
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/Chromeless.js +13 -2
- package/dist/esm/ui/Appearance/Comment/Comment.js +3 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +3 -1
- package/dist/esm/ui/ContentStyles/ai-panels.js +7 -0
- package/dist/esm/ui/ContentStyles/index.js +2 -2
- package/dist/esm/ui/ContentStyles/layout.js +7 -0
- package/dist/esm/ui/ContentStyles/status.js +2 -2
- package/dist/esm/ui/EditorContentContainer.js +224 -30
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/Appearance/Chromeless.d.ts +8 -0
- package/dist/types/ui/ContentStyles/ai-panels.d.ts +6 -0
- package/dist/types/ui/ContentStyles/layout.d.ts +6 -0
- package/dist/types/ui/EditorContentContainer.d.ts +0 -3
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +8 -0
- package/dist/types-ts4.5/ui/ContentStyles/ai-panels.d.ts +6 -0
- package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +6 -0
- package/dist/types-ts4.5/ui/EditorContentContainer.d.ts +0 -3
- package/package.json +2 -2
|
@@ -21,11 +21,19 @@ type AppearanceProps = EditorAppearanceComponentProps<[
|
|
|
21
21
|
OptionalPlugin<MaxContentSizePlugin>,
|
|
22
22
|
OptionalPlugin<EditorViewModePlugin>
|
|
23
23
|
]>;
|
|
24
|
+
/**
|
|
25
|
+
* Render the editor in a chromeless appearance.
|
|
26
|
+
* Example use is the inline comment editor, which doesn't have editor toolbar
|
|
27
|
+
*/
|
|
24
28
|
export default class Editor extends React.Component<AppearanceProps> {
|
|
25
29
|
static displayName: string;
|
|
26
30
|
private appearance;
|
|
27
31
|
private containerElement;
|
|
28
32
|
private renderChrome;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
*/
|
|
29
37
|
render(): jsx.JSX.Element;
|
|
30
38
|
}
|
|
31
39
|
export {};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO ED-26957 - remove legacy styles when static emotion refactor is complete
|
|
3
|
+
* We are moving this to new location under FF: platform_editor_core_static_emotion
|
|
4
|
+
* New location: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
|
|
5
|
+
* If you are making updates to this file, please updates in new location as well.
|
|
6
|
+
*/
|
|
1
7
|
export declare const aiPanelStyles: (colorMode?: 'light' | 'dark') => import("@emotion/react").SerializedStyles;
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO ED-26957 - remove legacy styles when static emotion refactor is complete
|
|
3
|
+
* We are moving this to new location under FF: platform_editor_core_static_emotion
|
|
4
|
+
* New location: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
|
|
5
|
+
* If you are making updates to this file, please updates in new location as well.
|
|
6
|
+
*/
|
|
1
7
|
export declare const layoutStyles: (viewMode?: 'edit' | 'view') => import("@emotion/react").SerializedStyles;
|
|
@@ -6,9 +6,6 @@ import React from 'react';
|
|
|
6
6
|
import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
7
7
|
export declare const linkStyles: import("@emotion/react").SerializedStyles;
|
|
8
8
|
export declare const placeholderStyles: import("@emotion/react").SerializedStyles;
|
|
9
|
-
/**
|
|
10
|
-
* fix layout issue of first block node
|
|
11
|
-
*/
|
|
12
9
|
export declare const fixBlockControlStylesSSR: () => import("@emotion/react").SerializedStyles;
|
|
13
10
|
export type EditorContentContainerProps = {
|
|
14
11
|
className?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "207.0.
|
|
3
|
+
"version": "207.0.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^23.0.0",
|
|
48
48
|
"@atlaskit/css": "^0.10.0",
|
|
49
|
-
"@atlaskit/editor-common": "^105.
|
|
49
|
+
"@atlaskit/editor-common": "^105.4.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
51
51
|
"@atlaskit/editor-performance-metrics": "^2.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-quick-insert": "^2.5.0",
|