@atlaskit/media-test-helpers 32.1.0 → 33.0.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 +17 -0
- package/collectionNames/package.json +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/docs-content-tabs.d.ts +2 -2
- package/dist/types/featureFlagsWrapper/dropdown.d.ts +1 -1
- package/dist/types/fileStateFactory/factory/createFileState.d.ts +2 -2
- package/dist/types/fileStateFactory/factory/factory.d.ts +5 -5
- package/dist/types/fileStateFactory/fileSimulation/fileSimulation.d.ts +4 -4
- package/dist/types/fileStateFactory/fileSimulation/simulations.d.ts +1 -1
- package/dist/types/getJest.d.ts +1 -1
- package/dist/types/jestHelpers.d.ts +4 -4
- package/dist/types/mediaClientProvider.d.ts +1 -1
- package/dist/types/mediaPickerAuthProvider.d.ts +2 -2
- package/dist/types/mocks/database/chunk.d.ts +2 -2
- package/dist/types/mocks/database/collection-item.d.ts +4 -4
- package/dist/types/mocks/database/collection.d.ts +1 -1
- package/dist/types/mocks/database/index.d.ts +1 -1
- package/dist/types/mocks/database/upload.d.ts +1 -1
- package/dist/types/mocks/media-mock.d.ts +3 -3
- package/dist/types/mocks/websockets/remote-upload-server.d.ts +1 -1
- package/dist/types/story-list.d.ts +1 -1
- package/exampleMediaFeatureFlags/package.json +2 -2
- package/exampleMediaItems/package.json +2 -2
- package/fakeMediaClient/package.json +2 -2
- package/getAuthFromContextProvider/package.json +2 -2
- package/globalEventEmitterListeners/package.json +2 -2
- package/images/package.json +2 -2
- package/jestHelpers/package.json +2 -2
- package/media-mock/package.json +2 -2
- package/mediaPickerAuthProvider/package.json +2 -2
- package/mockData/package.json +2 -2
- package/package.json +25 -17
- package/renderWithIntl/package.json +2 -2
- package/smart-card-state/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/media-test-helpers
|
|
2
2
|
|
|
3
|
+
## 33.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 33.0.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 32.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/collectionNames.js",
|
|
6
6
|
"types": "../dist/types/collectionNames.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/collectionNames.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
|
|
3
|
+
type TabItems = {
|
|
4
4
|
name: string;
|
|
5
5
|
content: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type DocsContentTabsProps = {
|
|
8
8
|
tabs: TabItems[];
|
|
9
9
|
};
|
|
10
10
|
export declare const DocsContentTabs: React.FC<DocsContentTabsProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export
|
|
2
|
+
export type MediaFeatureFlagsDropdownProps = {
|
|
3
3
|
onFlagChanged: () => void;
|
|
4
4
|
};
|
|
5
5
|
declare const MediaFeatureFlagsDropdown: ({ onFlagChanged, }: MediaFeatureFlagsDropdownProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FileState, FileDetails } from '@atlaskit/media-client';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type FileStateStatus = FileState['status'];
|
|
3
|
+
export type CreateFileStateOptions = {
|
|
4
4
|
withRemotePreview?: boolean;
|
|
5
5
|
withLocalPreview?: boolean;
|
|
6
6
|
withBrokenLocalPreview?: boolean;
|
|
@@ -3,7 +3,7 @@ import { ReplaySubject } from 'rxjs/ReplaySubject';
|
|
|
3
3
|
import { MediaClientConfig } from '@atlaskit/media-core';
|
|
4
4
|
import { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
5
5
|
import { CreateFileStateOptions, FileStateStatus } from './createFileState';
|
|
6
|
-
export
|
|
6
|
+
export type MediaClientMockOptions = {
|
|
7
7
|
getImageDelay?: number;
|
|
8
8
|
hasPreview?: boolean;
|
|
9
9
|
};
|
|
@@ -17,7 +17,7 @@ export declare class MediaClientMock extends MediaClient {
|
|
|
17
17
|
getImage: () => Promise<Blob>;
|
|
18
18
|
private mockFileFetcher;
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type FileStateFactoryOptions = {
|
|
21
21
|
fileDetails?: Partial<FileDetails>;
|
|
22
22
|
mediaClientConfig?: MediaClientConfig;
|
|
23
23
|
featureFlags?: MediaFeatureFlags;
|
|
@@ -34,12 +34,12 @@ export declare class FileStateFactory {
|
|
|
34
34
|
mediaClient: MediaClientMock;
|
|
35
35
|
private observable;
|
|
36
36
|
constructor(identifier: FileIdentifier, { fileDetails, mediaClientConfig, featureFlags, mediaClientMockOptions, }?: FileStateFactoryOptions);
|
|
37
|
-
updateIdentifier: (identifier: FileIdentifier, fileDetails?: Partial<FileDetails>
|
|
37
|
+
updateIdentifier: (identifier: FileIdentifier, fileDetails?: Partial<FileDetails>) => void;
|
|
38
38
|
subscription: {
|
|
39
39
|
next: (fileState: FileState) => void;
|
|
40
40
|
error: (error: Error) => void;
|
|
41
41
|
};
|
|
42
|
-
createFileState: (status: FileStateStatus, options?: CreateFileStateOptions
|
|
43
|
-
next: (status: FileStateStatus, options?: CreateFileStateOptions
|
|
42
|
+
createFileState: (status: FileStateStatus, options?: CreateFileStateOptions) => FileState;
|
|
43
|
+
next: (status: FileStateStatus, options?: CreateFileStateOptions) => void;
|
|
44
44
|
error: (error: Error) => void;
|
|
45
45
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { MediaType, FileState, FileIdentifier } from '@atlaskit/media-client';
|
|
2
2
|
import { FileStateFactory, MediaClientMockOptions } from '../factory';
|
|
3
|
-
export
|
|
3
|
+
export type SimulationSettings = {
|
|
4
4
|
mediaType?: MediaType;
|
|
5
5
|
mediaClientMockOptions?: MediaClientMockOptions;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type SimulationUtils = {
|
|
8
8
|
updateIdentifier: (newMediaType?: MediaType) => void;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type Simulation = (fileStateFactory: FileStateFactory, utils: SimulationUtils) => void;
|
|
11
11
|
export declare const useRunSimulation: (simulation: Simulation, simulationSettings?: SimulationSettings) => {
|
|
12
12
|
identifier: FileIdentifier;
|
|
13
13
|
fileStateFactory: FileStateFactory;
|
|
14
14
|
fileState: FileState | {
|
|
15
15
|
status: string;
|
|
16
16
|
} | undefined;
|
|
17
|
-
updateIdentifier: (newMediaType?: MediaType
|
|
17
|
+
updateIdentifier: (newMediaType?: MediaType) => void;
|
|
18
18
|
};
|
package/dist/types/getJest.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface MockedJest<F, S> {
|
|
|
6
6
|
requireActual: () => void;
|
|
7
7
|
doMock: () => void;
|
|
8
8
|
}
|
|
9
|
-
|
|
9
|
+
type MockFunction<T> = <T>(value?: T) => void;
|
|
10
10
|
export interface MockStub<T, R> extends MockFunction<T> {
|
|
11
11
|
mockReturnValue: (value: T) => R;
|
|
12
12
|
mockImplementation: (value: T) => R;
|
|
@@ -5,9 +5,9 @@ export declare const asMockReturnValue: <T extends (...args: any[]) => any>(fn:
|
|
|
5
5
|
export declare const asMockFunctionReturnValue: <T extends (...args: any[]) => any>(fn: T, returnValue: ReturnType<T>) => jest.MockedFunction<T>;
|
|
6
6
|
export declare const asMockFunctionResolvedValue: <T extends (...args: any[]) => any>(fn: T, resolveValue: jest.ResolvedValue<ReturnType<T>>) => jest.MockedFunction<T>;
|
|
7
7
|
export declare const expectToEqual: <T>(actual: T, expected: T) => void;
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type ExpectFunctionToHaveBeenCalledWith = <T extends (...args: any[]) => any>(func: T, expectedArgs: Parameters<T>) => void;
|
|
9
|
+
export type ExpectConstructorToHaveBeenCalledWith = <T extends new (...args: any[]) => any>(func: T, expectedArgs: ConstructorParameters<T>) => void;
|
|
10
10
|
export declare const expectConstructorToHaveBeenCalledWith: ExpectConstructorToHaveBeenCalledWith;
|
|
11
11
|
export declare const expectFunctionToHaveBeenCalledWith: ExpectFunctionToHaveBeenCalledWith;
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type JestSpy<T extends (...args: any) => any> = jest.SpyInstance<ReturnType<T>, Parameters<T>>;
|
|
13
|
+
export type JestFunction<T extends (...args: any) => any> = jest.Mock<ReturnType<T>, Parameters<T>>;
|
|
@@ -19,5 +19,5 @@ interface AuthParameter {
|
|
|
19
19
|
export declare const createStorybookMediaClient: (authParameter?: AuthParameter) => MediaClient;
|
|
20
20
|
export declare const createStorybookMediaClientConfig: (authParameter?: AuthParameter) => MediaClientConfig;
|
|
21
21
|
export declare const createUploadMediaClient: () => MediaClient;
|
|
22
|
-
export declare const createUploadMediaClientConfig: (stargateBaseUrl?: string
|
|
22
|
+
export declare const createUploadMediaClientConfig: (stargateBaseUrl?: string, env?: MediaEnv) => MediaClientConfig;
|
|
23
23
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Auth, AuthContext } from '@atlaskit/media-core';
|
|
2
|
-
export
|
|
3
|
-
export declare const mediaPickerAuthProvider: (authEnvironment?: string, env?: MediaEnv
|
|
2
|
+
export type MediaEnv = 'dev' | 'staging';
|
|
3
|
+
export declare const mediaPickerAuthProvider: (authEnvironment?: string, env?: MediaEnv) => (context?: AuthContext) => Promise<Auth>;
|
|
4
4
|
export declare const defaultMediaPickerAuthProvider: () => () => Promise<Auth>;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { MediaType, MediaItemDetails, MediaFileProcessingStatus } from '@atlaskit/media-client';
|
|
2
|
-
export
|
|
2
|
+
export type MediaItemMinimalDetails = {
|
|
3
3
|
readonly name: string;
|
|
4
4
|
readonly size: number;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
type MediaCollectionItem = {
|
|
7
7
|
readonly id: string;
|
|
8
8
|
readonly insertedAt: number;
|
|
9
9
|
readonly occurrenceKey: string;
|
|
10
10
|
readonly details: MediaItemDetails | MediaItemMinimalDetails;
|
|
11
11
|
};
|
|
12
12
|
export declare const isMediaItemDetails: (mediaCollectionItem: MediaItemDetails | MediaItemMinimalDetails) => mediaCollectionItem is MediaItemDetails;
|
|
13
|
-
export
|
|
13
|
+
export type CollectionItem = MediaCollectionItem & {
|
|
14
14
|
readonly collectionName?: string;
|
|
15
15
|
readonly blob?: Blob;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type CreateCollectionItemOptions = {
|
|
18
18
|
readonly name?: string;
|
|
19
19
|
readonly mediaType?: MediaType;
|
|
20
20
|
readonly mimeType?: string;
|
|
@@ -12,7 +12,7 @@ export declare const tenantAuth: ClientBasedAuth;
|
|
|
12
12
|
export declare const userAuth: ClientBasedAuth;
|
|
13
13
|
export declare const userAuthProvider: () => Promise<ClientBasedAuth>;
|
|
14
14
|
export declare const tenantAuthProvider: () => Promise<ClientBasedAuth>;
|
|
15
|
-
export
|
|
15
|
+
export type MediaDatabaseSchema = {
|
|
16
16
|
collection: MediaCollection;
|
|
17
17
|
collectionItem: CollectionItem;
|
|
18
18
|
upload: Upload;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaFile } from '@atlaskit/media-client';
|
|
2
|
-
export
|
|
2
|
+
export type MockCollections = {
|
|
3
3
|
[key: string]: Array<MediaFile & {
|
|
4
4
|
blob?: Blob;
|
|
5
5
|
}>;
|
|
@@ -19,10 +19,10 @@ export declare class MediaMock {
|
|
|
19
19
|
enable(config?: MediaMockConfig): void;
|
|
20
20
|
disable(): void;
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type MockFileInputParams = Partial<MediaFile> & {
|
|
23
23
|
dataUri?: string;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type MockFile = MediaFile & {
|
|
26
26
|
blob?: Blob;
|
|
27
27
|
};
|
|
28
28
|
export declare function generateFilesFromTestData(files: MockFileInputParams[]): MockFile[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Database } from 'kakapo';
|
|
2
2
|
import { WebSocketServer } from './types';
|
|
3
3
|
import { MediaDatabaseSchema } from '../database';
|
|
4
|
-
export
|
|
4
|
+
export type RemoteUploadActivityServerParams = {
|
|
5
5
|
database: Database<MediaDatabaseSchema>;
|
|
6
6
|
isSlowServer?: boolean;
|
|
7
7
|
};
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/example-mediaFeatureFlags.js",
|
|
6
6
|
"types": "../dist/types/example-mediaFeatureFlags.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/example-mediaFeatureFlags.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/exampleMediaItems.js",
|
|
6
6
|
"types": "../dist/types/exampleMediaItems.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/exampleMediaItems.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/fakeMediaClient.js",
|
|
6
6
|
"types": "../dist/types/fakeMediaClient.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/fakeMediaClient.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/getAuthFromContextProvider.js",
|
|
6
6
|
"types": "../dist/types/getAuthFromContextProvider.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/getAuthFromContextProvider.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/globalEventEmitterListeners.js",
|
|
6
6
|
"types": "../dist/types/globalEventEmitterListeners.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/globalEventEmitterListeners.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
package/images/package.json
CHANGED
package/jestHelpers/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/jestHelpers.js",
|
|
6
6
|
"types": "../dist/types/jestHelpers.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/jestHelpers.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
package/media-mock/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/mocks/media-mock.js",
|
|
6
6
|
"types": "../dist/types/mocks/media-mock.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/mocks/media-mock.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/mediaPickerAuthProvider.js",
|
|
6
6
|
"types": "../dist/types/mediaPickerAuthProvider.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/mediaPickerAuthProvider.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
package/mockData/package.json
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/utils/mockData.js",
|
|
6
6
|
"types": "../dist/types/utils/mockData.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/utils/mockData.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-test-helpers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.1",
|
|
4
4
|
"description": "Collection of test helpers used in media component stories and specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,6 +12,14 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
">=4.5 <4.9": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.5/*",
|
|
19
|
+
"dist/types-ts4.5/index.d.ts"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
15
23
|
"atlaskit:src": "src/index.tsx",
|
|
16
24
|
"atlassian": {
|
|
17
25
|
"team": "Media Experience",
|
|
@@ -19,19 +27,19 @@
|
|
|
19
27
|
"releaseModel": "scheduled"
|
|
20
28
|
},
|
|
21
29
|
"dependencies": {
|
|
22
|
-
"@atlaskit/button": "^16.
|
|
23
|
-
"@atlaskit/checkbox": "^12.
|
|
24
|
-
"@atlaskit/icon": "^21.
|
|
25
|
-
"@atlaskit/locale": "^2.
|
|
26
|
-
"@atlaskit/media-client": "^
|
|
27
|
-
"@atlaskit/media-common": "^4.
|
|
28
|
-
"@atlaskit/media-ui": "^22.
|
|
29
|
-
"@atlaskit/popup": "^1.
|
|
30
|
-
"@atlaskit/tabs": "^13.
|
|
31
|
-
"@atlaskit/textfield": "^5.
|
|
32
|
-
"@atlaskit/tokens": "^1.
|
|
33
|
-
"@atlaskit/tooltip": "^17.
|
|
34
|
-
"@atlaskit/ufo": "^0.
|
|
30
|
+
"@atlaskit/button": "^16.7.0",
|
|
31
|
+
"@atlaskit/checkbox": "^12.6.0",
|
|
32
|
+
"@atlaskit/icon": "^21.12.0",
|
|
33
|
+
"@atlaskit/locale": "^2.4.0",
|
|
34
|
+
"@atlaskit/media-client": "^22.0.0",
|
|
35
|
+
"@atlaskit/media-common": "^4.1.0",
|
|
36
|
+
"@atlaskit/media-ui": "^22.4.0",
|
|
37
|
+
"@atlaskit/popup": "^1.6.0",
|
|
38
|
+
"@atlaskit/tabs": "^13.4.0",
|
|
39
|
+
"@atlaskit/textfield": "^5.4.0",
|
|
40
|
+
"@atlaskit/tokens": "^1.4.0",
|
|
41
|
+
"@atlaskit/tooltip": "^17.8.0",
|
|
42
|
+
"@atlaskit/ufo": "^0.2.0",
|
|
35
43
|
"@babel/runtime": "^7.0.0",
|
|
36
44
|
"@emotion/react": "^11.7.1",
|
|
37
45
|
"@emotion/styled": "^10.0.7",
|
|
@@ -46,14 +54,14 @@
|
|
|
46
54
|
"xhr-mock": "^2.4.0"
|
|
47
55
|
},
|
|
48
56
|
"peerDependencies": {
|
|
49
|
-
"@atlaskit/media-core": "^34.
|
|
57
|
+
"@atlaskit/media-core": "^34.1.1",
|
|
50
58
|
"react": "^16.8.0"
|
|
51
59
|
},
|
|
52
60
|
"devDependencies": {
|
|
53
|
-
"@atlaskit/media-core": "^34.
|
|
61
|
+
"@atlaskit/media-core": "^34.1.0",
|
|
54
62
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
55
63
|
"react-dom": "^16.8.0",
|
|
56
|
-
"typescript": "4.
|
|
64
|
+
"typescript": "~4.9.5"
|
|
57
65
|
},
|
|
58
66
|
"af:exports": {
|
|
59
67
|
"./renderWithIntl": "./src/renderWithIntl.tsx",
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/renderWithIntl.js",
|
|
6
6
|
"types": "../dist/types/renderWithIntl.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/renderWithIntl.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"module:es2019": "../dist/es2019/smart-card-state.js",
|
|
6
6
|
"types": "../dist/types/smart-card-state.d.ts",
|
|
7
7
|
"typesVersions": {
|
|
8
|
-
">=4.
|
|
8
|
+
">=4.5 <4.9": {
|
|
9
9
|
"*": [
|
|
10
|
-
"../dist/types-ts4.
|
|
10
|
+
"../dist/types-ts4.5/smart-card-state.d.ts"
|
|
11
11
|
]
|
|
12
12
|
}
|
|
13
13
|
}
|