@atlaskit/media-test-helpers 42.1.0 → 42.2.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 +20 -0
- package/compass.yml +38 -0
- package/constants/package.json +10 -0
- package/dist/cjs/constants.js +7 -0
- package/dist/cjs/index.js +8 -3
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/index.js +1 -1
- package/dist/esm/constants.js +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/media-test-helpers
|
|
2
2
|
|
|
3
|
+
## 42.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 42.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`e8071bab93879`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e8071bab93879) -
|
|
14
|
+
Refactor packages with custom root `src/index` barrel logic to use dedicated entry modules (for
|
|
15
|
+
example `main`, `types`, `constants`, `screen`, and package-specific entrypoints) while keeping
|
|
16
|
+
public exports stable. This aligns the packages with barrel-file ratcheting by reducing custom
|
|
17
|
+
logic in root barrels and removing now-safe packages from the prohibited barrel-file list.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 42.1.0
|
|
4
24
|
|
|
5
25
|
### Minor Changes
|
package/compass.yml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
configVersion: 1
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/4a5f2bdf-17ae-4f72-adf1-ff7335e37c3c
|
|
3
|
+
name: '@atlaskit/media-test-helpers'
|
|
4
|
+
ownerId: ari:cloud:identity::team/67d46864-2809-45fc-8ef0-f9a810dc13c5 # Media EXIF
|
|
5
|
+
labels:
|
|
6
|
+
- platform-code
|
|
7
|
+
- platform-afm
|
|
8
|
+
typeId: OTHER
|
|
9
|
+
fields:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
links:
|
|
14
|
+
- name: Root Repository
|
|
15
|
+
type: REPOSITORY
|
|
16
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
|
+
- name: Slack Channel
|
|
18
|
+
type: CHAT_CHANNEL
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/C05J5GNHPLN # #help-media-platform
|
|
20
|
+
- name: Media Test Helpers
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/media/media-test-helpers
|
|
23
|
+
customFields:
|
|
24
|
+
- name: Department
|
|
25
|
+
type: text
|
|
26
|
+
value: Eng - Automation
|
|
27
|
+
- name: Technical Owner
|
|
28
|
+
type: user
|
|
29
|
+
value: ari:cloud:identity::user/712020:678ede01-221b-4b2f-9fce-adcc0b0d095e # Anupama Majety
|
|
30
|
+
- name: Required Reviewers Opt In
|
|
31
|
+
type: boolean
|
|
32
|
+
value: true
|
|
33
|
+
- name: Reviewer Selection Mechanism
|
|
34
|
+
type: text
|
|
35
|
+
value: random(2)
|
|
36
|
+
- name: Required Reviewer Approvals
|
|
37
|
+
type: number
|
|
38
|
+
value: 1
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/media-test-helpers/constants",
|
|
3
|
+
"main": "../dist/cjs/constants.js",
|
|
4
|
+
"module": "../dist/esm/constants.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/constants.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/constants.d.ts"
|
|
10
|
+
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -178,7 +178,12 @@ Object.defineProperty(exports, "audioNoCoverFileId", {
|
|
|
178
178
|
return _exampleMediaItems.audioNoCoverFileId;
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
|
-
exports
|
|
181
|
+
Object.defineProperty(exports, "authProviderBaseURL", {
|
|
182
|
+
enumerable: true,
|
|
183
|
+
get: function get() {
|
|
184
|
+
return _constants.authProviderBaseURL;
|
|
185
|
+
}
|
|
186
|
+
});
|
|
182
187
|
Object.defineProperty(exports, "awaitError", {
|
|
183
188
|
enumerable: true,
|
|
184
189
|
get: function get() {
|
|
@@ -877,6 +882,7 @@ var _collectionNames = require("./collectionNames");
|
|
|
877
882
|
var _exampleMediaItems = require("./exampleMediaItems");
|
|
878
883
|
var _createMouseEvent = require("./createMouseEvent");
|
|
879
884
|
var _createTouchEvent = require("./createTouchEvent");
|
|
885
|
+
var _constants = require("./constants");
|
|
880
886
|
var _mediaBaseURLS = require("./mediaBaseURLS");
|
|
881
887
|
var _mediaPickerAuthProvider = require("./mediaPickerAuthProvider");
|
|
882
888
|
var _mediaMock = require("./mocks/media-mock");
|
|
@@ -902,5 +908,4 @@ var _utils = require("./mockData/utils");
|
|
|
902
908
|
var _index = require("./utils/index");
|
|
903
909
|
var _featureFlagsWrapper = _interopRequireDefault(require("./featureFlagsWrapper"));
|
|
904
910
|
var _fileStateFactory = require("./fileStateFactory");
|
|
905
|
-
var _docsContentTabs = require("./docs-content-tabs");
|
|
906
|
-
var authProviderBaseURL = exports.authProviderBaseURL = 'https://media.staging.atl-paas.net/items';
|
|
911
|
+
var _docsContentTabs = require("./docs-content-tabs");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const authProviderBaseURL = 'https://media.staging.atl-paas.net/items';
|
package/dist/es2019/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export { collectionNames, defaultCollectionName, defaultMediaPickerCollectionNam
|
|
|
12
12
|
export { animatedFileId, archiveFileId, atlassianLogoUrl, audioFileDetails, audioFileId, audioNoCoverFileId, bigDocFileId, docFileDetails, docFileId, emptyImageFileId, errorFileId, externalImageIdentifier, externalSmallImageIdentifier, externaBrokenlIdentifier, genericDataURI, genericFileDetails, genericFileId, gifFileId, imageFileDetails, imageFileId, largeImageFileId, largePdfFileId, noMetadataFileId, passwordProtectedPdfFileId, smallImageFileId, unknownFileDetails, unknownFileId, verticalImageFileId, videoFileDetails, videoFileId, videoHorizontalFileId, videoLargeFileId, videoProcessingFailedId, videoSquareFileId, wideImageFileId, zipFileId, zipFileWithNestedFolderId, zipItemLargeInnerFileId, zipItemMultipleFoldersAtRootId, zipJiraArchiveFileId, zipEncryptedFileId, zipFileWithHtmlId, codeFileId, emailFileId, emailUnsupportedFileId, htmlFileId, videoMp4SaganAliensId, vrVideoDetails } from './exampleMediaItems';
|
|
13
13
|
export { createMouseEvent } from './createMouseEvent';
|
|
14
14
|
export { createTouchEvent } from './createTouchEvent';
|
|
15
|
-
export
|
|
15
|
+
export { authProviderBaseURL } from './constants';
|
|
16
16
|
export { MEDIA_BASE_URL, MEDIA_PLAYGROUND_BASE_URL } from './mediaBaseURLS';
|
|
17
17
|
export { mediaPickerAuthProvider } from './mediaPickerAuthProvider';
|
|
18
18
|
export { generateFilesFromTestData, MediaMock, mediaMock, isMediaMockOptedIn, mediaMockQueryOptInFlag } from './mocks/media-mock';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export var authProviderBaseURL = 'https://media.staging.atl-paas.net/items';
|
package/dist/esm/index.js
CHANGED
|
@@ -12,7 +12,7 @@ export { collectionNames, defaultCollectionName, defaultMediaPickerCollectionNam
|
|
|
12
12
|
export { animatedFileId, archiveFileId, atlassianLogoUrl, audioFileDetails, audioFileId, audioNoCoverFileId, bigDocFileId, docFileDetails, docFileId, emptyImageFileId, errorFileId, externalImageIdentifier, externalSmallImageIdentifier, externaBrokenlIdentifier, genericDataURI, genericFileDetails, genericFileId, gifFileId, imageFileDetails, imageFileId, largeImageFileId, largePdfFileId, noMetadataFileId, passwordProtectedPdfFileId, smallImageFileId, unknownFileDetails, unknownFileId, verticalImageFileId, videoFileDetails, videoFileId, videoHorizontalFileId, videoLargeFileId, videoProcessingFailedId, videoSquareFileId, wideImageFileId, zipFileId, zipFileWithNestedFolderId, zipItemLargeInnerFileId, zipItemMultipleFoldersAtRootId, zipJiraArchiveFileId, zipEncryptedFileId, zipFileWithHtmlId, codeFileId, emailFileId, emailUnsupportedFileId, htmlFileId, videoMp4SaganAliensId, vrVideoDetails } from './exampleMediaItems';
|
|
13
13
|
export { createMouseEvent } from './createMouseEvent';
|
|
14
14
|
export { createTouchEvent } from './createTouchEvent';
|
|
15
|
-
export
|
|
15
|
+
export { authProviderBaseURL } from './constants';
|
|
16
16
|
export { MEDIA_BASE_URL, MEDIA_PLAYGROUND_BASE_URL } from './mediaBaseURLS';
|
|
17
17
|
export { mediaPickerAuthProvider } from './mediaPickerAuthProvider';
|
|
18
18
|
export { generateFilesFromTestData, MediaMock, mediaMock, isMediaMockOptedIn, mediaMockQueryOptInFlag } from './mocks/media-mock';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const authProviderBaseURL = "https://media.staging.atl-paas.net/items";
|
package/dist/types/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { createMouseEvent } from './createMouseEvent';
|
|
|
15
15
|
export type { MouseEventProps } from './createMouseEvent';
|
|
16
16
|
export { createTouchEvent } from './createTouchEvent';
|
|
17
17
|
export type { TouchEventProps } from './createTouchEvent';
|
|
18
|
-
export
|
|
18
|
+
export { authProviderBaseURL } from './constants';
|
|
19
19
|
export { MEDIA_BASE_URL, MEDIA_PLAYGROUND_BASE_URL } from './mediaBaseURLS';
|
|
20
20
|
export { mediaPickerAuthProvider } from './mediaPickerAuthProvider';
|
|
21
21
|
export { generateFilesFromTestData, MediaMock, mediaMock, isMediaMockOptedIn, mediaMockQueryOptInFlag, } from './mocks/media-mock';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-test-helpers",
|
|
3
|
-
"version": "42.1
|
|
3
|
+
"version": "42.2.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/"
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"team": "Media Exif"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/button": "^24.
|
|
27
|
+
"@atlaskit/button": "^24.3.0",
|
|
28
28
|
"@atlaskit/checkbox": "^18.1.0",
|
|
29
29
|
"@atlaskit/form": "^16.1.0",
|
|
30
|
-
"@atlaskit/icon": "^
|
|
30
|
+
"@atlaskit/icon": "^37.0.0",
|
|
31
31
|
"@atlaskit/locale": "^5.0.0",
|
|
32
|
-
"@atlaskit/media-client": "^37.
|
|
33
|
-
"@atlaskit/media-common": "^14.
|
|
32
|
+
"@atlaskit/media-client": "^37.2.0",
|
|
33
|
+
"@atlaskit/media-common": "^14.3.0",
|
|
34
34
|
"@atlaskit/media-state": "^3.0.0",
|
|
35
|
-
"@atlaskit/media-ui": "^30.
|
|
35
|
+
"@atlaskit/media-ui": "^30.6.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
37
37
|
"@atlaskit/popup": "^5.1.0",
|
|
38
|
-
"@atlaskit/primitives": "^20.
|
|
38
|
+
"@atlaskit/primitives": "^20.5.0",
|
|
39
39
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
40
40
|
"@atlaskit/tabs": "^20.1.0",
|
|
41
41
|
"@atlaskit/textfield": "^9.1.0",
|
|
42
|
-
"@atlaskit/tokens": "^15.
|
|
42
|
+
"@atlaskit/tokens": "^15.5.0",
|
|
43
43
|
"@atlaskit/tooltip": "^23.1.0",
|
|
44
44
|
"@atlaskit/ufo": "^1.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|