@atlaskit/media-test-helpers 30.0.4 → 30.0.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,11 @@
1
1
  # @atlaskit/media-test-helpers
2
2
 
3
+ ## 30.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 30.0.4
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "30.0.4"
3
+ "version": "30.0.5"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "30.0.4"
3
+ "version": "30.0.5"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "30.0.4"
3
+ "version": "30.0.5"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-test-helpers",
3
- "version": "30.0.4",
3
+ "version": "30.0.5",
4
4
  "description": "Collection of test helpers used in media component stories and specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,16 +27,16 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/button": "^16.3.0",
30
- "@atlaskit/checkbox": "^12.2.0",
31
- "@atlaskit/icon": "^21.10.0",
30
+ "@atlaskit/checkbox": "^12.4.0",
31
+ "@atlaskit/icon": "^21.11.0",
32
32
  "@atlaskit/locale": "^2.1.0",
33
- "@atlaskit/media-client": "^17.1.0",
33
+ "@atlaskit/media-client": "^18.0.0",
34
34
  "@atlaskit/media-common": "^2.16.0",
35
- "@atlaskit/media-core": "^33.0.0",
35
+ "@atlaskit/media-core": "^34.0.0",
36
36
  "@atlaskit/media-ui": "^22.1.0",
37
- "@atlaskit/popup": "^1.4.0",
38
- "@atlaskit/textfield": "^5.2.0",
39
- "@atlaskit/tooltip": "^17.5.0",
37
+ "@atlaskit/popup": "^1.5.0",
38
+ "@atlaskit/textfield": "^5.3.0",
39
+ "@atlaskit/tooltip": "^17.6.0",
40
40
  "@atlaskit/ufo": "^0.1.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/styled": "^10.0.7",
package/report.api.md CHANGED
@@ -1,6 +1,8 @@
1
- ## API Report File for "@atlaskit/media-test-helpers"
1
+ ## API Report File for "@atlaskit/media-test-helpers".
2
2
 
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
3
+ > Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
4
6
 
5
7
  ```ts
6
8
  /// <reference types="jest" />
@@ -25,7 +27,6 @@ import { MediaFeatureFlags } from '@atlaskit/media-common';
25
27
  import { MediaFile } from '@atlaskit/media-client';
26
28
  import { MediaStoreError } from '@atlaskit/media-client';
27
29
  import { MediaType } from '@atlaskit/media-client';
28
- import { Omit as Omit_2 } from '@emotion/styled-base/types/helper';
29
30
  import { PollingError } from '@atlaskit/media-client';
30
31
  import { default as React_2 } from 'react';
31
32
  import { ReactNode } from 'react';
@@ -182,6 +183,7 @@ export declare const createUploadMediaClient: () => MediaClient;
182
183
 
183
184
  export declare const createUploadMediaClientConfig: (
184
185
  stargateBaseUrl?: string | undefined,
186
+ env?: MediaEnv | undefined,
185
187
  ) => MediaClientConfig;
186
188
 
187
189
  export declare const dataURItoBlob: (dataURI: string) => Blob;
@@ -408,11 +410,11 @@ export declare function mapDataUriToBlob(dataUri: string): Blob;
408
410
 
409
411
  export declare const Matrix: StyledComponent<
410
412
  DetailedHTMLProps<TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>,
411
- Omit_2<
413
+ Pick<
412
414
  ClassAttributes<HTMLTableElement> & TableHTMLAttributes<HTMLTableElement>,
413
- keyof ClassAttributes<any>
415
+ keyof TableHTMLAttributes<HTMLTableElement>
414
416
  >,
415
- any
417
+ object
416
418
  >;
417
419
 
418
420
  export declare class MediaClientMock extends MediaClient {
@@ -433,6 +435,8 @@ export declare type MediaClientMockOptions = {
433
435
  getImageDelay?: number;
434
436
  };
435
437
 
438
+ declare type MediaEnv = 'dev' | 'staging';
439
+
436
440
  export declare class MediaMock {
437
441
  readonly collections?: MockCollections | undefined;
438
442
  private server;
@@ -464,6 +468,7 @@ export declare const mediaMockQueryOptInFlag = 'mediaMock=true';
464
468
 
465
469
  export declare const mediaPickerAuthProvider: (
466
470
  authEnvironment?: string,
471
+ env?: MediaEnv | undefined,
467
472
  ) => (context?: AuthContext | undefined) => Promise<Auth>;
468
473
 
469
474
  export declare function mockCanvas(