@atlaskit/editor-plugin-text-color 0.1.16 → 0.2.0
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 +18 -0
- package/dist/types/types.d.ts +1 -2
- package/dist/types-ts4.5/types.d.ts +3 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 0.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790) [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) - Support maybeAdd plugins in usePreset. Add typing support for universal preset.
|
|
8
|
+
|
|
9
|
+
Now when using the editor API with the universal preset
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 0.1.17
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 0.1.16
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor
|
|
|
2
2
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
3
|
import type { TextColorPluginConfig, TextColorPluginState } from './pm-plugins/main';
|
|
4
4
|
type Config = TextColorPluginConfig | boolean;
|
|
5
|
-
export type TextColorPluginDependencies = [OptionalPlugin<AnalyticsPlugin>];
|
|
6
5
|
export type TextColorPlugin = NextEditorPlugin<'textColor', {
|
|
7
6
|
pluginConfiguration: Config | undefined;
|
|
8
|
-
dependencies:
|
|
7
|
+
dependencies: [OptionalPlugin<AnalyticsPlugin>];
|
|
9
8
|
actions: {
|
|
10
9
|
changeColor: (color: string) => Command;
|
|
11
10
|
};
|
|
@@ -2,12 +2,11 @@ import type { Command, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor
|
|
|
2
2
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
3
|
import type { TextColorPluginConfig, TextColorPluginState } from './pm-plugins/main';
|
|
4
4
|
type Config = TextColorPluginConfig | boolean;
|
|
5
|
-
export type TextColorPluginDependencies = [
|
|
6
|
-
OptionalPlugin<AnalyticsPlugin>
|
|
7
|
-
];
|
|
8
5
|
export type TextColorPlugin = NextEditorPlugin<'textColor', {
|
|
9
6
|
pluginConfiguration: Config | undefined;
|
|
10
|
-
dependencies:
|
|
7
|
+
dependencies: [
|
|
8
|
+
OptionalPlugin<AnalyticsPlugin>
|
|
9
|
+
];
|
|
11
10
|
actions: {
|
|
12
11
|
changeColor: (color: string) => Command;
|
|
13
12
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^35.3.0",
|
|
37
|
-
"@atlaskit/editor-common": "^
|
|
37
|
+
"@atlaskit/editor-common": "^77.1.0",
|
|
38
38
|
"@atlaskit/editor-palette": "1.5.2",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
42
|
-
"@atlaskit/editor-tables": "^2.
|
|
42
|
+
"@atlaskit/editor-tables": "^2.5.0",
|
|
43
43
|
"@atlaskit/icon": "^22.0.0",
|
|
44
44
|
"@atlaskit/theme": "^12.6.0",
|
|
45
|
-
"@atlaskit/tokens": "^1.
|
|
45
|
+
"@atlaskit/tokens": "^1.35.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"@emotion/react": "^11.7.1"
|
|
48
48
|
},
|