@atlaskit/editor-plugin-save-on-enter 11.0.0 → 12.0.1
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 +32 -0
- package/compass.yml +41 -0
- package/package.json +5 -13
- package/save-on-enter-plugin/package.json +1 -8
- package/save-on-enter-plugin-type/package.json +1 -8
- package/dist/types-ts4.5/entry-points/save-on-enter-plugin-type.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/save-on-enter-plugin.d.ts +0 -1
- package/dist/types-ts4.5/index.d.ts +0 -2
- package/dist/types-ts4.5/saveOnEnterPlugin.d.ts +0 -7
- package/dist/types-ts4.5/saveOnEnterPluginType.d.ts +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-save-on-enter
|
|
2
2
|
|
|
3
|
+
## 12.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 12.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
14
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
15
|
+
|
|
16
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
17
|
+
|
|
18
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
19
|
+
|
|
20
|
+
```diff
|
|
21
|
+
- "typesVersions": {
|
|
22
|
+
- ">=4.5 <4.9": {
|
|
23
|
+
- "*": [
|
|
24
|
+
- "dist/types-ts4.5/*",
|
|
25
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
26
|
+
- ]
|
|
27
|
+
- }
|
|
28
|
+
- },
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies
|
|
34
|
+
|
|
3
35
|
## 11.0.0
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
package/compass.yml
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
configVersion: 1
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/62c15c22-e880-4a2d-9fb4-c58fd9e58e3a
|
|
3
|
+
name: '@atlaskit/editor-plugin-save-on-enter'
|
|
4
|
+
ownerId: ari:cloud:identity::team/ce353f56-2a90-491b-b272-b90dca4fffa2 # Editor FE Platform
|
|
5
|
+
labels:
|
|
6
|
+
- platform-code
|
|
7
|
+
- platform-afm
|
|
8
|
+
typeId: OTHER
|
|
9
|
+
fields:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
links:
|
|
14
|
+
- name: Root Repository
|
|
15
|
+
type: REPOSITORY
|
|
16
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
|
+
- name: Slack Channel
|
|
18
|
+
type: CHAT_CHANNEL
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/C03SD6QJWPP # #cc-editor-lego
|
|
20
|
+
- name: Editor Plugin Save On Enter
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/editor/editor-plugin-save-on-enter
|
|
23
|
+
customFields:
|
|
24
|
+
- name: Department
|
|
25
|
+
type: text
|
|
26
|
+
value: Eng - Editor Frontend Platform
|
|
27
|
+
- name: Trusted Reviewer Teams
|
|
28
|
+
type: text
|
|
29
|
+
value: ari:cloud:identity::team/cf6a670b-5252-4c68-a769-9207de366beb
|
|
30
|
+
- name: Technical Owner
|
|
31
|
+
type: user
|
|
32
|
+
value: ari:cloud:identity::user/5ea93c14a4c57d0b8bd65a16 # Anand Raj
|
|
33
|
+
- name: Required Reviewers Opt In
|
|
34
|
+
type: boolean
|
|
35
|
+
value: true
|
|
36
|
+
- name: Reviewer Selection Mechanism
|
|
37
|
+
type: text
|
|
38
|
+
value: random(2)
|
|
39
|
+
- name: Required Reviewer Approvals
|
|
40
|
+
type: number
|
|
41
|
+
value: 1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-save-on-enter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
4
4
|
"description": "Save-on-enter plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -16,24 +16,16 @@
|
|
|
16
16
|
"module": "dist/esm/index.js",
|
|
17
17
|
"module:es2019": "dist/es2019/index.js",
|
|
18
18
|
"types": "dist/types/index.d.ts",
|
|
19
|
-
"typesVersions": {
|
|
20
|
-
">=4.5 <4.9": {
|
|
21
|
-
"*": [
|
|
22
|
-
"dist/types-ts4.5/*",
|
|
23
|
-
"dist/types-ts4.5/index.d.ts"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
19
|
"sideEffects": false,
|
|
28
20
|
"atlaskit:src": "src/index.ts",
|
|
29
21
|
"dependencies": {
|
|
30
|
-
"@atlaskit/editor-prosemirror": "^
|
|
31
|
-
"@atlaskit/link": "^
|
|
32
|
-
"@atlaskit/platform-feature-flags": "^
|
|
22
|
+
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
23
|
+
"@atlaskit/link": "^5.0.0",
|
|
24
|
+
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
33
25
|
"@babel/runtime": "^7.0.0"
|
|
34
26
|
},
|
|
35
27
|
"peerDependencies": {
|
|
36
|
-
"@atlaskit/editor-common": "^
|
|
28
|
+
"@atlaskit/editor-common": "^116.44.0",
|
|
37
29
|
"react": "^18.2.0"
|
|
38
30
|
},
|
|
39
31
|
"techstack": {
|
|
@@ -4,12 +4,5 @@
|
|
|
4
4
|
"module": "../dist/esm/entry-points/save-on-enter-plugin.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/save-on-enter-plugin.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/entry-points/save-on-enter-plugin.d.ts"
|
|
8
|
-
"typesVersions": {
|
|
9
|
-
">=4.5 <5.9": {
|
|
10
|
-
"*": [
|
|
11
|
-
"../dist/types-ts4.5/entry-points/save-on-enter-plugin.d.ts"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
7
|
+
"types": "../dist/types/entry-points/save-on-enter-plugin.d.ts"
|
|
15
8
|
}
|
|
@@ -4,12 +4,5 @@
|
|
|
4
4
|
"module": "../dist/esm/entry-points/save-on-enter-plugin-type.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/entry-points/save-on-enter-plugin-type.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/entry-points/save-on-enter-plugin-type.d.ts"
|
|
8
|
-
"typesVersions": {
|
|
9
|
-
">=4.5 <5.9": {
|
|
10
|
-
"*": [
|
|
11
|
-
"../dist/types-ts4.5/entry-points/save-on-enter-plugin-type.d.ts"
|
|
12
|
-
]
|
|
13
|
-
}
|
|
14
|
-
}
|
|
7
|
+
"types": "../dist/types/entry-points/save-on-enter-plugin-type.d.ts"
|
|
15
8
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { SaveOnEnterPlugin } from '../saveOnEnterPluginType';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { saveOnEnterPlugin } from '../saveOnEnterPlugin';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { SaveOnEnterPlugin } from './saveOnEnterPluginType';
|
|
5
|
-
export type CreatePlugin = (eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void) => SafePlugin | undefined;
|
|
6
|
-
export declare const createPlugin: CreatePlugin;
|
|
7
|
-
export declare const saveOnEnterPlugin: SaveOnEnterPlugin;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
export type Config = (editorView: EditorView) => void;
|
|
4
|
-
export type SaveOnEnterPlugin = NextEditorPlugin<'saveOnEnter', {
|
|
5
|
-
pluginConfiguration: Config | undefined;
|
|
6
|
-
}>;
|