@atlaskit/editor-plugin-text-color 1.0.3 → 1.0.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/.eslintrc.js CHANGED
@@ -2,17 +2,5 @@ module.exports = {
2
2
  rules: {
3
3
  '@typescript-eslint/no-duplicate-imports': 'error',
4
4
  '@typescript-eslint/no-explicit-any': 'error',
5
- '@typescript-eslint/ban-types': [
6
- 'error',
7
- {
8
- types: {
9
- 'React.FC':
10
- 'Please use types directly on props instead, and explicitly define children if required',
11
- 'React.FunctionalComponent':
12
- 'Please use types directly on props instead, and explicitly define children if required',
13
- },
14
- extendDefaults: false,
15
- },
16
- ],
17
5
  },
18
6
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/editor-plugin-text-color
2
2
 
3
+ ## 1.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
8
+ - Updated dependencies
9
+
3
10
  ## 1.0.3
4
11
 
5
12
  ### Patch Changes
@@ -39,7 +39,7 @@ export declare class ToolbarTextColor extends React.Component<Props & WrappedCom
39
39
  private buildAnalyticsSelectColor;
40
40
  private dispatchAnalyticsEvent;
41
41
  }
42
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
43
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
42
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
43
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
44
44
  };
45
45
  export default _default;
@@ -39,7 +39,7 @@ export declare class ToolbarTextColor extends React.Component<Props & WrappedCom
39
39
  private buildAnalyticsSelectColor;
40
40
  private dispatchAnalyticsEvent;
41
41
  }
42
- declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
43
- WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
42
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps>> & {
43
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps>;
44
44
  };
45
45
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-color",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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.6.0",
37
- "@atlaskit/editor-common": "^78.12.0",
38
- "@atlaskit/editor-palette": "1.5.2",
37
+ "@atlaskit/editor-common": "^78.17.0",
38
+ "@atlaskit/editor-palette": "1.5.3",
39
39
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
40
40
  "@atlaskit/editor-prosemirror": "3.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^2.9.0",
42
42
  "@atlaskit/editor-tables": "^2.5.0",
43
43
  "@atlaskit/icon": "^22.1.0",
44
44
  "@atlaskit/theme": "^12.6.0",
45
- "@atlaskit/tokens": "^1.41.0",
45
+ "@atlaskit/tokens": "^1.42.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1"
48
48
  },
@@ -57,7 +57,7 @@
57
57
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
58
58
  "@testing-library/react": "^12.1.5",
59
59
  "react-dom": "^16.8.0",
60
- "typescript": "~4.9.5",
60
+ "typescript": "~5.4.2",
61
61
  "wait-for-expect": "^1.2.0"
62
62
  },
63
63
  "techstack": {
@@ -83,11 +83,9 @@
83
83
  "ui-components": [
84
84
  "lite-mode"
85
85
  ],
86
- "deprecation": [
87
- "no-deprecated-imports"
88
- ],
86
+ "deprecation": "no-deprecated-imports",
89
87
  "styling": [
90
- "static",
88
+ "emotion",
91
89
  "emotion"
92
90
  ],
93
91
  "imports": [
@@ -96,4 +94,4 @@
96
94
  }
97
95
  },
98
96
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
99
- }
97
+ }