@atlaskit/editor-plugin-status 0.2.2 → 0.2.4
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/package.json +4 -4
- package/tmp/api-report-tmp.d.ts +0 -78
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#56790](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/56790) [`ff577a7969d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff577a7969d4) - ED-21266: Updated @atlaskit/adf-schema to 34.0.1
|
|
8
|
+
|
|
9
|
+
## 0.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#43417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43417) [`3f3c17f0273`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f3c17f0273) - ED-20971 Upgrade adf-schema package to ^34.0.0
|
|
14
|
+
|
|
3
15
|
## 0.2.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-status",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Status plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,15 +31,15 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^
|
|
34
|
+
"@atlaskit/adf-schema": "^34.0.1",
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/editor-common": "^76.
|
|
36
|
+
"@atlaskit/editor-common": "^76.23.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^2.8.0",
|
|
40
40
|
"@atlaskit/status": "^1.4.0",
|
|
41
41
|
"@atlaskit/theme": "^12.6.0",
|
|
42
|
-
"@atlaskit/tokens": "^1.
|
|
42
|
+
"@atlaskit/tokens": "^1.29.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-status"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
8
|
-
import type { Color } from '@atlaskit/status/element';
|
|
9
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
10
|
-
import type { EditorCommand } from '@atlaskit/editor-common/types';
|
|
11
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
12
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
14
|
-
import type { TOOLBAR_MENU_TYPE } from '@atlaskit/editor-common/types';
|
|
15
|
-
|
|
16
|
-
// @public (undocumented)
|
|
17
|
-
enum closingMethods {
|
|
18
|
-
// (undocumented)
|
|
19
|
-
ArrowLeft = "arrowLeft",
|
|
20
|
-
// (undocumented)
|
|
21
|
-
ArrowRight = "arrowRight"
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// @public (undocumented)
|
|
25
|
-
type ClosingPayload = {
|
|
26
|
-
closingMethod: closingMethods;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
// @public (undocumented)
|
|
30
|
-
const commitStatusPicker: (closingPayload?: ClosingPayload) => (editorView: EditorView) => void;
|
|
31
|
-
|
|
32
|
-
// @public (undocumented)
|
|
33
|
-
const removeStatus: (showStatusPickerAt: number) => EditorCommand;
|
|
34
|
-
|
|
35
|
-
// @public (undocumented)
|
|
36
|
-
export type StatusPlugin = NextEditorPlugin<'status', {
|
|
37
|
-
dependencies: [OptionalPlugin<AnalyticsPlugin>];
|
|
38
|
-
pluginConfiguration: StatusPluginOptions | undefined;
|
|
39
|
-
actions: {
|
|
40
|
-
commitStatusPicker: typeof commitStatusPicker;
|
|
41
|
-
updateStatus: UpdateStatus;
|
|
42
|
-
};
|
|
43
|
-
commands: {
|
|
44
|
-
removeStatus: typeof removeStatus;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
|
|
48
|
-
// @public (undocumented)
|
|
49
|
-
export const statusPlugin: StatusPlugin;
|
|
50
|
-
|
|
51
|
-
// @public (undocumented)
|
|
52
|
-
interface StatusPluginOptions {
|
|
53
|
-
// (undocumented)
|
|
54
|
-
allowZeroWidthSpaceAfter?: boolean;
|
|
55
|
-
// (undocumented)
|
|
56
|
-
menuDisabled: boolean;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// @public (undocumented)
|
|
60
|
-
export type StatusState = {
|
|
61
|
-
isNew: boolean;
|
|
62
|
-
showStatusPickerAt: null | number;
|
|
63
|
-
focusStatusInput?: boolean;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
// @public (undocumented)
|
|
67
|
-
export type StatusType = {
|
|
68
|
-
color: Color;
|
|
69
|
-
text: string;
|
|
70
|
-
localId?: string;
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// @public (undocumented)
|
|
74
|
-
type UpdateStatus = (inputMethod: TOOLBAR_MENU_TYPE, status?: StatusType) => Command;
|
|
75
|
-
|
|
76
|
-
// (No @packageDocumentation comment for this package)
|
|
77
|
-
|
|
78
|
-
```
|