@atlaskit/media-table 15.0.5 → 15.0.6

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-table
2
2
 
3
+ ## 15.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3fb20c4aeba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fb20c4aeba) - Add postinstall check to enforce internal peer dependencies
8
+
3
9
  ## 15.0.5
4
10
 
5
11
  ### Patch Changes
package/compass.yml ADDED
@@ -0,0 +1,49 @@
1
+ name: Media Table
2
+ id: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/68a05520-f5c0-4478-9b4e-a3e36b80ca6c'
3
+ description: This package provides the capability to display the already uploaded media in tabular format with pagination.
4
+ configVersion: 1
5
+ typeId: UI_ELEMENT
6
+ ownerId: 'ari:cloud:teams::team/ef910622-ce0a-44a0-b441-ba89efe7891b'
7
+ fields:
8
+ lifecycle: Active
9
+ tier: 4
10
+ labels:
11
+ - atlassian-platform
12
+ customFields:
13
+ - name: Dev Owner
14
+ type: user
15
+ value: null
16
+ - name: Product
17
+ type: text
18
+ value: null
19
+ - name: Test
20
+ type: text
21
+ value: null
22
+ links:
23
+ - name: ''
24
+ type: REPOSITORY
25
+ url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/media/media-table/'
26
+ - name: ''
27
+ type: DOCUMENT
28
+ url: 'https://atlaskit.atlassian.com/packages/media/media-table'
29
+ # - name: '' # Tome Capability
30
+ # type: OTHER_LINK
31
+ # url: ''
32
+ - name: Media By Product
33
+ type: DASHBOARD
34
+ url: 'https://atlassian.signalfx.com/#/dashboard/E-vk3wqAwAA?groupId=E-vkzo1AwAA&configId=E-vk5fsAwAA&startTime=-7d&endTime=Now'
35
+ - name: ''
36
+ type: CHAT_CHANNEL
37
+ url: 'https://atlassian.slack.com/archives/C020CGJDJ3A'
38
+ - name: ''
39
+ type: ON_CALL
40
+ url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b62291ff-4029-4f26-b7fc-d75d46d7aebc'
41
+ - name: ''
42
+ type: PROJECT
43
+ url: 'https://product-fabric.atlassian.net/jira/software/c/projects/MEX/boards/713'
44
+ relationships:
45
+ DEPENDS_ON:
46
+ - 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/652381b6-c323-4b50-bf31-c94941a0b6ef'
47
+
48
+ # Learn more about formatting compass.yml:
49
+ # https://go.atlassian.com/compass-yml-format
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-table",
3
- "version": "15.0.5",
3
+ "version": "15.0.6",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-table",
3
- "version": "15.0.5",
3
+ "version": "15.0.6",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-table",
3
- "version": "15.0.5",
3
+ "version": "15.0.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/media-table",
3
- "version": "15.0.5",
3
+ "version": "15.0.6",
4
4
  "description": "Table UI component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -35,14 +35,15 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@atlaskit/analytics-next": "^9.1.0",
38
- "@atlaskit/button": "^16.7.0",
39
- "@atlaskit/dynamic-table": "^14.10.0",
38
+ "@atlaskit/button": "^16.8.0",
39
+ "@atlaskit/dynamic-table": "^14.11.0",
40
+ "@atlaskit/enforce-peer-dependencies": "^1.0.1",
40
41
  "@atlaskit/icon": "^21.12.0",
41
- "@atlaskit/media-client": "^23.0.0",
42
- "@atlaskit/media-ui": "^23.0.0",
42
+ "@atlaskit/media-client": "^23.1.0",
43
+ "@atlaskit/media-ui": "^23.2.0",
43
44
  "@atlaskit/media-viewer": "^48.0.0",
44
45
  "@atlaskit/theme": "^12.5.0",
45
- "@atlaskit/tokens": "^1.5.0",
46
+ "@atlaskit/tokens": "^1.12.0",
46
47
  "@atlaskit/tooltip": "^17.8.0",
47
48
  "@babel/runtime": "^7.0.0",
48
49
  "memoize-one": "^6.0.0"
