@atlaskit/media-table 15.0.6 → 15.0.8
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/package.json +5 -9
- package/tmp/api-report-tmp.d.ts +82 -0
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/media-table
|
|
2
2
|
|
|
3
|
+
## 15.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 15.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
|
|
14
|
+
|
|
3
15
|
## 15.0.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-table",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.8",
|
|
4
4
|
"description": "Table UI component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,15 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
|
-
"@atlaskit/button": "^16.
|
|
38
|
+
"@atlaskit/button": "^16.9.0",
|
|
39
39
|
"@atlaskit/dynamic-table": "^14.11.0",
|
|
40
|
-
"@atlaskit/enforce-peer-dependencies": "^1.0.1",
|
|
41
40
|
"@atlaskit/icon": "^21.12.0",
|
|
42
41
|
"@atlaskit/media-client": "^23.1.0",
|
|
43
|
-
"@atlaskit/media-ui": "^
|
|
42
|
+
"@atlaskit/media-ui": "^24.0.0",
|
|
44
43
|
"@atlaskit/media-viewer": "^48.0.0",
|
|
45
44
|
"@atlaskit/theme": "^12.5.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
45
|
+
"@atlaskit/tokens": "^1.15.0",
|
|
47
46
|
"@atlaskit/tooltip": "^17.8.0",
|
|
48
47
|
"@babel/runtime": "^7.0.0",
|
|
49
48
|
"memoize-one": "^6.0.0"
|
|
@@ -77,8 +76,5 @@
|
|
|
77
76
|
}
|
|
78
77
|
},
|
|
79
78
|
"resolutions": {},
|
|
80
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
81
|
-
"scripts": {
|
|
82
|
-
"postinstall": "npx enforce-peer-dependencies --internal-packages"
|
|
83
|
-
}
|
|
79
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
84
80
|
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
```
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED