@atlaskit/editor-plugin-undo-redo 10.0.15 → 10.0.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 +14 -0
- package/dist/cjs/pm-plugins/enums.js +14 -5
- package/dist/es2019/pm-plugins/enums.js +15 -5
- package/dist/esm/pm-plugins/enums.js +15 -5
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-undo-redo
|
|
2
2
|
|
|
3
|
+
## 10.0.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.0.16
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`967cff1c14097`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/967cff1c14097) -
|
|
14
|
+
Add isolatedDeclarations: true to tsconfig.app.json and tsconfig.dev.json
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 10.0.15
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -4,10 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.InputSource = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
// NOTE: The string values below intentionally duplicate the values of the
|
|
8
|
+
// matching `INPUT_METHOD` members in `@atlaskit/editor-common/analytics`
|
|
9
|
+
// (`TOOLBAR='toolbar'`, `KEYBOARD='keyboard'`, `EXTERNAL='external'`).
|
|
10
|
+
// Under TypeScript's `--isolatedDeclarations`, enum member initializers cannot
|
|
11
|
+
// reference external symbols (TS9020), so we cannot write
|
|
12
|
+
// `TOOLBAR = INPUT_METHOD.TOOLBAR`. If you change a value here, update the
|
|
13
|
+
// corresponding `INPUT_METHOD` member to match — these strings are written
|
|
14
|
+
// straight into transaction meta in `attach-input-meta.ts` and surface as
|
|
15
|
+
// the `historyTriggerMethod` analytics attribute (asserted in
|
|
16
|
+
// `editor-plugin-undo-redo-tests/.../analytics-input-method.ts`).
|
|
17
|
+
var InputSource = exports.InputSource = /*#__PURE__*/function (InputSource) {
|
|
18
|
+
InputSource["TOOLBAR"] = "toolbar";
|
|
19
|
+
InputSource["KEYBOARD"] = "keyboard";
|
|
20
|
+
InputSource["EXTERNAL"] = "external";
|
|
12
21
|
return InputSource;
|
|
13
22
|
}({});
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
// NOTE: The string values below intentionally duplicate the values of the
|
|
2
|
+
// matching `INPUT_METHOD` members in `@atlaskit/editor-common/analytics`
|
|
3
|
+
// (`TOOLBAR='toolbar'`, `KEYBOARD='keyboard'`, `EXTERNAL='external'`).
|
|
4
|
+
// Under TypeScript's `--isolatedDeclarations`, enum member initializers cannot
|
|
5
|
+
// reference external symbols (TS9020), so we cannot write
|
|
6
|
+
// `TOOLBAR = INPUT_METHOD.TOOLBAR`. If you change a value here, update the
|
|
7
|
+
// corresponding `INPUT_METHOD` member to match — these strings are written
|
|
8
|
+
// straight into transaction meta in `attach-input-meta.ts` and surface as
|
|
9
|
+
// the `historyTriggerMethod` analytics attribute (asserted in
|
|
10
|
+
// `editor-plugin-undo-redo-tests/.../analytics-input-method.ts`).
|
|
11
|
+
|
|
12
|
+
export let InputSource = /*#__PURE__*/function (InputSource) {
|
|
13
|
+
InputSource["TOOLBAR"] = "toolbar";
|
|
14
|
+
InputSource["KEYBOARD"] = "keyboard";
|
|
15
|
+
InputSource["EXTERNAL"] = "external";
|
|
6
16
|
return InputSource;
|
|
7
17
|
}({});
|
|
@@ -1,7 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
// NOTE: The string values below intentionally duplicate the values of the
|
|
2
|
+
// matching `INPUT_METHOD` members in `@atlaskit/editor-common/analytics`
|
|
3
|
+
// (`TOOLBAR='toolbar'`, `KEYBOARD='keyboard'`, `EXTERNAL='external'`).
|
|
4
|
+
// Under TypeScript's `--isolatedDeclarations`, enum member initializers cannot
|
|
5
|
+
// reference external symbols (TS9020), so we cannot write
|
|
6
|
+
// `TOOLBAR = INPUT_METHOD.TOOLBAR`. If you change a value here, update the
|
|
7
|
+
// corresponding `INPUT_METHOD` member to match — these strings are written
|
|
8
|
+
// straight into transaction meta in `attach-input-meta.ts` and surface as
|
|
9
|
+
// the `historyTriggerMethod` analytics attribute (asserted in
|
|
10
|
+
// `editor-plugin-undo-redo-tests/.../analytics-input-method.ts`).
|
|
11
|
+
|
|
12
|
+
export var InputSource = /*#__PURE__*/function (InputSource) {
|
|
13
|
+
InputSource["TOOLBAR"] = "toolbar";
|
|
14
|
+
InputSource["KEYBOARD"] = "keyboard";
|
|
15
|
+
InputSource["EXTERNAL"] = "external";
|
|
6
16
|
return InputSource;
|
|
7
17
|
}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-undo-redo",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.17",
|
|
4
4
|
"description": "Undo redo plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/editor-plugin-history": "^10.0.0",
|
|
33
33
|
"@atlaskit/editor-plugin-primary-toolbar": "^11.0.0",
|
|
34
|
-
"@atlaskit/editor-plugin-toolbar": "^7.
|
|
34
|
+
"@atlaskit/editor-plugin-toolbar": "^7.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-type-ahead": "^10.0.0",
|
|
36
36
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
37
37
|
"@atlaskit/editor-toolbar": "^1.0.0",
|
|
38
38
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
39
|
-
"@atlaskit/icon": "^34.
|
|
39
|
+
"@atlaskit/icon": "^34.5.0",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
41
41
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^78.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^114.
|
|
47
|
+
"@atlaskit/editor-common": "^114.26.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
50
50
|
},
|