@atlaskit/editor-plugin-card 0.16.3 → 0.16.5

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,18 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.16.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.16.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#67576](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67576) [`c03238aac8d2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c03238aac8d2) - Export some plugin types to allow fix the build type
14
+ - Updated dependencies
15
+
3
16
  ## 0.16.3
4
17
 
5
18
  ### Patch Changes
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import type { APIError } from '@atlaskit/smart-card';
3
3
  import type { DatasourceProps } from './nodeviews/datasource';
4
- export declare class DatasourceErrorBoundary extends React.Component<{
4
+ export type DatasourceErrorBoundaryProps = {
5
5
  url?: string;
6
6
  unsupportedComponent?: React.ComponentType;
7
7
  handleError?: () => void;
8
8
  view: DatasourceProps['view'];
9
- }> {
9
+ };
10
+ export declare class DatasourceErrorBoundary extends React.Component<DatasourceErrorBoundaryProps> {
10
11
  state: {
11
12
  isError: boolean;
12
13
  };
@@ -1,3 +1,3 @@
1
1
  export { cardPlugin } from './plugin';
2
2
  export type { CardPlugin } from './plugin';
3
- export type { Request } from './types';
3
+ export type { Request, CardPluginOptions, CardPluginState } from './types';
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
2
  import type { APIError } from '@atlaskit/smart-card';
3
3
  import type { DatasourceProps } from './nodeviews/datasource';
4
- export declare class DatasourceErrorBoundary extends React.Component<{
4
+ export type DatasourceErrorBoundaryProps = {
5
5
  url?: string;
6
6
  unsupportedComponent?: React.ComponentType;
7
7
  handleError?: () => void;
8
8
  view: DatasourceProps['view'];
9
- }> {
9
+ };
10
+ export declare class DatasourceErrorBoundary extends React.Component<DatasourceErrorBoundaryProps> {
10
11
  state: {
11
12
  isError: boolean;
12
13
  };
@@ -1,3 +1,3 @@
1
1
  export { cardPlugin } from './plugin';
2
2
  export type { CardPlugin } from './plugin';
3
- export type { Request } from './types';
3
+ export type { Request, CardPluginOptions, CardPluginState } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.16.3",
3
+ "version": "0.16.5",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,11 +35,11 @@
35
35
  "@atlaskit/adf-schema": "^35.3.0",
36
36
  "@atlaskit/analytics-next": "^9.1.0",
37
37
  "@atlaskit/custom-steps": "^0.0.11",
38
- "@atlaskit/editor-common": "^76.41.0",
38
+ "@atlaskit/editor-common": "^77.0.0",
39
39
  "@atlaskit/editor-plugin-analytics": "^0.4.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
41
41
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
42
- "@atlaskit/editor-plugin-floating-toolbar": "^0.7.0",
42
+ "@atlaskit/editor-plugin-floating-toolbar": "^0.8.0",
43
43
  "@atlaskit/editor-plugin-grid": "^0.3.0",
44
44
  "@atlaskit/editor-plugin-hyperlink": "^0.8.0",
45
45
  "@atlaskit/editor-plugin-width": "^0.2.0",
@@ -51,10 +51,10 @@
51
51
  "@atlaskit/link-client-extension": "^1.8.0",
52
52
  "@atlaskit/link-datasource": "^1.19.0",
53
53
  "@atlaskit/linking-common": "^5.3.0",
54
- "@atlaskit/linking-types": "^8.5.0",
54
+ "@atlaskit/linking-types": "^8.6.0",
55
55
  "@atlaskit/platform-feature-flags": "^0.2.0",
56
56
  "@atlaskit/primitives": "^1.18.0",
57
- "@atlaskit/smart-card": "^26.44.0",
57
+ "@atlaskit/smart-card": "^26.45.0",
58
58
  "@atlaskit/theme": "^12.6.0",
59
59
  "@atlaskit/tokens": "^1.34.0",
60
60
  "@babel/runtime": "^7.0.0",
@@ -69,23 +69,8 @@
69
69
  "react-intl-next": "npm:react-intl@^5.18.1"
70
70
  },
71
71
  "devDependencies": {
72
- "@atlaskit/activity-provider": "^2.4.0",
73
- "@atlaskit/link-test-helpers": "^6.2.0",
74
- "@atlaskit/media-test-helpers": "^33.0.0",
75
- "@atlaskit/ssr": "*",
76
- "@atlaskit/util-data-test": "^17.8.0",
77
- "@atlaskit/visual-regression": "*",
78
72
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
79
- "@atlassian/feature-flags-test-utils": "*",
80
- "@emotion/jest": "^11.8.0",
81
- "@testing-library/dom": "^8.17.1",
82
- "@testing-library/react": "^12.1.5",
83
- "@testing-library/react-hooks": "^8.0.1",
84
- "@testing-library/user-event": "^14.4.3",
85
- "raf-stub": "^2.0.1",
86
- "react-dom": "^16.8.0",
87
- "typescript": "~4.9.5",
88
- "wait-for-expect": "^1.2.0"
73
+ "typescript": "~4.9.5"
89
74
  },
90
75
  "techstack": {
91
76
  "@atlassian/frontend": {
@@ -121,9 +106,6 @@
121
106
  },
122
107
  "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
123
108
  "platform-feature-flags": {
124
- "platform.linking-platform.datasource-jira_issues": {
125
- "type": "boolean"
126
- },
127
109
  "platform.linking-platform.datasource.show-jlol-basic-filters": {
128
110
  "type": "boolean",
129
111
  "referenceOnly": "true"
@@ -134,5 +116,10 @@
134
116
  "platform.editor.show-embed-card-frame-renderer": {
135
117
  "type": "boolean"
136
118
  }
119
+ },
120
+ "stricter": {
121
+ "no-unused-dependencies": {
122
+ "checkDevDependencies": true
123
+ }
137
124
  }
138
125
  }