@@ -55,13 +56,10 @@
55
56
  "react-intl-next": "npm:react-intl@^5.18.1"
56
57
  },
57
58
  "devDependencies": {
58
- "@atlaskit/docs": "^9.1.0",
59
59
  "@atlaskit/icon-file-type": "^6.4.0",
60
- "@atlaskit/media-common": "^7.0.0",
61
60
  "@atlaskit/media-core": "^34.1.0",
62
61
  "@atlaskit/media-test-helpers": "^33.0.0",
63
62
  "@atlaskit/range": "^7.1.0",
64
- "@atlaskit/ssr": "*",
65
63
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
66
64
  "@emotion/react": "^11.7.1",
67
65
  "date-fns": "^2.17.0",
@@ -79,5 +77,8 @@
79
77
  }
80
78
  },
81
79
  "resolutions": {},
82
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
80
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1",
81
+ "scripts": {
82
+ "postinstall": "npx enforce-peer-dependencies --internal-packages"
83
+ }
83
84
  }
@@ -1,82 +0,0 @@
1
- ## API Report File for "@atlaskit/media-table"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- /// <reference types="react" />
8
-
9
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
10
- import { FC } from 'react';
11
- import { FileIdentifier } from '@atlaskit/media-client';
12
- import { HeadType } from '@atlaskit/dynamic-table/types';
13
- import { MediaClient } from '@atlaskit/media-client';
14
- import { MediaType } from '@atlaskit/media-client';
15
- import { default as React_2 } from 'react';
16
- import { SortOrderType } from '@atlaskit/dynamic-table/types';
17
- import { TruncateProps } from '@atlaskit/media-ui/truncateText';
18
- import { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
19
- import { WithIntlProps } from 'react-intl-next';
20
- import { WithMediaClientConfigProps } from '@atlaskit/media-client';
21
- import { WrappedComponentProps } from 'react-intl-next';
22
-
23
- // @public (undocumented)
24
- export const MediaTable: React_2.ComponentType<WithMediaClientConfigProps<Omit<React_2.PropsWithChildren<WithIntlProps<MediaTableProps & WrappedComponentProps<"intl">>>, keyof WithAnalyticsEventsProps> & React_2.RefAttributes<any>>>;
25
-
26
- // @public (undocumented)
27
- export interface MediaTableItem {
28
- // (undocumented)
29
- data: RowData;
30
- // (undocumented)
31
- identifier: FileIdentifier;
32
- rowProps?: RowProps;
33
- }
34
-
35
- // @public (undocumented)
36
- export interface MediaTableProps {
37
- columns: HeadType;
38
- // (undocumented)
39
- createAnalyticsEvent: CreateUIAnalyticsEvent;
40
- highlightedRowIndex?: number[];
41
- isLoading?: boolean;
42
- items: MediaTableItem[];
43
- itemsPerPage?: number;
44
- // (undocumented)
45
- mediaClient: MediaClient;
46
- onPreviewClose?: () => void;
47
- onPreviewOpen?: () => void;
48
- onRowClick?: (rowData: RowData, index: number) => boolean;
49
- onSetPage?: (pageNumber: number) => void;
50
- onSort?: (key: string, sortOrder: SortOrderType) => void;
51
- pageNumber?: number;
52
- sortKey?: string;
53
- sortOrder?: SortOrderType;
54
- totalItems: number;
55
- }
56
-
57
- // @public (undocumented)
58
- export const NameCell: FC<NameCellProps>;
59
-
60
- // @public (undocumented)
61
- export interface NameCellProps extends TruncateProps {
62
- // (undocumented)
63
- mediaType?: MediaType;
64
- }
65
-
66
- // @public (undocumented)
67
- interface RowData {
68
- // (undocumented)
69
- [key: string]: React.ReactNode | string;
70
- }
71
-
72
- // @public (undocumented)
73
- interface RowProps {
74
- // (undocumented)
75
- className?: string;
76
- }
77
-
78
- export { SortOrderType }
79
-
80
- // (No @packageDocumentation comment for this package)
81
-
82
- ```