@atlaskit/editor-card-provider 6.5.4 → 6.5.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,13 @@
1
1
  # @atlaskit/editor-card-provider
2
2
 
3
+ ## 6.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5979ce2baa3ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5979ce2baa3ea) -
8
+ Mechanical type-import autofix for rendering and provider packages.
9
+ - Updated dependencies
10
+
3
11
  ## 6.5.4
4
12
 
5
13
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { type JsonLd } from '@atlaskit/json-ld-types';
1
+ import type { JsonLd } from '@atlaskit/json-ld-types';
2
2
  export declare class NetworkError extends Error {
3
3
  constructor(error: 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 { type BlockCardAdf, type EmbedCardAdf, type CardAdf, type InlineCardAdf, type CardAppearance, type DatasourceAdf, type ProductType, type EnvironmentsKeys } from '@atlaskit/linking-common';
6
- import { type CardProvider } from './types';
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 { type JsonLd } from '@atlaskit/json-ld-types';
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 { type CardAppearance, type CardAdf, type DatasourceAdf, type Datasource } from '@atlaskit/linking-common';
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 { type CardAppearance } from '@atlaskit/linking-common';
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
  }
@@ -1,4 +1,4 @@
1
- import { type JsonLd } from '@atlaskit/json-ld-types';
1
+ import type { JsonLd } from '@atlaskit/json-ld-types';
2
2
  export declare class NetworkError extends Error {
3
3
  constructor(error: 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 { type BlockCardAdf, type EmbedCardAdf, type CardAdf, type InlineCardAdf, type CardAppearance, type DatasourceAdf, type ProductType, type EnvironmentsKeys } from '@atlaskit/linking-common';
6
- import { type CardProvider } from './types';
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 { type JsonLd } from '@atlaskit/json-ld-types';
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 { type CardAppearance, type CardAdf, type DatasourceAdf, type Datasource } from '@atlaskit/linking-common';
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 { type CardAppearance } from '@atlaskit/linking-common';
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.4",
3
+ "version": "6.5.5",
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": "^46.0.0",
42
+ "@atlaskit/tmp-editor-statsig": "^46.1.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "dataloader": "^2.1.0"
45
45
  },