@atlaskit/editor-plugin-undo-redo 16.0.6 → 16.0.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 +12 -0
- package/dist/cjs/ui/ToolbarUndoRedo/index.js +1 -1
- package/dist/cjs/undoRedoPlugin.js +2 -2
- package/dist/es2019/ui/ToolbarUndoRedo/index.js +1 -1
- package/dist/es2019/undoRedoPlugin.js +1 -1
- package/dist/esm/ui/ToolbarUndoRedo/index.js +1 -1
- package/dist/esm/undoRedoPlugin.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -96,6 +96,6 @@ var ToolbarUndoRedo = exports.ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
|
|
|
96
96
|
);
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
99
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
100
100
|
var _default_1 = (0, _reactIntl.injectIntl)(ToolbarUndoRedo);
|
|
101
101
|
var _default = exports.default = _default_1;
|
|
@@ -11,7 +11,7 @@ var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
|
|
|
11
11
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
12
12
|
var _redo = require("@atlaskit/prosemirror-history/redo");
|
|
13
13
|
var _undo = require("@atlaskit/prosemirror-history/undo");
|
|
14
|
-
var
|
|
14
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
15
15
|
var _attachInputMeta = require("./pm-plugins/attach-input-meta");
|
|
16
16
|
var _enums = require("./pm-plugins/enums");
|
|
17
17
|
var _keymaps = require("./pm-plugins/keymaps");
|
|
@@ -103,7 +103,7 @@ var undoRedoPlugin = exports.undoRedoPlugin = function undoRedoPlugin(_ref) {
|
|
|
103
103
|
return (0, _main.createPlugin)(options);
|
|
104
104
|
}
|
|
105
105
|
}];
|
|
106
|
-
if ((0,
|
|
106
|
+
if ((0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
107
107
|
exposure: false
|
|
108
108
|
})) {
|
|
109
109
|
plugins.push({
|
|
@@ -4,7 +4,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { redo } from '@atlaskit/prosemirror-history/redo';
|
|
6
6
|
import { undo } from '@atlaskit/prosemirror-history/undo';
|
|
7
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
7
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
8
8
|
import { attachInputMetaWithAnalytics } from './pm-plugins/attach-input-meta';
|
|
9
9
|
import { InputSource } from './pm-plugins/enums';
|
|
10
10
|
import { keymapPlugin } from './pm-plugins/keymaps';
|
|
@@ -88,6 +88,6 @@ export var ToolbarUndoRedo = function ToolbarUndoRedo(_ref) {
|
|
|
88
88
|
);
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
91
|
+
// eslint-disable-next-line @typescript-eslint/no-restricted-types
|
|
92
92
|
var _default_1 = injectIntl(ToolbarUndoRedo);
|
|
93
93
|
export default _default_1;
|
|
@@ -4,7 +4,7 @@ import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
|
4
4
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { redo } from '@atlaskit/prosemirror-history/redo';
|
|
6
6
|
import { undo } from '@atlaskit/prosemirror-history/undo';
|
|
7
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
7
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
8
8
|
import { attachInputMetaWithAnalytics } from './pm-plugins/attach-input-meta';
|
|
9
9
|
import { InputSource } from './pm-plugins/enums';
|
|
10
10
|
import { keymapPlugin } from './pm-plugins/keymaps';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-undo-redo",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.8",
|
|
4
4
|
"description": "Undo redo plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"@atlaskit/icon": "^37.5.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
33
33
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
34
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
35
35
|
"@babel/runtime": "^7.0.0",
|
|
36
36
|
"@emotion/react": "^11.7.1"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@atlaskit/editor-common": "^120.
|
|
39
|
+
"@atlaskit/editor-common": "^120.7.0",
|
|
40
40
|
"react": "^18.2.0 || ^19.2.0",
|
|
41
41
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
42
42
|
},
|