@atlaskit/media-test-helpers 33.0.35 → 33.0.36

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.
Files changed (102) hide show
  1. package/CHANGELOG.md +1461 -1466
  2. package/dist/cjs/docs-content-tabs.js +3 -0
  3. package/dist/cjs/featureFlagsWrapper/dropdown.js +42 -32
  4. package/dist/cjs/story-list.js +12 -6
  5. package/dist/cjs/story-styles.js +10 -1
  6. package/dist/cjs/styled.js +4 -1
  7. package/dist/es2019/docs-content-tabs.js +2 -0
  8. package/dist/es2019/featureFlagsWrapper/dropdown.js +38 -29
  9. package/dist/es2019/story-list.js +12 -6
  10. package/dist/es2019/story-styles.js +9 -1
  11. package/dist/es2019/styled.js +3 -1
  12. package/dist/esm/docs-content-tabs.js +2 -0
  13. package/dist/esm/featureFlagsWrapper/dropdown.js +41 -32
  14. package/dist/esm/story-list.js +12 -6
  15. package/dist/esm/story-styles.js +9 -1
  16. package/dist/esm/styled.js +3 -1
  17. package/dist/types/I18nWrapper.d.ts +1 -1
  18. package/dist/types/authProvider.d.ts +1 -1
  19. package/dist/types/docs-content-tabs.d.ts +1 -1
  20. package/dist/types/example-mediaFeatureFlags.d.ts +1 -1
  21. package/dist/types/exampleMediaItems.d.ts +1 -1
  22. package/dist/types/fakeMediaClient.d.ts +1 -1
  23. package/dist/types/featureFlagsWrapper/dropdown.d.ts +1 -1
  24. package/dist/types/featureFlagsWrapper/helpers.d.ts +1 -1
  25. package/dist/types/fileReader.d.ts +1 -1
  26. package/dist/types/fileStateFactory/factory/createFileState.d.ts +1 -1
  27. package/dist/types/fileStateFactory/factory/factory.d.ts +5 -5
  28. package/dist/types/fileStateFactory/factory/helpers.d.ts +1 -1
  29. package/dist/types/fileStateFactory/factory/index.d.ts +1 -1
  30. package/dist/types/fileStateFactory/fileSimulation/fileSimulation.d.ts +2 -2
  31. package/dist/types/fileStateFactory/fileSimulation/index.d.ts +1 -1
  32. package/dist/types/fileStateFactory/fileSimulation/simulations.d.ts +4 -11
  33. package/dist/types/fileStateFactory/index.d.ts +2 -2
  34. package/dist/types/index.d.ts +3 -3
  35. package/dist/types/mediaClientErrors.d.ts +1 -1
  36. package/dist/types/mediaClientProvider.d.ts +2 -2
  37. package/dist/types/mediaPickerAuthProvider.d.ts +1 -1
  38. package/dist/types/mockData/handlers/copyWithToken.d.ts +2 -2
  39. package/dist/types/mockData/handlers/getFile.d.ts +2 -2
  40. package/dist/types/mockData/handlers/getFileImage.d.ts +2 -2
  41. package/dist/types/mockData/handlers/tenantAuth.d.ts +2 -2
  42. package/dist/types/mockData/handlers/userCollectionFetch.d.ts +2 -2
  43. package/dist/types/mockData/index.d.ts +4 -4
  44. package/dist/types/mockData/matchers.d.ts +2 -2
  45. package/dist/types/mockData/staticCommon.d.ts +1 -1
  46. package/dist/types/mockData/utils.d.ts +2 -2
  47. package/dist/types/mocks/database/collection-item.d.ts +1 -1
  48. package/dist/types/mocks/database/index.d.ts +7 -7
  49. package/dist/types/mocks/database/upload.d.ts +2 -2
  50. package/dist/types/mocks/media-mock.d.ts +1 -1
  51. package/dist/types/mocks/routers/api-router.d.ts +1 -1
  52. package/dist/types/mocks/routers/media-playground-router.d.ts +1 -1
  53. package/dist/types/mocks/websockets/remote-upload-server.d.ts +3 -3
  54. package/dist/types/mountWithIntlContext.d.ts +3 -3
  55. package/dist/types/renderWithIntl.d.ts +1 -1
  56. package/dist/types/story-list.d.ts +1 -1
  57. package/dist/types/ufoLogger.d.ts +1 -1
  58. package/dist/types/utils/logging.d.ts +2 -2
  59. package/dist/types-ts4.5/I18nWrapper.d.ts +1 -1
  60. package/dist/types-ts4.5/authProvider.d.ts +1 -1
  61. package/dist/types-ts4.5/docs-content-tabs.d.ts +1 -1
  62. package/dist/types-ts4.5/example-mediaFeatureFlags.d.ts +1 -1
  63. package/dist/types-ts4.5/exampleMediaItems.d.ts +1 -1
  64. package/dist/types-ts4.5/fakeMediaClient.d.ts +1 -1
  65. package/dist/types-ts4.5/featureFlagsWrapper/dropdown.d.ts +1 -1
  66. package/dist/types-ts4.5/featureFlagsWrapper/helpers.d.ts +1 -1
  67. package/dist/types-ts4.5/fileReader.d.ts +1 -1
  68. package/dist/types-ts4.5/fileStateFactory/factory/createFileState.d.ts +1 -1
  69. package/dist/types-ts4.5/fileStateFactory/factory/factory.d.ts +5 -5
  70. package/dist/types-ts4.5/fileStateFactory/factory/helpers.d.ts +1 -1
  71. package/dist/types-ts4.5/fileStateFactory/factory/index.d.ts +1 -1
  72. package/dist/types-ts4.5/fileStateFactory/fileSimulation/fileSimulation.d.ts +2 -2
  73. package/dist/types-ts4.5/fileStateFactory/fileSimulation/index.d.ts +1 -1
  74. package/dist/types-ts4.5/fileStateFactory/fileSimulation/simulations.d.ts +1 -1
  75. package/dist/types-ts4.5/fileStateFactory/index.d.ts +2 -2
  76. package/dist/types-ts4.5/index.d.ts +3 -3
  77. package/dist/types-ts4.5/mediaClientErrors.d.ts +1 -1
  78. package/dist/types-ts4.5/mediaClientProvider.d.ts +2 -2
  79. package/dist/types-ts4.5/mediaPickerAuthProvider.d.ts +1 -1
  80. package/dist/types-ts4.5/mockData/handlers/copyWithToken.d.ts +2 -2
  81. package/dist/types-ts4.5/mockData/handlers/getFile.d.ts +2 -2
  82. package/dist/types-ts4.5/mockData/handlers/getFileImage.d.ts +2 -2
  83. package/dist/types-ts4.5/mockData/handlers/tenantAuth.d.ts +2 -2
  84. package/dist/types-ts4.5/mockData/handlers/userCollectionFetch.d.ts +2 -2
  85. package/dist/types-ts4.5/mockData/index.d.ts +4 -4
  86. package/dist/types-ts4.5/mockData/matchers.d.ts +2 -2
  87. package/dist/types-ts4.5/mockData/staticCommon.d.ts +1 -1
  88. package/dist/types-ts4.5/mockData/utils.d.ts +2 -2
  89. package/dist/types-ts4.5/mocks/database/collection-item.d.ts +1 -1
  90. package/dist/types-ts4.5/mocks/database/index.d.ts +7 -7
  91. package/dist/types-ts4.5/mocks/database/upload.d.ts +2 -2
  92. package/dist/types-ts4.5/mocks/media-mock.d.ts +1 -1
  93. package/dist/types-ts4.5/mocks/routers/api-router.d.ts +1 -1
  94. package/dist/types-ts4.5/mocks/routers/media-playground-router.d.ts +1 -1
  95. package/dist/types-ts4.5/mocks/websockets/remote-upload-server.d.ts +3 -3
  96. package/dist/types-ts4.5/mountWithIntlContext.d.ts +3 -3
  97. package/dist/types-ts4.5/renderWithIntl.d.ts +1 -1
  98. package/dist/types-ts4.5/story-list.d.ts +1 -1
  99. package/dist/types-ts4.5/ufoLogger.d.ts +1 -1
  100. package/dist/types-ts4.5/utils/logging.d.ts +2 -2
  101. package/package.json +89 -91
  102. package/report.api.md +445 -498
