@atlaskit/editor-plugin-type-ahead 1.0.5 → 1.0.6

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
@@ -6,17 +6,5 @@ module.exports = {
6
6
  'error',
7
7
  { domains: ['spacing'], shouldEnforceFallbacks: false },
8
8
  ],
9
- '@typescript-eslint/ban-types': [
10
- 'error',
11
- {
12
- types: {
13
- 'React.FC':
14
- 'Please use types directly on props instead, and explicitly define children if required',
15
- 'React.FunctionalComponent':
16
- 'Please use types directly on props instead, and explicitly define children if required',
17
- },
18
- extendDefaults: false,
19
- },
20
- ],
21
9
  },
22
10
  };
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-type-ahead
2
2
 
3
+ ## 1.0.6
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
+
3
9
  ## 1.0.5
4
10
 
5
11
  ### Patch Changes
@@ -12,7 +12,7 @@ export declare const TypeAheadList: React.FC<import("react-intl-next").WithIntlP
12
12
  fitHeight: number;
13
13
  decorationElement: HTMLElement;
14
14
  triggerHandler?: TypeAheadHandler | undefined;
15
- } & WrappedComponentProps<"intl">>> & {
15
+ } & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<{
17
17
  items: Array<TypeAheadItem>;
18
18
  selectedIndex: number;
@@ -21,5 +21,5 @@ export declare const TypeAheadList: React.FC<import("react-intl-next").WithIntlP
21
21
  fitHeight: number;
22
22
  decorationElement: HTMLElement;
23
23
  triggerHandler?: TypeAheadHandler | undefined;
24
- } & WrappedComponentProps<"intl">>;
24
+ } & WrappedComponentProps>;
25
25
  };
@@ -12,7 +12,7 @@ export declare const TypeAheadList: React.FC<import("react-intl-next").WithIntlP
12
12
  fitHeight: number;
13
13
  decorationElement: HTMLElement;
14
14
  triggerHandler?: TypeAheadHandler | undefined;
15
- } & WrappedComponentProps<"intl">>> & {
15
+ } & WrappedComponentProps>> & {
16
16
  WrappedComponent: React.ComponentType<{
17
17
  items: Array<TypeAheadItem>;
18
18
  selectedIndex: number;
@@ -21,5 +21,5 @@ export declare const TypeAheadList: React.FC<import("react-intl-next").WithIntlP
21
21
  fitHeight: number;
22
22
  decorationElement: HTMLElement;
23
23
  triggerHandler?: TypeAheadHandler | undefined;
24
- } & WrappedComponentProps<"intl">>;
24
+ } & WrappedComponentProps>;
25
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-type-ahead",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Type-ahead plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@atlaskit/adf-schema": "^35.6.0",
36
36
  "@atlaskit/analytics-next": "^9.2.0",
37
- "@atlaskit/editor-common": "^78.12.0",
37
+ "@atlaskit/editor-common": "^78.17.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
39
39
  "@atlaskit/editor-prosemirror": "3.0.0",
40
40
  "@atlaskit/editor-shared-styles": "^2.9.0",
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/platform-feature-flags": "^0.2.0",
43
43
  "@atlaskit/prosemirror-input-rules": "^3.0.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
  "lodash": "^4.17.21",
@@ -64,7 +64,7 @@
64
64
  "@testing-library/react": "^12.1.5",
65
65
  "@types/react-virtualized": "^9.18.12",
66
66
  "react-dom": "^16.8.0",
67
- "typescript": "~4.9.5",
67
+ "typescript": "~5.4.2",
68
68
  "wait-for-expect": "^1.2.0"
69
69
  },
70
70
  "techstack": {
@@ -92,4 +92,4 @@
92
92
  "type": "boolean"
93
93
  }
94
94
  }
95
- }
95
+ }