@atlaskit/editor-core 219.9.15 → 219.9.17
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 +17 -0
- package/dist/cjs/composable-editor/core-editor.js +7 -10
- package/dist/cjs/composable-editor/editor-internal-compiled.compiled.css +3 -0
- package/dist/cjs/composable-editor/editor-internal-compiled.js +27 -0
- package/dist/cjs/composable-editor/editor-internal-emotion.js +31 -0
- package/dist/cjs/composable-editor/editor-internal.js +17 -20
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +2 -15
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar-compiled.js +46 -0
- package/dist/cjs/ui/Appearance/FullPage/{FullPageToolbar-emotion.js → MainToolbar-emotion.js} +25 -24
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +14 -68
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.compiled.css +14 -0
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +35 -0
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +70 -0
- package/dist/cjs/ui/Appearance/FullPage/MainToolbarWrapper.js +7 -61
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +6 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/cjs/ui/EditorContentContainer/styles/layout.js +5 -7
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/core-editor.js +4 -11
- package/dist/es2019/composable-editor/editor-internal-compiled.compiled.css +3 -0
- package/dist/es2019/composable-editor/editor-internal-compiled.js +18 -0
- package/dist/es2019/composable-editor/editor-internal-emotion.js +23 -0
- package/dist/es2019/composable-editor/editor-internal.js +12 -21
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +1 -8
- package/dist/es2019/ui/Appearance/FullPage/{FullPageToolbar-compiled.js → MainToolbar-compiled.js} +19 -16
- package/dist/es2019/ui/Appearance/FullPage/{FullPageToolbar-emotion.js → MainToolbar-emotion.js} +20 -19
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +7 -70
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.compiled.css +14 -0
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +30 -0
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +65 -0
- package/dist/es2019/ui/Appearance/FullPage/MainToolbarWrapper.js +5 -63
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +6 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/styles/layout.js +5 -7
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/core-editor.js +4 -11
- package/dist/esm/composable-editor/editor-internal-compiled.compiled.css +3 -0
- package/dist/esm/composable-editor/editor-internal-compiled.js +19 -0
- package/dist/esm/composable-editor/editor-internal-emotion.js +24 -0
- package/dist/esm/composable-editor/editor-internal.js +14 -21
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +1 -14
- package/dist/esm/ui/Appearance/FullPage/{FullPageToolbar-compiled.js → MainToolbar-compiled.js} +19 -16
- package/dist/esm/ui/Appearance/FullPage/{FullPageToolbar-emotion.js → MainToolbar-emotion.js} +21 -20
- package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +13 -65
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.compiled.css +14 -0
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-compiled.js +29 -0
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper-emotion.js +62 -0
- package/dist/esm/ui/Appearance/FullPage/MainToolbarWrapper.js +7 -60
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +6 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +1 -1
- package/dist/esm/ui/EditorContentContainer/styles/layout.js +5 -7
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/core-editor.d.ts +2 -2
- package/dist/types/composable-editor/editor-internal-compiled.d.ts +14 -0
- package/dist/types/composable-editor/editor-internal-emotion.d.ts +14 -0
- package/dist/types/composable-editor/editor-internal.d.ts +1 -0
- package/dist/types/ui/Appearance/FullPage/{FullPageToolbar-compiled.d.ts → MainToolbar-compiled.d.ts} +10 -9
- package/dist/{types-ts4.5/ui/Appearance/FullPage/FullPageToolbar-emotion.d.ts → types/ui/Appearance/FullPage/MainToolbar-emotion.d.ts} +10 -9
- package/dist/types/ui/Appearance/FullPage/MainToolbar.d.ts +10 -6
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +19 -0
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +19 -0
- package/dist/types/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +3 -14
- package/dist/types-ts4.5/composable-editor/core-editor.d.ts +2 -2
- package/dist/types-ts4.5/composable-editor/editor-internal-compiled.d.ts +14 -0
- package/dist/types-ts4.5/composable-editor/editor-internal-emotion.d.ts +14 -0
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/{FullPageToolbar-compiled.d.ts → MainToolbar-compiled.d.ts} +10 -9
- package/dist/{types/ui/Appearance/FullPage/FullPageToolbar-emotion.d.ts → types-ts4.5/ui/Appearance/FullPage/MainToolbar-emotion.d.ts} +10 -9
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +10 -6
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +19 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +19 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +3 -14
- package/package.json +3 -3
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar-compiled.js +0 -45
- /package/dist/cjs/ui/Appearance/FullPage/{FullPageToolbar-compiled.compiled.css → MainToolbar-compiled.compiled.css} +0 -0
- /package/dist/es2019/ui/Appearance/FullPage/{FullPageToolbar-compiled.compiled.css → MainToolbar-compiled.compiled.css} +0 -0
- /package/dist/esm/ui/Appearance/FullPage/{FullPageToolbar-compiled.compiled.css → MainToolbar-compiled.compiled.css} +0 -0
|
@@ -4,17 +4,18 @@
|
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
-
* Used via `componentWithCondition` in `
|
|
7
|
+
* Used via `componentWithCondition` in `MainToolbar.tsx`.
|
|
8
8
|
*
|
|
9
9
|
* Cleanup: delete this file once the experiment has shipped.
|
|
10
10
|
*/
|
|
11
|
-
import
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { jsx } from '@emotion/react';
|
|
12
13
|
export declare const NonCustomToolbarWrapperEmotion: ({ children, }: {
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
}) =>
|
|
15
|
-
export declare const MainToolbarIconBeforeEmotion: ({ children, }: {
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}) => React.JSX.Element;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
}) => jsx.JSX.Element;
|
|
18
16
|
export declare const CustomToolbarWrapperEmotion: ({ children, }: {
|
|
19
|
-
children: ReactNode;
|
|
20
|
-
}) =>
|
|
17
|
+
children: React.ReactNode;
|
|
18
|
+
}) => jsx.JSX.Element;
|
|
19
|
+
export declare const MainToolbarIconBeforeEmotion: ({ children, }: {
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}) => jsx.JSX.Element;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import type React from 'react';
|
|
2
2
|
export declare const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 868;
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
3
|
+
export declare const NonCustomToolbarWrapperMigration: React.ComponentType<{
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const CustomToolbarWrapperMigration: React.ComponentType<{
|
|
7
|
+
children: React.ReactNode;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const MainToolbarIconBeforeMigration: React.ComponentType<{
|
|
10
|
+
children: React.ReactNode;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
+
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
8
|
+
*
|
|
9
|
+
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { jsx } from '@compiled/react';
|
|
13
|
+
export interface MainToolbarWrapperCompiledProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
'data-testid'?: string;
|
|
16
|
+
showKeyline: boolean;
|
|
17
|
+
twoLineEditorToolbar: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const MainToolbarWrapperCompiled: ({ showKeyline, twoLineEditorToolbar, children, "data-testid": testId, }: MainToolbarWrapperCompiledProps) => jsx.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Emotion fallback branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
+
* Used via `componentWithCondition` in `MainToolbarWrapper.tsx`.
|
|
8
|
+
*
|
|
9
|
+
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { jsx } from '@emotion/react';
|
|
13
|
+
export interface MainToolbarWrapperEmotionProps {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
'data-testid'?: string;
|
|
16
|
+
showKeyline: boolean;
|
|
17
|
+
twoLineEditorToolbar: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare const MainToolbarWrapperEmotion: ({ showKeyline, twoLineEditorToolbar, children, "data-testid": testId, }: MainToolbarWrapperEmotionProps) => jsx.JSX.Element;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
interface MainToolbarWrapperProps {
|
|
8
|
-
children: React.ReactNode;
|
|
9
|
-
'data-testid'?: string;
|
|
10
|
-
showKeyline: boolean;
|
|
11
|
-
twoLineEditorToolbar: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const MainToolbarWrapper: ({ showKeyline, twoLineEditorToolbar, children, "data-testid": testId, }: MainToolbarWrapperProps) => jsx.JSX.Element;
|
|
14
|
-
export {};
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type MainToolbarWrapperCompiledProps } from './MainToolbarWrapper-compiled';
|
|
3
|
+
export declare const MainToolbarWrapper: React.ComponentType<MainToolbarWrapperCompiledProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "219.9.
|
|
3
|
+
"version": "219.9.17",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/mention": "^26.0.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^6.
|
|
75
|
+
"@atlaskit/react-ufo": "^6.5.0",
|
|
76
76
|
"@atlaskit/task-decision": "^20.1.0",
|
|
77
77
|
"@atlaskit/tmp-editor-statsig": "^85.0.0",
|
|
78
78
|
"@atlaskit/tokens": "^13.1.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"uuid": "^3.1.0"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
|
-
"@atlaskit/editor-common": "^114.
|
|
95
|
+
"@atlaskit/editor-common": "^114.54.0",
|
|
96
96
|
"@atlaskit/link-provider": "^4.4.0",
|
|
97
97
|
"@atlaskit/media-core": "^37.1.0",
|
|
98
98
|
"react": "^18.2.0",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* FullPageToolbar-compiled.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
-
/**
|
|
3
|
-
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
4
|
-
* Used via `componentWithCondition` in `FullPageToolbar.tsx`.
|
|
5
|
-
*
|
|
6
|
-
* Cleanup: delete this file once the experiment has shipped.
|
|
7
|
-
*/
|
|
8
|
-
"use strict";
|
|
9
|
-
|
|
10
|
-
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
11
|
-
Object.defineProperty(exports, "__esModule", {
|
|
12
|
-
value: true
|
|
13
|
-
});
|
|
14
|
-
exports.NonCustomToolbarWrapperCompiled = exports.MainToolbarIconBeforeCompiled = exports.CustomToolbarWrapperCompiled = void 0;
|
|
15
|
-
require("./FullPageToolbar-compiled.compiled.css");
|
|
16
|
-
var React = _interopRequireWildcard(require("react"));
|
|
17
|
-
var _runtime = require("@compiled/react/runtime");
|
|
18
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
19
|
-
var nonCustomToolbarCompiledStyles = {
|
|
20
|
-
root: "_4cvr1h6o _1e0c1txw _16jlkb7n"
|
|
21
|
-
};
|
|
22
|
-
var mainToolbarIconBeforeCompiledStyles = {
|
|
23
|
-
root: "_19pkpxbi _2hwxpxbi _otyrpxbi _18u0pxbi _4t3ixy5q _1bsbxy5q _mlgzkb7n _tuuhkb7n"
|
|
24
|
-
};
|
|
25
|
-
var customToolbarCompiledStyles = {
|
|
26
|
-
root: "_4cvr1h6o _1e0c1txw"
|
|
27
|
-
};
|
|
28
|
-
var NonCustomToolbarWrapperCompiled = exports.NonCustomToolbarWrapperCompiled = function NonCustomToolbarWrapperCompiled(_ref) {
|
|
29
|
-
var children = _ref.children;
|
|
30
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: (0, _runtime.ax)([nonCustomToolbarCompiledStyles.root])
|
|
32
|
-
}, children);
|
|
33
|
-
};
|
|
34
|
-
var MainToolbarIconBeforeCompiled = exports.MainToolbarIconBeforeCompiled = function MainToolbarIconBeforeCompiled(_ref2) {
|
|
35
|
-
var children = _ref2.children;
|
|
36
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
37
|
-
className: (0, _runtime.ax)([mainToolbarIconBeforeCompiledStyles.root])
|
|
38
|
-
}, children);
|
|
39
|
-
};
|
|
40
|
-
var CustomToolbarWrapperCompiled = exports.CustomToolbarWrapperCompiled = function CustomToolbarWrapperCompiled(_ref3) {
|
|
41
|
-
var children = _ref3.children;
|
|
42
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
43
|
-
className: (0, _runtime.ax)([customToolbarCompiledStyles.root])
|
|
44
|
-
}, children);
|
|
45
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|