@atlaskit/editor-plugin-text-color 0.1.17 → 0.2.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#70152](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70152) [`53ed3673df28`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/53ed3673df28) - Updating adf-schema version to 35.5.1
8
+
9
+ ## 0.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#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.
14
+
15
+ Now when using the editor API with the universal preset
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 0.1.17
4
22
 
5
23
  ### Patch Changes
@@ -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: TextColorPluginDependencies;
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: TextColorPluginDependencies;
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.1.17",
3
+ "version": "0.2.1",
4
4
  "description": "Text color plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,16 +33,16 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/adf-schema": "^35.3.0",
37
- "@atlaskit/editor-common": "^77.0.0",
36
+ "@atlaskit/adf-schema": "^35.5.1",
37
+ "@atlaskit/editor-common": "^77.2.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.4.0",
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.34.0",
45
+ "@atlaskit/tokens": "^1.35.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  },