@atlaskit/editor-card-provider 5.6.0 → 5.6.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 +8 -0
- package/dist/types/types.d.ts +3 -3
- package/dist/types-ts4.5/types.d.ts +3 -3
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-card-provider
|
|
2
2
|
|
|
3
|
+
## 5.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1b7d48c39ae03`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b7d48c39ae03) -
|
|
8
|
+
Sorted type and interface props to improve Atlaskit docs
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 5.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ export type ORSCheckResponse = {
|
|
|
7
7
|
};
|
|
8
8
|
type DisplayViews = 'inline' | 'block' | 'embed';
|
|
9
9
|
export type ProviderPattern = {
|
|
10
|
+
defaultView?: DisplayViews;
|
|
10
11
|
source: string;
|
|
11
12
|
supportedViews?: DisplayViews[];
|
|
12
|
-
defaultView?: DisplayViews;
|
|
13
13
|
};
|
|
14
14
|
type Provider = {
|
|
15
15
|
key: string;
|
|
@@ -17,11 +17,11 @@ type Provider = {
|
|
|
17
17
|
};
|
|
18
18
|
export type LinkAppearance = CardAppearance | 'url';
|
|
19
19
|
export interface UserPreferences {
|
|
20
|
-
defaultAppearance: LinkAppearance;
|
|
21
20
|
appearances: {
|
|
22
|
-
urlSegment: string;
|
|
23
21
|
appearance: LinkAppearance;
|
|
22
|
+
urlSegment: string;
|
|
24
23
|
}[];
|
|
24
|
+
defaultAppearance: LinkAppearance;
|
|
25
25
|
}
|
|
26
26
|
export type ORSProvidersResponse = {
|
|
27
27
|
providers: Provider[];
|
|
@@ -7,9 +7,9 @@ export type ORSCheckResponse = {
|
|
|
7
7
|
};
|
|
8
8
|
type DisplayViews = 'inline' | 'block' | 'embed';
|
|
9
9
|
export type ProviderPattern = {
|
|
10
|
+
defaultView?: DisplayViews;
|
|
10
11
|
source: string;
|
|
11
12
|
supportedViews?: DisplayViews[];
|
|
12
|
-
defaultView?: DisplayViews;
|
|
13
13
|
};
|
|
14
14
|
type Provider = {
|
|
15
15
|
key: string;
|
|
@@ -17,11 +17,11 @@ type Provider = {
|
|
|
17
17
|
};
|
|
18
18
|
export type LinkAppearance = CardAppearance | 'url';
|
|
19
19
|
export interface UserPreferences {
|
|
20
|
-
defaultAppearance: LinkAppearance;
|
|
21
20
|
appearances: {
|
|
22
|
-
urlSegment: string;
|
|
23
21
|
appearance: LinkAppearance;
|
|
22
|
+
urlSegment: string;
|
|
24
23
|
}[];
|
|
24
|
+
defaultAppearance: LinkAppearance;
|
|
25
25
|
}
|
|
26
26
|
export type ORSProvidersResponse = {
|
|
27
27
|
providers: Provider[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-card-provider",
|
|
3
|
-
"version": "5.6.
|
|
3
|
+
"version": "5.6.1",
|
|
4
4
|
"description": "Contains the EditorCardProvider, for determining smart card behaviour in the editor.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
".": "./src/index.ts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
35
|
+
"@atlaskit/editor-json-transformer": "^8.27.0",
|
|
36
36
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
37
37
|
"@atlaskit/json-ld-types": "^1.4.0",
|
|
38
38
|
"@atlaskit/link-client-extension": "^5.0.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@atlaskit/linking-types": "^14.0.0",
|
|
42
42
|
"@atlaskit/node-data-provider": "^4.5.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^11.6.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"dataloader": "^2.1.0"
|
|
47
47
|
},
|