@atlaskit/editor-card-provider 6.5.4 → 6.5.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/CHANGELOG.md +14 -0
- package/dist/types/api.d.ts +1 -1
- package/dist/types/provider.d.ts +3 -3
- package/dist/types/transformer.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/api.d.ts +1 -1
- package/dist/types-ts4.5/provider.d.ts +3 -3
- package/dist/types-ts4.5/transformer.d.ts +1 -1
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-card-provider
|
|
2
2
|
|
|
3
|
+
## 6.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.5.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`5979ce2baa3ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5979ce2baa3ea) -
|
|
14
|
+
Mechanical type-import autofix for rendering and provider packages.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.5.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/types/api.d.ts
CHANGED
package/dist/types/provider.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import type { JSONNode } from '@atlaskit/editor-json-transformer';
|
|
|
2
2
|
import type { CallbackPayload } from '@atlaskit/node-data-provider';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import { NodeDataProvider } from '@atlaskit/node-data-provider';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { BlockCardAdf, EmbedCardAdf, CardAdf, InlineCardAdf, CardAppearance, DatasourceAdf, ProductType, EnvironmentsKeys } from '@atlaskit/linking-common';
|
|
6
|
+
import type { CardProvider } from './types';
|
|
7
7
|
import { CardClient } from '@atlaskit/link-provider';
|
|
8
|
-
import {
|
|
8
|
+
import type { JsonLd } from '@atlaskit/json-ld-types';
|
|
9
9
|
export declare const isJiraWorkItem: (url: string) => boolean;
|
|
10
10
|
type CardNode = InlineCardAdf | BlockCardAdf | EmbedCardAdf;
|
|
11
11
|
export declare class EditorCardProvider extends NodeDataProvider<CardNode, JsonLd.Response> implements CardProvider {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardAppearance, CardAdf, DatasourceAdf, Datasource } from '@atlaskit/linking-common';
|
|
2
2
|
export declare class Transformer {
|
|
3
3
|
private buildInlineAdf;
|
|
4
4
|
private buildBlockAdf;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardAppearance } from '@atlaskit/linking-common';
|
|
2
2
|
export interface CardProvider {
|
|
3
3
|
resolve: (url: string, appearance: CardAppearance, shouldForceAppearance?: boolean, isEmbedFriendlyLocation?: boolean) => Promise<any>;
|
|
4
4
|
}
|
|
@@ -2,10 +2,10 @@ import type { JSONNode } from '@atlaskit/editor-json-transformer';
|
|
|
2
2
|
import type { CallbackPayload } from '@atlaskit/node-data-provider';
|
|
3
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import { NodeDataProvider } from '@atlaskit/node-data-provider';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import type { BlockCardAdf, EmbedCardAdf, CardAdf, InlineCardAdf, CardAppearance, DatasourceAdf, ProductType, EnvironmentsKeys } from '@atlaskit/linking-common';
|
|
6
|
+
import type { CardProvider } from './types';
|
|
7
7
|
import { CardClient } from '@atlaskit/link-provider';
|
|
8
|
-
import {
|
|
8
|
+
import type { JsonLd } from '@atlaskit/json-ld-types';
|
|
9
9
|
export declare const isJiraWorkItem: (url: string) => boolean;
|
|
10
10
|
type CardNode = InlineCardAdf | BlockCardAdf | EmbedCardAdf;
|
|
11
11
|
export declare class EditorCardProvider extends NodeDataProvider<CardNode, JsonLd.Response> implements CardProvider {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardAppearance, CardAdf, DatasourceAdf, Datasource } from '@atlaskit/linking-common';
|
|
2
2
|
export declare class Transformer {
|
|
3
3
|
private buildInlineAdf;
|
|
4
4
|
private buildBlockAdf;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CardAppearance } from '@atlaskit/linking-common';
|
|
2
2
|
export interface CardProvider {
|
|
3
3
|
resolve: (url: string, appearance: CardAppearance, shouldForceAppearance?: boolean, isEmbedFriendlyLocation?: boolean) => Promise<any>;
|
|
4
4
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-card-provider",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.6",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/linking-types": "^14.2.0",
|
|
40
40
|
"@atlaskit/node-data-provider": "^9.0.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^47.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"dataloader": "^2.1.0"
|
|
45
45
|
},
|