@atlaskit/media-test-helpers 30.0.2 → 30.0.4
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 +12 -0
- package/collectionNames/package.json +8 -1
- package/dist/cjs/await-error.js +1 -1
- package/dist/cjs/mocks/fileAndDirectoriesUtils.js +2 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/await-error.js +1 -1
- package/dist/es2019/mocks/fileAndDirectoriesUtils.js +2 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/await-error.js +1 -1
- package/dist/esm/mocks/fileAndDirectoriesUtils.js +2 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/clipboardEventMocks.d.ts +1 -0
- package/dist/types-ts4.0/I18nWrapper.d.ts +9 -0
- package/dist/types-ts4.0/MockGlobalImage.d.ts +2 -0
- package/dist/types-ts4.0/authProvider.d.ts +6 -0
- package/dist/types-ts4.0/await-error.d.ts +1 -0
- package/dist/types-ts4.0/clipboardEventMocks.d.ts +119 -0
- package/dist/types-ts4.0/collectionNames.d.ts +5 -0
- package/dist/types-ts4.0/createMouseEvent.d.ts +8 -0
- package/dist/types-ts4.0/createTouchEvent.d.ts +4 -0
- package/dist/types-ts4.0/dataURIs/smallImageURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/smallTransparentImageURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/tallImageURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/videoPreviewURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/videoURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/vr_test_small_image.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/wideImageURI.d.ts +1 -0
- package/dist/types-ts4.0/dataURIs/wideTransparentImageURI.d.ts +1 -0
- package/dist/types-ts4.0/example-mediaFeatureFlags.d.ts +2 -0
- package/dist/types-ts4.0/exampleMediaItems.d.ts +53 -0
- package/dist/types-ts4.0/fakeI18n.d.ts +1 -0
- package/dist/types-ts4.0/fakeMediaClient.d.ts +4 -0
- package/dist/types-ts4.0/featureFlagsWrapper/dropdown.d.ts +8 -0
- package/dist/types-ts4.0/featureFlagsWrapper/helpers.d.ts +5 -0
- package/dist/types-ts4.0/featureFlagsWrapper/index.d.ts +7 -0
- package/dist/types-ts4.0/fileReader.d.ts +20 -0
- package/dist/types-ts4.0/fileStateFactory/createFileState.d.ts +10 -0
- package/dist/types-ts4.0/fileStateFactory/factory.d.ts +42 -0
- package/dist/types-ts4.0/fileStateFactory/helpers.d.ts +7 -0
- package/dist/types-ts4.0/fileStateFactory/index.d.ts +4 -0
- package/dist/types-ts4.0/flushPromises.d.ts +1 -0
- package/dist/types-ts4.0/getAuthFromContextProvider.d.ts +1 -0
- package/dist/types-ts4.0/globalEventEmitterListeners.d.ts +1 -0
- package/dist/types-ts4.0/images.d.ts +6 -0
- package/dist/types-ts4.0/index.d.ts +48 -0
- package/dist/types-ts4.0/jestHelpers.d.ts +13 -0
- package/dist/types-ts4.0/jest_check.d.ts +1 -0
- package/dist/types-ts4.0/keyboardEventWithKeyCode.d.ts +2 -0
- package/dist/types-ts4.0/mediaClientErrors.d.ts +4 -0
- package/dist/types-ts4.0/mediaClientProvider.d.ts +23 -0
- package/dist/types-ts4.0/mediaPickerAuthProvider.d.ts +4 -0
- package/dist/types-ts4.0/mockCanvas.d.ts +10 -0
- package/dist/types-ts4.0/mockData/handlers/copyWithToken.d.ts +3 -0
- package/dist/types-ts4.0/mockData/handlers/getFile.d.ts +3 -0
- package/dist/types-ts4.0/mockData/handlers/getFileImage.d.ts +3 -0
- package/dist/types-ts4.0/mockData/handlers/index.d.ts +5 -0
- package/dist/types-ts4.0/mockData/handlers/tenantAuth.d.ts +3 -0
- package/dist/types-ts4.0/mockData/handlers/userCollectionFetch.d.ts +3 -0
- package/dist/types-ts4.0/mockData/index.d.ts +50 -0
- package/dist/types-ts4.0/mockData/matchers.d.ts +7 -0
- package/dist/types-ts4.0/mockData/staticCommon.d.ts +4 -0
- package/dist/types-ts4.0/mockData/utils.d.ts +4 -0
- package/dist/types-ts4.0/mockLoadImage.d.ts +4 -0
- package/dist/types-ts4.0/mocks/database/chunk.d.ts +6 -0
- package/dist/types-ts4.0/mocks/database/collection-item.d.ts +17 -0
- package/dist/types-ts4.0/mocks/database/collection.d.ts +2 -0
- package/dist/types-ts4.0/mocks/database/index.d.ts +21 -0
- package/dist/types-ts4.0/mocks/database/upload.d.ts +6 -0
- package/dist/types-ts4.0/mocks/fileAndDirectoriesUtils.d.ts +23 -0
- package/dist/types-ts4.0/mocks/media-mock.d.ts +38 -0
- package/dist/types-ts4.0/mocks/routers/api-router.d.ts +3 -0
- package/dist/types-ts4.0/mocks/routers/index.d.ts +2 -0
- package/dist/types-ts4.0/mocks/routers/media-playground-router.d.ts +3 -0
- package/dist/types-ts4.0/mocks/websockets/index.d.ts +3 -0
- package/dist/types-ts4.0/mocks/websockets/messages.d.ts +34 -0
- package/dist/types-ts4.0/mocks/websockets/remote-upload-server.d.ts +14 -0
- package/dist/types-ts4.0/mocks/websockets/types.d.ts +4 -0
- package/dist/types-ts4.0/mountWithIntlContext.d.ts +12 -0
- package/dist/types-ts4.0/nextTick.d.ts +2 -0
- package/dist/types-ts4.0/renderWithIntl.d.ts +3 -0
- package/dist/types-ts4.0/smart-card-state.d.ts +2 -0
- package/dist/types-ts4.0/story-list.d.ts +12 -0
- package/dist/types-ts4.0/story-styles.d.ts +2 -0
- package/dist/types-ts4.0/styled.d.ts +2 -0
- package/dist/types-ts4.0/timeoutPromise.d.ts +1 -0
- package/dist/types-ts4.0/ufoLogger.d.ts +5 -0
- package/dist/types-ts4.0/utils/index.d.ts +2 -0
- package/dist/types-ts4.0/utils/logging.d.ts +23 -0
- package/dist/types-ts4.0/utils/mockData.d.ts +11 -0
- package/dist/types-ts4.0/waitUntil.d.ts +2 -0
- package/exampleMediaFeatureFlags/package.json +8 -1
- package/exampleMediaItems/package.json +8 -1
- package/fakeMediaClient/package.json +8 -1
- package/getAuthFromContextProvider/package.json +8 -1
- package/globalEventEmitterListeners/package.json +8 -1
- package/images/package.json +8 -1
- package/jestHelpers/package.json +8 -1
- package/media-mock/package.json +8 -1
- package/mediaPickerAuthProvider/package.json +8 -1
- package/mockData/package.json +8 -1
- package/package.json +11 -4
- package/renderWithIntl/package.json +8 -1
- package/smart-card-state/package.json +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-test-helpers",
|
|
3
|
-
"version": "30.0.
|
|
3
|
+
"version": "30.0.4",
|
|
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,13 @@
|
|
|
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.0 <4.5": {
|
|
17
|
+
"*": [
|
|
18
|
+
"dist/types-ts4.0/*"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
15
22
|
"atlaskit:src": "src/index.tsx",
|
|
16
23
|
"atlassian": {
|
|
17
24
|
"team": "Media Experience",
|
|
@@ -28,12 +35,12 @@
|
|
|
28
35
|
"@atlaskit/media-core": "^33.0.0",
|
|
29
36
|
"@atlaskit/media-ui": "^22.1.0",
|
|
30
37
|
"@atlaskit/popup": "^1.4.0",
|
|
31
|
-
"@atlaskit/textfield": "^5.0
|
|
38
|
+
"@atlaskit/textfield": "^5.2.0",
|
|
32
39
|
"@atlaskit/tooltip": "^17.5.0",
|
|
33
40
|
"@atlaskit/ufo": "^0.1.0",
|
|
34
41
|
"@babel/runtime": "^7.0.0",
|
|
35
42
|
"@emotion/styled": "^10.0.7",
|
|
36
|
-
"@testing-library/react": "^
|
|
43
|
+
"@testing-library/react": "^12.1.5",
|
|
37
44
|
"enzyme": "^3.10.0",
|
|
38
45
|
"exenv": "^1.2.2",
|
|
39
46
|
"kakapo": "^4.0.6",
|
|
@@ -49,7 +56,7 @@
|
|
|
49
56
|
"devDependencies": {
|
|
50
57
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
51
58
|
"react-dom": "^16.8.0",
|
|
52
|
-
"typescript": "4.
|
|
59
|
+
"typescript": "4.5.5"
|
|
53
60
|
},
|
|
54
61
|
"af:exports": {
|
|
55
62
|
"./renderWithIntl": "./src/renderWithIntl.tsx",
|
|
@@ -3,5 +3,12 @@
|
|
|
3
3
|
"main": "../dist/cjs/renderWithIntl.js",
|
|
4
4
|
"module": "../dist/esm/renderWithIntl.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/renderWithIntl.js",
|
|
6
|
-
"types": "../dist/types/renderWithIntl.d.ts"
|
|
6
|
+
"types": "../dist/types/renderWithIntl.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.0 <4.5": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.0/renderWithIntl.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
7
14
|
}
|
|
@@ -3,5 +3,12 @@
|
|
|
3
3
|
"main": "../dist/cjs/smart-card-state.js",
|
|
4
4
|
"module": "../dist/esm/smart-card-state.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/smart-card-state.js",
|
|
6
|
-
"types": "../dist/types/smart-card-state.d.ts"
|
|
6
|
+
"types": "../dist/types/smart-card-state.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.0 <4.5": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.0/smart-card-state.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
7
14
|
}
|