@@ -1,9 +1,9 @@
1
- import { MockURL } from 'xhr-mock/lib/MockURL';
2
- import { MockHeaders } from 'xhr-mock/lib/types';
3
- import { ClientBasedAuth } from '@atlaskit/media-core';
1
+ import { type MockURL } from 'xhr-mock/lib/MockURL';
2
+ import { type MockHeaders } from 'xhr-mock/lib/types';
3
+ import { type ClientBasedAuth } from '@atlaskit/media-core';
4
4
  export { exactMatch, exactMatchBody, exactMatchHeaders, exactMatchUrl, matchMethod, } from './matchers';
5
5
  export { dataURItoBlob, fillInResponse } from './utils';
6
- export { copyWithToken, getFile, getFileImage, userCollectionFetch, } from './handlers';
6
+ export { copyWithToken, getFile, getFileImage, userCollectionFetch } from './handlers';
7
7
  export interface RequestData {
8
8
  method?: string;
9
9
  url?: MockURL;
@@ -1,5 +1,5 @@
1
- import { MockRequest } from 'xhr-mock';
2
- import { RequestData } from '.';
1
+ import { type MockRequest } from 'xhr-mock';
2
+ import { type RequestData } from '.';
3
3
  export declare const matchMethod: (req: MockRequest, data: RequestData) => boolean;
4
4
  export declare const exactMatchUrl: (req: MockRequest, data: RequestData) => boolean;
5
5
  export declare const exactMatchHeaders: (req: MockRequest, data: RequestData) => boolean;
@@ -1,4 +1,4 @@
1
- import { InternalFile, MediaCollectionFile } from '.';
1
+ import { type InternalFile, type MediaCollectionFile } from '.';
2
2
  export declare const fileUri = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAYAAAAXb/p7AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAB3RJTUUH4gMGFh4MMM+ZEwAABIJJREFUWMPN2FuM3VMUx/HPmU4702lnOtoStDFuVdek0UGnF0pvtCqMqrvwQL0oDxJJ40lISIoHIRJKNa5pDEEVkUi8IBpRCRppBKFBqduUVi/jYe3j/DsznTn//zkP3cnkzH9f1v7t776ttUvqlbo3wTQ8h/exUk/nnlrNNtRRXBPuwKlYhs6UfwgIjDQX3en/ibgFI2sVWS+BzUlQaybvEpxdq+HaBQahM3FBv5LxSfSoWijWg2AJl6J9kLKlOKcW4/UQOB7zDlJ2mBop1kPgKZgyRPnF6CpqvDaBlbNv7BC12gXFpiIUayVYwunpd6i0BDOLdFCrwFHoqKLeOAUp1iqwWRzK1aTFmJ23g3oQbKmybhtWoDkPxVoFNmBEjvqLMCdvB9Wn7k2Vv0j7kMdjKVMcXS3F6gVWDJYy37vRm2uQLMS51VbOO8Wz8JTKzbELP+W00SoHxeoEhqExWIUb8Tg6xfR+nVMgLBDuWZ0ERpqfMXoiHhD38GbszylwrKDYMhzF4QWGgbG41YFHytzUyafYkVNgecDn14vgQpw3SNsVwtXfXEDgmNR+zFAUhxYYDSuLemDqEJ7zRvQVEDnPQEc3N8FFhj4WLhMEvysgsMUwFA8uMBpUrqeDpyniPl5fQCCxDucfrHA4ghca/oIfKQivww8FBJYpjh2M4uACo+K4KuiV03QxxS8WEEicCAsGKxiK4EXi5qgmTRbTvAbfFxA4Whxjrf0pDhQYFdpVjpBqUhuOxBa8UEAgsUwWVktwsXyBTpNYEn1Yq9iObhYU27IUDxRYjB7h4YzU06lGirPFxhyS4FLMyGl4v3C9yv+vxbcFKa7AuDLFisDIqATa+dI/yvdxUPwKzyt2u8wSG3RQgkUffH7Btn5EnylIsSlLMStwQkF68Dl+/v+rQvHZghS7RCx9gMBFij309OFt/DtI/jp8U5DiTWhtzGT2iuOhJeeot+D1Abk9nXRv2opHxcvryCrtllK9bejLCtyAz8ROyiNwB7anaR2M7iN4NafA/SLW6c1GaIdkKiVxo4Rj+mdS367yILQ75ZX0dPZmBtQqgvY/MmQmJlu/iaOnEYen9r+m3zaxnPb263dP+m7DX6l8XHmTXIX3cKXwkp/Hu3gTK8W2vyszsDbhGKzHpJR3rZjKl3FvGuR96MEruCKJXYPTUpvrU7/L0/ec9H03TsL6BrEputPoluF33C920ga8hKNwTIbedJwhvJhyrLJcxMkP4i1xbC3HB1iNL5LNqanP5ky/l4s12o6jcbVwHk5uEA+QJ+Ax4R134KM0dV9iazKyL7NWl4ho7h1xNTbi6fR7pzjHtuNJ8S54O45PbcNWUOxI/U5NffeJ8OET3IzGBvEAPjlN0SRxHo5Ia7AhszuPEK/5x4pAZ1oaZVfqYC8exoe4IQ16q4if9+IalYemknAKJmX6Lbtau8TRNAkTGkVMsB5vJBpdicbOZBj+Fg7EQ3giTdXqtNhXiVeGs0QAVcJrqf1tOC7ZuSdthJ3CQZ0hPPCNCdJM/Cg25cdp3V73H5C3AqXr3FVlAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE4LTAzLTA2VDIyOjMwOjEyLTA1OjAwkZ+D/QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOC0wMy0wNlQyMjozMDoxMi0wNTowMODCO0EAAAAASUVORK5CYII=";
3
3
  export declare const files: Array<InternalFile>;
4
4
  export declare const userCollection: Array<MediaCollectionFile>;
@@ -1,4 +1,4 @@
1
- import { MockResponse } from 'xhr-mock';
2
- import { ResponseData } from '.';
1
+ import { type MockResponse } from 'xhr-mock';
2
+ import { type ResponseData } from '.';
3
3
  export declare const dataURItoBlob: (dataURI: string) => Blob;
4
4
  export declare const fillInResponse: (res: MockResponse, data: ResponseData) => void;
@@ -1,4 +1,4 @@
1
- import { MediaType, MediaItemDetails, MediaFileProcessingStatus } from '@atlaskit/media-client';
1
+ import { type MediaType, type MediaItemDetails, type MediaFileProcessingStatus } from '@atlaskit/media-client';
2
2
  export type MediaItemMinimalDetails = {
3
3
  readonly name: string;
4
4
  readonly size: number;
@@ -1,13 +1,13 @@
1
1
  import { Database } from 'kakapo';
2
- import { ClientBasedAuth } from '@atlaskit/media-core';
3
- import { MediaCollection } from './collection';
4
- import { CollectionItem } from './collection-item';
5
- import { Upload } from './upload';
6
- import { Chunk } from './chunk';
7
- import { MockCollections } from '../media-mock';
2
+ import { type ClientBasedAuth } from '@atlaskit/media-core';
3
+ import { type MediaCollection } from './collection';
4
+ import { type CollectionItem } from './collection-item';
5
+ import { type Upload } from './upload';
6
+ import { type Chunk } from './chunk';
7
+ import { type MockCollections } from '../media-mock';
8
8
  export { createCollection } from './collection';
9
9
  export { createCollectionItem, createEmptyCollectionItem, isMediaItemDetails, } from './collection-item';
10
- export type { CollectionItem, CreateCollectionItemOptions, } from './collection-item';
10
+ export type { CollectionItem, CreateCollectionItemOptions } from './collection-item';
11
11
  export declare const tenantAuth: ClientBasedAuth;
12
12
  export declare const userAuth: ClientBasedAuth;
13
13
  export declare const userAuthProvider: () => Promise<ClientBasedAuth>;
@@ -1,5 +1,5 @@
1
- import { MediaUpload } from '@atlaskit/media-client';
2
- import { ChunkId } from './chunk';
1
+ import { type MediaUpload } from '@atlaskit/media-client';
2
+ import { type ChunkId } from './chunk';
3
3
  export type Upload = MediaUpload & {
4
4
  chunks: ChunkId[];
5
5
  };
@@ -1,4 +1,4 @@
1
- import { MediaFile } from '@atlaskit/media-client';
1
+ import { type MediaFile } from '@atlaskit/media-client';
2
2
  export type MockCollections = {
3
3
  [key: string]: Array<MediaFile & {
4
4
  blob?: Blob;
@@ -1,3 +1,3 @@
1
1
  import { Router } from 'kakapo';
2
- import { MediaDatabaseSchema } from '../database';
2
+ import { type MediaDatabaseSchema } from '../database';
3
3
  export declare function createApiRouter(isSlowServer?: boolean, urlsReturnErrorsTo?: string[]): Router<MediaDatabaseSchema>;
@@ -1,3 +1,3 @@
1
1
  import { Router } from 'kakapo';
2
- import { MediaDatabaseSchema } from '../database';
2
+ import { type MediaDatabaseSchema } from '../database';
3
3
  export declare function createMediaPlaygroundRouter(): Router<MediaDatabaseSchema>;
@@ -1,6 +1,6 @@
1
- import { Database } from 'kakapo';
2
- import { WebSocketServer } from './types';
3
- import { MediaDatabaseSchema } from '../database';
1
+ import { type Database } from 'kakapo';
2
+ import { type WebSocketServer } from './types';
3
+ import { type MediaDatabaseSchema } from '../database';
4
4
  export type RemoteUploadActivityServerParams = {
5
5
  database: Database<MediaDatabaseSchema>;
6
6
  isSlowServer?: boolean;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
3
- import { ReactWrapper, ShallowWrapper } from 'enzyme';
4
- import { ReactElement } from 'react';
2
+ import { type WrappedComponentProps } from 'react-intl-next';
3
+ import { type ReactWrapper, type ShallowWrapper } from 'enzyme';
4
+ import { type ReactElement } from 'react';
5
5
  export declare const mountWithIntlContext: <P, S, C extends React.Component<P, S, any> = React.Component<P, S, any>>(node: ReactElement<P & WrappedComponentProps>, { context, childContextTypes, ...additionalOptions }?: {
6
6
  context?: {} | undefined;
7
7
  childContextTypes?: {} | undefined;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
- import { RenderResult } from '@testing-library/react';
2
+ import { type RenderResult } from '@testing-library/react';
3
3
  export declare const renderWithIntl: (component: React.ReactNode) => RenderResult;
@@ -1,4 +1,4 @@
1
- import { Component, ReactNode } from 'react';
1
+ import { Component, type ReactNode } from 'react';
2
2
  export type StoryListItem = {
3
3
  readonly title: string;
4
4
  readonly content: ReactNode;
@@ -1,4 +1,4 @@
1
- import { CustomData } from '@atlaskit/ufo';
1
+ import { type CustomData } from '@atlaskit/ufo';
2
2
  export interface UfoPayloadPublisher {
3
3
  setup: (properties: any) => void;
4
4
  }
@@ -1,5 +1,5 @@
1
- import { Database, KakapoResponse } from 'kakapo';
2
- import { MediaDatabaseSchema } from '../mocks/database';
1
+ import { type Database, type KakapoResponse } from 'kakapo';
2
+ import { type MediaDatabaseSchema } from '../mocks/database';
3
3
  export interface LogRequestParams {
4
4
  path: string;
5
5
  method: string;
package/package.json CHANGED
@@ -1,92 +1,90 @@
1
1
  {
2
- "name": "@atlaskit/media-test-helpers",
3
- "version": "33.0.35",
4
- "description": "Collection of test helpers used in media component stories and specs",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
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
- },
23
- "atlaskit:src": "src/index.tsx",
24
- "atlassian": {
25
- "team": "Media Experience",
26
- "inPublicMirror": true,
27
- "releaseModel": "continuous"
28
- },
29
- "dependencies": {
30
- "@atlaskit/button": "^17.14.0",
31
- "@atlaskit/checkbox": "^13.3.0",
32
- "@atlaskit/icon": "^22.1.0",
33
- "@atlaskit/locale": "^2.7.0",
34
- "@atlaskit/media-client": "^27.0.0",
35
- "@atlaskit/media-common": "^11.2.0",
36
- "@atlaskit/media-ui": "^25.10.0",
37
- "@atlaskit/popup": "^1.17.0",
38
- "@atlaskit/tabs": "^16.1.0",
39
- "@atlaskit/textfield": "^6.3.0",
40
- "@atlaskit/tokens": "^1.45.0",
41
- "@atlaskit/tooltip": "^18.3.0",
42
- "@atlaskit/ufo": "^0.2.0",
43
- "@babel/runtime": "^7.0.0",
44
- "@emotion/react": "^11.7.1",
45
- "@emotion/styled": "^11.0.0",
46
- "@testing-library/react": "^12.1.5",
47
- "enzyme": "^3.10.0",
48
- "exenv": "^1.2.2",
49
- "kakapo": "^4.0.6",
50
- "mock-socket": "^9.3.1",
51
- "react-intl-next": "npm:react-intl@^5.18.1",
52
- "rxjs": "^5.5.0",
53
- "uuid": "^3.1.0",
54
- "xhr-mock": "^2.4.0"
55
- },
56
- "peerDependencies": {
57
- "@atlaskit/media-core": "^34.2.0",
58
- "react": "^16.8.0"
59
- },
60
- "devDependencies": {
61
- "@atlaskit/media-core": "^34.2.0",
62
- "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
63
- "@types/exenv": "^1.2.0",
64
- "react-dom": "^16.8.0",
65
- "typescript": "~5.4.2"
66
- },
67
- "af:exports": {
68
- "./renderWithIntl": "./src/renderWithIntl.tsx",
69
- "./smart-card-state": "./src/smart-card-state.ts",
70
- "./fakeMediaClient": "./src/fakeMediaClient.ts",
71
- "./media-mock": "./src/mocks/media-mock.ts",
72
- "./images": "./src/images.tsx",
73
- "./jestHelpers": "./src/jestHelpers.ts",
74
- "./collectionNames": "./src/collectionNames.ts",
75
- "./exampleMediaItems": "./src/exampleMediaItems.ts",
76
- "./exampleMediaFeatureFlags": "./src/example-mediaFeatureFlags.ts",
77
- "./globalEventEmitterListeners": "./src/globalEventEmitterListeners.ts",
78
- "./mediaPickerAuthProvider": "./src/mediaPickerAuthProvider.ts",
79
- "./getAuthFromContextProvider": "./src/getAuthFromContextProvider.ts",
80
- "./mockData": "./src/utils/mockData.ts",
81
- ".": "./src/index.tsx"
82
- },
83
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
84
- "techstack": {
85
- "@repo/internal": {
86
- "design-tokens": [
87
- "color",
88
- "spacing"
89
- ]
90
- }
91
- }
92
- }
2
+ "name": "@atlaskit/media-test-helpers",
3
+ "version": "33.0.36",
4
+ "description": "Collection of test helpers used in media component stories and specs",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
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
+ },
23
+ "atlaskit:src": "src/index.tsx",
24
+ "atlassian": {
25
+ "team": "Media Experience",
26
+ "inPublicMirror": true,
27
+ "releaseModel": "continuous"
28
+ },
29
+ "dependencies": {
30
+ "@atlaskit/button": "^18.0.0",
31
+ "@atlaskit/checkbox": "^13.5.0",
32
+ "@atlaskit/icon": "^22.4.0",
33
+ "@atlaskit/locale": "^2.7.0",
34
+ "@atlaskit/media-client": "^27.3.0",
35
+ "@atlaskit/media-common": "^11.3.0",
36
+ "@atlaskit/media-ui": "^25.10.0",
37
+ "@atlaskit/popup": "^1.19.0",
38
+ "@atlaskit/tabs": "^16.2.0",
39
+ "@atlaskit/textfield": "^6.4.0",
40
+ "@atlaskit/tokens": "^1.52.0",
41
+ "@atlaskit/tooltip": "^18.5.0",
42
+ "@atlaskit/ufo": "^0.2.0",
43
+ "@babel/runtime": "^7.0.0",
44
+ "@emotion/react": "^11.7.1",
45
+ "@emotion/styled": "^11.0.0",
46
+ "@testing-library/react": "^12.1.5",
47
+ "enzyme": "^3.10.0",
48
+ "exenv": "^1.2.2",
49
+ "kakapo": "^4.0.6",
50
+ "mock-socket": "^9.3.1",
51
+ "react-intl-next": "npm:react-intl@^5.18.1",
52
+ "rxjs": "^5.5.0",
53
+ "uuid": "^3.1.0",
54
+ "xhr-mock": "^2.4.0"
55
+ },
56
+ "peerDependencies": {
57
+ "@atlaskit/media-core": "^34.2.0",
58
+ "react": "^16.8.0"
59
+ },
60
+ "devDependencies": {
61
+ "@atlaskit/media-core": "^34.2.0",
62
+ "@types/exenv": "^1.2.0",
63
+ "react-dom": "^16.8.0",
64
+ "typescript": "~5.4.2"
65
+ },
66
+ "af:exports": {
67
+ "./renderWithIntl": "./src/renderWithIntl.tsx",
68
+ "./smart-card-state": "./src/smart-card-state.ts",
69
+ "./fakeMediaClient": "./src/fakeMediaClient.ts",
70
+ "./media-mock": "./src/mocks/media-mock.ts",
71
+ "./images": "./src/images.tsx",
72
+ "./jestHelpers": "./src/jestHelpers.ts",
73
+ "./collectionNames": "./src/collectionNames.ts",
74
+ "./exampleMediaItems": "./src/exampleMediaItems.ts",
75
+ "./exampleMediaFeatureFlags": "./src/example-mediaFeatureFlags.ts",
76
+ "./globalEventEmitterListeners": "./src/globalEventEmitterListeners.ts",
77
+ "./mediaPickerAuthProvider": "./src/mediaPickerAuthProvider.ts",
78
+ "./getAuthFromContextProvider": "./src/getAuthFromContextProvider.ts",
79
+ "./mockData": "./src/utils/mockData.ts",
80
+ ".": "./src/index.tsx"
81
+ },
82
+ "techstack": {
83
+ "@repo/internal": {
84
+ "design-tokens": [
85
+ "color",
86
+ "spacing"
87
+ ]
88
+ }
89
+ }
90
+ }