@atlaskit/editor-core 193.14.4 → 193.14.8
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 +18 -0
- package/dist/cjs/preset-builder.js +12 -0
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/cjs/use-preset.js +5 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/preset-builder.js +1 -0
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/es2019/use-preset.js +3 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/preset-builder.js +1 -0
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +1 -1
- package/dist/esm/use-preset.js +5 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-preset.d.ts +3 -1
- package/dist/types/preset-builder.d.ts +1 -0
- package/dist/types/presets/universal.d.ts +3 -1
- package/dist/types/presets/useUniversalPreset.d.ts +3 -1
- package/dist/types/use-preset.d.ts +2 -2
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +4 -1
- package/dist/types-ts4.5/preset-builder.d.ts +1 -0
- package/dist/types-ts4.5/presets/universal.d.ts +4 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +4 -1
- package/dist/types-ts4.5/use-preset.d.ts +2 -2
- package/docs/0-intro.tsx +1 -2
- package/package.json +7 -6
- package/preset-builder/package.json +15 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 193.14.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#96925](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96925)
|
|
8
|
+
[`b19dc622d23a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b19dc622d23a) -
|
|
9
|
+
[ux] Adds margin above bodied macros since they always show the label for the new interaction
|
|
10
|
+
designs
|
|
11
|
+
|
|
12
|
+
## 193.14.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#98137](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98137)
|
|
17
|
+
[`b1ddc8df2070`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b1ddc8df2070) -
|
|
18
|
+
[ED-23195] Refactor React components to use useRef inside functional components
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 193.14.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "EditorPresetBuilder", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _preset.EditorPresetBuilder;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _preset = require("@atlaskit/editor-common/preset");
|
|
@@ -32,7 +32,7 @@ var toolbar = (0, _react2.css)((0, _defineProperty2.default)({
|
|
|
32
32
|
margin: "0 ".concat("var(--ds-space-200, 16px)")
|
|
33
33
|
}));
|
|
34
34
|
var ToolbarWithSizeDetector = exports.ToolbarWithSizeDetector = function ToolbarWithSizeDetector(props) {
|
|
35
|
-
var ref =
|
|
35
|
+
var ref = _react.default.useRef(null);
|
|
36
36
|
var _React$useState = _react.default.useState(undefined),
|
|
37
37
|
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
|
|
38
38
|
width = _React$useState2[0],
|
package/dist/cjs/use-preset.js
CHANGED
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.usePreset = usePreset;
|
|
7
7
|
var _react = require("react");
|
|
8
|
+
var _preset = require("@atlaskit/editor-common/preset");
|
|
8
9
|
var _context = require("./presets/context");
|
|
9
10
|
/**
|
|
10
11
|
* Creates a preset.
|
|
@@ -42,8 +43,11 @@ var _context = require("./presets/context");
|
|
|
42
43
|
function usePreset(createPreset) {
|
|
43
44
|
var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
44
45
|
var editorApi = (0, _context.usePresetContext)();
|
|
46
|
+
var preset = (0, _react.useMemo)(function () {
|
|
47
|
+
return createPreset(new _preset.EditorPresetBuilder());
|
|
48
|
+
},
|
|
45
49
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
46
|
-
|
|
50
|
+
dependencies);
|
|
47
51
|
return {
|
|
48
52
|
editorApi: editorApi,
|
|
49
53
|
preset: preset
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
@@ -20,7 +20,7 @@ const toolbar = css({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
export const ToolbarWithSizeDetector = props => {
|
|
23
|
-
const ref =
|
|
23
|
+
const ref = React.useRef(null);
|
|
24
24
|
const [width, setWidth] = React.useState(undefined);
|
|
25
25
|
const elementWidth = useElementWidth(ref, {
|
|
26
26
|
skip: typeof width !== 'undefined'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
+
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
2
3
|
import { usePresetContext } from './presets/context';
|
|
3
4
|
/**
|
|
4
5
|
* Creates a preset.
|
|
@@ -35,8 +36,9 @@ import { usePresetContext } from './presets/context';
|
|
|
35
36
|
*/
|
|
36
37
|
export function usePreset(createPreset, dependencies = []) {
|
|
37
38
|
const editorApi = usePresetContext();
|
|
39
|
+
const preset = useMemo(() => createPreset(new EditorPresetBuilder()),
|
|
38
40
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
39
|
-
|
|
41
|
+
dependencies);
|
|
40
42
|
return {
|
|
41
43
|
editorApi,
|
|
42
44
|
preset
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "193.14.
|
|
2
|
+
export const version = "193.14.8";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
@@ -21,7 +21,7 @@ var toolbar = css(_defineProperty({
|
|
|
21
21
|
margin: "0 ".concat("var(--ds-space-200, 16px)")
|
|
22
22
|
}));
|
|
23
23
|
export var ToolbarWithSizeDetector = function ToolbarWithSizeDetector(props) {
|
|
24
|
-
var ref =
|
|
24
|
+
var ref = React.useRef(null);
|
|
25
25
|
var _React$useState = React.useState(undefined),
|
|
26
26
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
27
27
|
width = _React$useState2[0],
|
package/dist/esm/use-preset.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
|
+
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
2
3
|
import { usePresetContext } from './presets/context';
|
|
3
4
|
/**
|
|
4
5
|
* Creates a preset.
|
|
@@ -36,8 +37,11 @@ import { usePresetContext } from './presets/context';
|
|
|
36
37
|
export function usePreset(createPreset) {
|
|
37
38
|
var dependencies = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
38
39
|
var editorApi = usePresetContext();
|
|
40
|
+
var preset = useMemo(function () {
|
|
41
|
+
return createPreset(new EditorPresetBuilder());
|
|
42
|
+
},
|
|
39
43
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
40
|
-
|
|
44
|
+
dependencies);
|
|
41
45
|
return {
|
|
42
46
|
editorApi: editorApi,
|
|
43
47
|
preset: preset
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "193.14.
|
|
2
|
+
export var version = "193.14.8";
|
|
@@ -2738,7 +2738,9 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
2738
2738
|
query?: string | undefined;
|
|
2739
2739
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2740
2740
|
};
|
|
2741
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2741
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2742
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2743
|
+
}, undefined>>];
|
|
2742
2744
|
sharedState: {
|
|
2743
2745
|
isForcedHidden: boolean;
|
|
2744
2746
|
} | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
@@ -2755,7 +2755,9 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
2755
2755
|
query?: string | undefined;
|
|
2756
2756
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2757
2757
|
};
|
|
2758
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2758
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
2759
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2760
|
+
}, undefined>>];
|
|
2759
2761
|
sharedState: {
|
|
2760
2762
|
isForcedHidden: boolean;
|
|
2761
2763
|
} | undefined;
|
|
@@ -2741,7 +2741,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
2741
2741
|
query?: string | undefined;
|
|
2742
2742
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
2743
2743
|
};
|
|
2744
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
2744
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
2745
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
2746
|
+
}, undefined>>];
|
|
2745
2747
|
sharedState: {
|
|
2746
2748
|
isForcedHidden: boolean;
|
|
2747
2749
|
} | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DependencyList } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
3
|
import type { AllEditorPresetPluginTypes, ExtractPublicEditorAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
interface PresetAPI<PluginNames extends string[] = [], StackPlugins extends AllEditorPresetPluginTypes[] = []> {
|
|
5
5
|
editorApi: ExtractPublicEditorAPI<EditorPresetBuilder<PluginNames, StackPlugins>> | undefined;
|
|
@@ -38,5 +38,5 @@ interface PresetAPI<PluginNames extends string[] = [], StackPlugins extends AllE
|
|
|
38
38
|
* }
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare function usePreset<PluginNames extends string[] = [], StackPlugins extends AllEditorPresetPluginTypes[] = []>(createPreset: () => EditorPresetBuilder<PluginNames, StackPlugins>, dependencies?: DependencyList): PresetAPI<PluginNames, StackPlugins>;
|
|
41
|
+
export declare function usePreset<PluginNames extends string[] = [], StackPlugins extends AllEditorPresetPluginTypes[] = []>(createPreset: (builder: EditorPresetBuilder) => EditorPresetBuilder<PluginNames, StackPlugins>, dependencies?: DependencyList): PresetAPI<PluginNames, StackPlugins>;
|
|
42
42
|
export {};
|
|
@@ -3398,7 +3398,10 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
|
|
|
3398
3398
|
query?: string | undefined;
|
|
3399
3399
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3400
3400
|
};
|
|
3401
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3401
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>,
|
|
3402
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3403
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3404
|
+
}, undefined>>
|
|
3402
3405
|
];
|
|
3403
3406
|
sharedState: {
|
|
3404
3407
|
isForcedHidden: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
@@ -3415,7 +3415,10 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
|
|
|
3415
3415
|
query?: string | undefined;
|
|
3416
3416
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3417
3417
|
};
|
|
3418
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3418
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>,
|
|
3419
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"editorDisabled", {
|
|
3420
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3421
|
+
}, undefined>>
|
|
3419
3422
|
];
|
|
3420
3423
|
sharedState: {
|
|
3421
3424
|
isForcedHidden: boolean;
|
|
@@ -3401,7 +3401,10 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
|
|
|
3401
3401
|
query?: string | undefined;
|
|
3402
3402
|
}) => (tr: import("prosemirror-state").Transaction) => boolean;
|
|
3403
3403
|
};
|
|
3404
|
-
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined
|
|
3404
|
+
}, import("@atlaskit/editor-plugin-type-ahead").TypeAheadPluginOptions | undefined>>,
|
|
3405
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"editorDisabled", {
|
|
3406
|
+
sharedState: import("@atlaskit/editor-plugin-editor-disabled").EditorDisabledPluginState;
|
|
3407
|
+
}, undefined>>
|
|
3405
3408
|
];
|
|
3406
3409
|
sharedState: {
|
|
3407
3410
|
isForcedHidden: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DependencyList } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
3
|
import type { AllEditorPresetPluginTypes, ExtractPublicEditorAPI } from '@atlaskit/editor-common/types';
|
|
4
4
|
interface PresetAPI<PluginNames extends string[] = [
|
|
5
5
|
], StackPlugins extends AllEditorPresetPluginTypes[] = [
|
|
@@ -42,5 +42,5 @@ interface PresetAPI<PluginNames extends string[] = [
|
|
|
42
42
|
*/
|
|
43
43
|
export declare function usePreset<PluginNames extends string[] = [
|
|
44
44
|
], StackPlugins extends AllEditorPresetPluginTypes[] = [
|
|
45
|
-
]>(createPreset: () => EditorPresetBuilder<PluginNames, StackPlugins>, dependencies?: DependencyList): PresetAPI<PluginNames, StackPlugins>;
|
|
45
|
+
]>(createPreset: (builder: EditorPresetBuilder) => EditorPresetBuilder<PluginNames, StackPlugins>, dependencies?: DependencyList): PresetAPI<PluginNames, StackPlugins>;
|
|
46
46
|
export {};
|
package/docs/0-intro.tsx
CHANGED
|
@@ -50,12 +50,11 @@ ${(<AtlassianInternalWarning />)}
|
|
|
50
50
|
|
|
51
51
|
${code`
|
|
52
52
|
import { ComposableEditor } from '@atlaskit/editor-core/composable-editor';
|
|
53
|
-
import { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
54
53
|
import { usePreset } from '@atlaskit/editor-core/use-preset';
|
|
55
54
|
import { basePlugin } from '@atlaskit/editor-plugins/base';
|
|
56
55
|
|
|
57
56
|
const CommentEditor = () => {
|
|
58
|
-
const { preset } = usePreset(() =>
|
|
57
|
+
const { preset } = usePreset((builder) => builder.add(basePlugin));
|
|
59
58
|
|
|
60
59
|
return <ComposableEditor preset={preset} />;
|
|
61
60
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "193.14.
|
|
3
|
+
"version": "193.14.8",
|
|
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/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^17.14.0",
|
|
48
|
-
"@atlaskit/editor-common": "^79.
|
|
48
|
+
"@atlaskit/editor-common": "^79.2.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^8.11.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^2.5.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
@@ -84,12 +84,12 @@
|
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@af/editor-libra": "*",
|
|
86
86
|
"@af/visual-regression": "*",
|
|
87
|
-
"@atlaskit/adf-utils": "^19.
|
|
87
|
+
"@atlaskit/adf-utils": "^19.1.0",
|
|
88
88
|
"@atlaskit/analytics-listeners": "^8.9.1",
|
|
89
89
|
"@atlaskit/checkbox": "^13.3.0",
|
|
90
90
|
"@atlaskit/collab-provider": "9.28.4",
|
|
91
91
|
"@atlaskit/dropdown-menu": "^12.10.0",
|
|
92
|
-
"@atlaskit/editor-plugin-annotation": "1.7.
|
|
92
|
+
"@atlaskit/editor-plugin-annotation": "1.7.2",
|
|
93
93
|
"@atlaskit/editor-plugin-card": "^1.10.0",
|
|
94
94
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|
|
95
95
|
"@atlaskit/editor-plugin-list": "^3.2.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"@atlaskit/flag": "^15.5.0",
|
|
99
99
|
"@atlaskit/link-provider": "^1.9.0",
|
|
100
100
|
"@atlaskit/link-test-helpers": "^7.0.0",
|
|
101
|
-
"@atlaskit/logo": "^13.
|
|
101
|
+
"@atlaskit/logo": "^13.16.0",
|
|
102
102
|
"@atlaskit/media-core": "^34.2.0",
|
|
103
103
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
104
104
|
"@atlaskit/media-test-helpers": "^33.0.27",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"@atlaskit/primitives": "^6.1.0",
|
|
107
107
|
"@atlaskit/renderer": "^109.25.0",
|
|
108
108
|
"@atlaskit/select": "^17.9.0",
|
|
109
|
-
"@atlaskit/smart-card": "^26.
|
|
109
|
+
"@atlaskit/smart-card": "^26.62.0",
|
|
110
110
|
"@atlaskit/synchrony-test-helpers": "^2.4.0",
|
|
111
111
|
"@atlaskit/util-data-test": "^17.9.0",
|
|
112
112
|
"@atlaskit/visual-regression": "*",
|
|
@@ -349,6 +349,7 @@
|
|
|
349
349
|
"./preset-universal": "./src/preset-universal.ts",
|
|
350
350
|
"./test-utils": "./src/test-utils.ts",
|
|
351
351
|
"./use-preset": "./src/use-preset.ts",
|
|
352
|
+
"./preset-builder": "./src/preset-builder.ts",
|
|
352
353
|
"./version-wrapper": "./src/version-wrapper.ts"
|
|
353
354
|
}
|
|
354
355
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-core/preset-builder",
|
|
3
|
+
"main": "../dist/cjs/preset-builder.js",
|
|
4
|
+
"module": "../dist/esm/preset-builder.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/preset-builder.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/preset-builder.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <5.4": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/preset-builder.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|