@atlaskit/editor-core 205.8.0 → 205.8.2
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 +20 -0
- package/dist/cjs/composable-editor/editor-internal.js +1 -1
- package/dist/cjs/create-editor/ReactEditorView.js +1 -7
- package/dist/cjs/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/cjs/ui/WithFlash/index.js +6 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +1 -7
- package/dist/es2019/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/es2019/ui/WithFlash/index.js +6 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +1 -7
- package/dist/esm/ui/ContentStyles/ai-panels.js +4 -1
- package/dist/esm/ui/WithFlash/index.js +6 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/create-editor/create-universal-preset.d.ts +13 -1
- package/dist/types/presets/universal.d.ts +13 -1
- package/dist/types/presets/useUniversalPreset.d.ts +13 -1
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +16 -1
- package/dist/types-ts4.5/presets/universal.d.ts +16 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +16 -1
- package/package.json +5 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 205.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#148176](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148176)
|
|
8
|
+
[`ff3d1fcb8f797`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ff3d1fcb8f797) -
|
|
9
|
+
Clean-up platform_editor_legacy_content_macro feature gate
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 205.8.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#148201](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148201)
|
|
17
|
+
[`8e811f1840de7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e811f1840de7) -
|
|
18
|
+
Either actively or pre-emptively fixes a bug with keyframe animations in CJS and ESM distribution
|
|
19
|
+
targets for packages using Compiled CSS-in-JS. This may not affect this package, but the change
|
|
20
|
+
was made so a future migration does not accidentally break it.
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 205.8.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
|
@@ -55,7 +55,7 @@ var EditorInternal = exports.EditorInternal = /*#__PURE__*/(0, _react.memo)(func
|
|
|
55
55
|
|
|
56
56
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
57
57
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
58
|
-
var renderTrackingEnabled =
|
|
58
|
+
var renderTrackingEnabled = !(0, _platformFeatureFlags.fg)('platform_editor_disable_rerender_tracking_jira') && !featureFlags.lcmPreventRenderTracking;
|
|
59
59
|
var useShallow = false;
|
|
60
60
|
var _usePortalProvider = (0, _portal.usePortalProvider)(),
|
|
61
61
|
_usePortalProvider2 = (0, _slicedToArray2.default)(_usePortalProvider, 2),
|
|
@@ -635,13 +635,7 @@ function ReactEditorView(props) {
|
|
|
635
635
|
editorView: viewRef.current,
|
|
636
636
|
popupsMountPoint: props.editorProps.popupsMountPoint
|
|
637
637
|
}
|
|
638
|
-
},
|
|
639
|
-
componentProps: props,
|
|
640
|
-
action: _analytics.ACTION.RE_RENDERED,
|
|
641
|
-
actionSubject: _analytics.ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
642
|
-
handleAnalyticsEvent: handleAnalyticsEvent,
|
|
643
|
-
useShallow: true
|
|
644
|
-
}) : /*#__PURE__*/_react.default.createElement(_RenderTracking.RenderTracking, {
|
|
638
|
+
}, renderTrackingEnabled && /*#__PURE__*/_react.default.createElement(_RenderTracking.RenderTracking, {
|
|
645
639
|
componentProps: props,
|
|
646
640
|
action: _analytics.ACTION.RE_RENDERED,
|
|
647
641
|
actionSubject: _analytics.ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
@@ -39,7 +39,10 @@ var aiPrismColor = (0, _defineProperty2.default)((0, _defineProperty2.default)((
|
|
|
39
39
|
});
|
|
40
40
|
var prismBorderAnimationStyles = (0, _react.css)({
|
|
41
41
|
'&::before, &::after': _objectSpread(_objectSpread({
|
|
42
|
-
|
|
42
|
+
animationName: rotationAnimation,
|
|
43
|
+
animationDuration: '2s',
|
|
44
|
+
animationTimingFunction: 'linear',
|
|
45
|
+
animationIterationCount: 'infinite'
|
|
43
46
|
}, isFirefox ? {
|
|
44
47
|
animationDirection: 'normal',
|
|
45
48
|
animationDuration: '1s'
|
|
@@ -37,7 +37,9 @@ var pulseBackgroundReverse = (0, _react2.keyframes)({
|
|
|
37
37
|
var flashWrapper = (0, _react2.css)({
|
|
38
38
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
39
|
'&.-flash > div': {
|
|
40
|
-
|
|
40
|
+
animationName: pulseBackgroundReverse,
|
|
41
|
+
animationDuration: '0.25s',
|
|
42
|
+
animationTimingFunction: 'ease-in-out'
|
|
41
43
|
},
|
|
42
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
43
45
|
'& > div': {
|
|
@@ -45,7 +47,9 @@ var flashWrapper = (0, _react2.css)({
|
|
|
45
47
|
}
|
|
46
48
|
});
|
|
47
49
|
var flashWrapperAnimated = (0, _react2.css)((0, _defineProperty2.default)({}, "".concat(flashWrapper, " & > div"), {
|
|
48
|
-
|
|
50
|
+
animationName: pulseBackground,
|
|
51
|
+
animationDuration: '0.25s',
|
|
52
|
+
animationTimingFunction: 'ease-in-out'
|
|
49
53
|
}));
|
|
50
54
|
// Ignored via go/ees005
|
|
51
55
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -49,7 +49,7 @@ export const EditorInternal = /*#__PURE__*/memo(({
|
|
|
49
49
|
|
|
50
50
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
51
51
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
52
|
-
const renderTrackingEnabled =
|
|
52
|
+
const renderTrackingEnabled = !fg('platform_editor_disable_rerender_tracking_jira') && !featureFlags.lcmPreventRenderTracking;
|
|
53
53
|
const useShallow = false;
|
|
54
54
|
const [portalProviderAPI, PortalRenderer] = usePortalProvider();
|
|
55
55
|
const [nodeViewPortalProviderAPI, NodeViewPortalRenderer] = usePortalProvider();
|
|
@@ -599,13 +599,7 @@ export function ReactEditorView(props) {
|
|
|
599
599
|
editorView: viewRef.current,
|
|
600
600
|
popupsMountPoint: props.editorProps.popupsMountPoint
|
|
601
601
|
}
|
|
602
|
-
},
|
|
603
|
-
componentProps: props,
|
|
604
|
-
action: ACTION.RE_RENDERED,
|
|
605
|
-
actionSubject: ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
606
|
-
handleAnalyticsEvent: handleAnalyticsEvent,
|
|
607
|
-
useShallow: true
|
|
608
|
-
}) : /*#__PURE__*/React.createElement(RenderTracking, {
|
|
602
|
+
}, renderTrackingEnabled && /*#__PURE__*/React.createElement(RenderTracking, {
|
|
609
603
|
componentProps: props,
|
|
610
604
|
action: ACTION.RE_RENDERED,
|
|
611
605
|
actionSubject: ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
@@ -37,7 +37,10 @@ const aiPrismColor = {
|
|
|
37
37
|
};
|
|
38
38
|
const prismBorderAnimationStyles = css({
|
|
39
39
|
'&::before, &::after': {
|
|
40
|
-
|
|
40
|
+
animationName: rotationAnimation,
|
|
41
|
+
animationDuration: '2s',
|
|
42
|
+
animationTimingFunction: 'linear',
|
|
43
|
+
animationIterationCount: 'infinite',
|
|
41
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
42
45
|
...(isFirefox ? {
|
|
43
46
|
animationDirection: 'normal',
|
|
@@ -26,7 +26,9 @@ const pulseBackgroundReverse = keyframes({
|
|
|
26
26
|
const flashWrapper = css({
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
28
28
|
'&.-flash > div': {
|
|
29
|
-
|
|
29
|
+
animationName: pulseBackgroundReverse,
|
|
30
|
+
animationDuration: '0.25s',
|
|
31
|
+
animationTimingFunction: 'ease-in-out'
|
|
30
32
|
},
|
|
31
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
32
34
|
'& > div': {
|
|
@@ -36,7 +38,9 @@ const flashWrapper = css({
|
|
|
36
38
|
const flashWrapperAnimated = css({
|
|
37
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
40
|
[`${flashWrapper} & > div`]: {
|
|
39
|
-
|
|
41
|
+
animationName: pulseBackground,
|
|
42
|
+
animationDuration: '0.25s',
|
|
43
|
+
animationTimingFunction: 'ease-in-out'
|
|
40
44
|
}
|
|
41
45
|
});
|
|
42
46
|
// Ignored via go/ees005
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "205.8.
|
|
2
|
+
export const version = "205.8.2";
|
|
@@ -51,7 +51,7 @@ export var EditorInternal = /*#__PURE__*/memo(function (_ref) {
|
|
|
51
51
|
|
|
52
52
|
// Render tracking is firing too many events in Jira so we are disabling them for now. See - https://product-fabric.atlassian.net/browse/ED-25616
|
|
53
53
|
// Also firing too many events for the legacy content macro, so disabling for now. See - https://product-fabric.atlassian.net/browse/ED-26650
|
|
54
|
-
var renderTrackingEnabled =
|
|
54
|
+
var renderTrackingEnabled = !fg('platform_editor_disable_rerender_tracking_jira') && !featureFlags.lcmPreventRenderTracking;
|
|
55
55
|
var useShallow = false;
|
|
56
56
|
var _usePortalProvider = usePortalProvider(),
|
|
57
57
|
_usePortalProvider2 = _slicedToArray(_usePortalProvider, 2),
|
|
@@ -624,13 +624,7 @@ export function ReactEditorView(props) {
|
|
|
624
624
|
editorView: viewRef.current,
|
|
625
625
|
popupsMountPoint: props.editorProps.popupsMountPoint
|
|
626
626
|
}
|
|
627
|
-
},
|
|
628
|
-
componentProps: props,
|
|
629
|
-
action: ACTION.RE_RENDERED,
|
|
630
|
-
actionSubject: ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
631
|
-
handleAnalyticsEvent: handleAnalyticsEvent,
|
|
632
|
-
useShallow: true
|
|
633
|
-
}) : /*#__PURE__*/React.createElement(RenderTracking, {
|
|
627
|
+
}, renderTrackingEnabled && /*#__PURE__*/React.createElement(RenderTracking, {
|
|
634
628
|
componentProps: props,
|
|
635
629
|
action: ACTION.RE_RENDERED,
|
|
636
630
|
actionSubject: ACTION_SUBJECT.REACT_EDITOR_VIEW,
|
|
@@ -33,7 +33,10 @@ var aiPrismColor = _defineProperty(_defineProperty(_defineProperty(_defineProper
|
|
|
33
33
|
});
|
|
34
34
|
var prismBorderAnimationStyles = css({
|
|
35
35
|
'&::before, &::after': _objectSpread(_objectSpread({
|
|
36
|
-
|
|
36
|
+
animationName: rotationAnimation,
|
|
37
|
+
animationDuration: '2s',
|
|
38
|
+
animationTimingFunction: 'linear',
|
|
39
|
+
animationIterationCount: 'infinite'
|
|
37
40
|
}, isFirefox ? {
|
|
38
41
|
animationDirection: 'normal',
|
|
39
42
|
animationDuration: '1s'
|
|
@@ -33,7 +33,9 @@ var pulseBackgroundReverse = keyframes({
|
|
|
33
33
|
var flashWrapper = css({
|
|
34
34
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
35
35
|
'&.-flash > div': {
|
|
36
|
-
|
|
36
|
+
animationName: pulseBackgroundReverse,
|
|
37
|
+
animationDuration: '0.25s',
|
|
38
|
+
animationTimingFunction: 'ease-in-out'
|
|
37
39
|
},
|
|
38
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
39
41
|
'& > div': {
|
|
@@ -41,7 +43,9 @@ var flashWrapper = css({
|
|
|
41
43
|
}
|
|
42
44
|
});
|
|
43
45
|
var flashWrapperAnimated = css(_defineProperty({}, "".concat(flashWrapper, " & > div"), {
|
|
44
|
-
|
|
46
|
+
animationName: pulseBackground,
|
|
47
|
+
animationDuration: '0.25s',
|
|
48
|
+
animationTimingFunction: 'ease-in-out'
|
|
45
49
|
}));
|
|
46
50
|
// Ignored via go/ees005
|
|
47
51
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "205.8.
|
|
2
|
+
export var version = "205.8.2";
|
|
@@ -979,7 +979,19 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
979
979
|
}) => void;
|
|
980
980
|
};
|
|
981
981
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
982
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
982
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
983
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
984
|
+
sharedState: {
|
|
985
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
986
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
987
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
988
|
+
};
|
|
989
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
990
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
991
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
992
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
993
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
994
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
983
995
|
actions: {
|
|
984
996
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
985
997
|
redo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -1031,7 +1031,19 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1031
1031
|
}) => void;
|
|
1032
1032
|
};
|
|
1033
1033
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1034
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
1034
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1035
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1036
|
+
sharedState: {
|
|
1037
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1038
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1039
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1040
|
+
};
|
|
1041
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1042
|
+
pluginConfiguration: FeatureFlags;
|
|
1043
|
+
sharedState: FeatureFlags;
|
|
1044
|
+
}, FeatureFlags>>];
|
|
1045
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1046
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
1035
1047
|
actions: {
|
|
1036
1048
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
1037
1049
|
redo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -979,7 +979,19 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
979
979
|
}) => void;
|
|
980
980
|
};
|
|
981
981
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
982
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
982
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
983
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
984
|
+
sharedState: {
|
|
985
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
986
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
987
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
988
|
+
};
|
|
989
|
+
dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
990
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
991
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
992
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>];
|
|
993
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
994
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>];
|
|
983
995
|
actions: {
|
|
984
996
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
985
997
|
redo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -1236,7 +1236,22 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
|
|
|
1236
1236
|
}) => void;
|
|
1237
1237
|
};
|
|
1238
1238
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1239
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
1239
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1240
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1241
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1242
|
+
sharedState: {
|
|
1243
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1244
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1245
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1246
|
+
};
|
|
1247
|
+
dependencies: [
|
|
1248
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1249
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1250
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1251
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1252
|
+
];
|
|
1253
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1254
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1240
1255
|
];
|
|
1241
1256
|
actions: {
|
|
1242
1257
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -1288,7 +1288,22 @@ export default function createUniversalPresetInternal({ appearance, props, featu
|
|
|
1288
1288
|
}) => void;
|
|
1289
1289
|
};
|
|
1290
1290
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1291
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
1291
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1292
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1293
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1294
|
+
sharedState: {
|
|
1295
|
+
createAnalyticsEvent: CreateUIAnalyticsEvent | null;
|
|
1296
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1297
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1298
|
+
};
|
|
1299
|
+
dependencies: [
|
|
1300
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1301
|
+
pluginConfiguration: FeatureFlags;
|
|
1302
|
+
sharedState: FeatureFlags;
|
|
1303
|
+
}, FeatureFlags>>
|
|
1304
|
+
];
|
|
1305
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1306
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1292
1307
|
];
|
|
1293
1308
|
actions: {
|
|
1294
1309
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
|
@@ -1236,7 +1236,22 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
|
|
|
1236
1236
|
}) => void;
|
|
1237
1237
|
};
|
|
1238
1238
|
pluginConfiguration?: import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined;
|
|
1239
|
-
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined
|
|
1239
|
+
}, import("@atlaskit/editor-plugins/primary-toolbar").PrimaryToolbarPluginOptions | undefined>>,
|
|
1240
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"analytics", {
|
|
1241
|
+
pluginConfiguration: import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions;
|
|
1242
|
+
sharedState: {
|
|
1243
|
+
createAnalyticsEvent: import("@atlaskit/analytics-next").CreateUIAnalyticsEvent | null;
|
|
1244
|
+
attachAnalyticsEvent: import("@atlaskit/editor-plugins/analytics").CreateAttachPayloadIntoTransaction | null;
|
|
1245
|
+
performanceTracking: import("@atlaskit/editor-common/types").PerformanceTracking | undefined;
|
|
1246
|
+
};
|
|
1247
|
+
dependencies: [
|
|
1248
|
+
import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
|
|
1249
|
+
pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1250
|
+
sharedState: import("@atlaskit/editor-common/types").FeatureFlags;
|
|
1251
|
+
}, import("@atlaskit/editor-common/types").FeatureFlags>>
|
|
1252
|
+
];
|
|
1253
|
+
actions: import("@atlaskit/editor-common/analytics").EditorAnalyticsAPI;
|
|
1254
|
+
}, import("@atlaskit/editor-plugins/analytics").AnalyticsPluginOptions>>
|
|
1240
1255
|
];
|
|
1241
1256
|
actions: {
|
|
1242
1257
|
undo: import("packages/editor/editor-plugin-undo-redo/dist/types/undoRedoPluginType").UndoRedoAction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "205.8.
|
|
3
|
+
"version": "205.8.2",
|
|
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": "^103.
|
|
49
|
+
"@atlaskit/editor-common": "^103.21.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.4.0",
|
|
@@ -100,9 +100,9 @@
|
|
|
100
100
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
101
101
|
"@atlaskit/media-test-helpers": "^35.0.0",
|
|
102
102
|
"@atlaskit/modal-dialog": "^14.1.0",
|
|
103
|
-
"@atlaskit/primitives": "^14.
|
|
104
|
-
"@atlaskit/renderer": "^114.
|
|
105
|
-
"@atlaskit/smart-card": "^36.
|
|
103
|
+
"@atlaskit/primitives": "^14.5.0",
|
|
104
|
+
"@atlaskit/renderer": "^114.12.0",
|
|
105
|
+
"@atlaskit/smart-card": "^36.12.0",
|
|
106
106
|
"@atlaskit/synchrony-test-helpers": "workspace:^",
|
|
107
107
|
"@atlaskit/toggle": "^15.0.0",
|
|
108
108
|
"@atlaskit/util-data-test": "^18.0.0",
|
|
@@ -415,10 +415,6 @@
|
|
|
415
415
|
"type": "boolean",
|
|
416
416
|
"referenceOnly": true
|
|
417
417
|
},
|
|
418
|
-
"platform_editor_legacy_content_macro": {
|
|
419
|
-
"type": "boolean",
|
|
420
|
-
"referenceOnly": true
|
|
421
|
-
},
|
|
422
418
|
"platform_editor_cell_selection_with_nested_tables": {
|
|
423
419
|
"type": "boolean",
|
|
424
420
|
"referenceOnly": true
|
|
@@ -435,10 +431,6 @@
|
|
|
435
431
|
"type": "boolean",
|
|
436
432
|
"referenceOnly": true
|
|
437
433
|
},
|
|
438
|
-
"platform_editor_nested_tables_bottom_sentinel": {
|
|
439
|
-
"type": "boolean",
|
|
440
|
-
"referenceOnly": true
|
|
441
|
-
},
|
|
442
434
|
"platform_editor_sort_decoration_fix_on_live_page": {
|
|
443
435
|
"type": "boolean",
|
|
444
436
|
"referenceOnly": true
|