@atlaskit/media-table 15.0.18 → 15.0.20

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 (33) hide show
  1. package/CHANGELOG.md +420 -408
  2. package/compass.yml +4 -3
  3. package/dist/cjs/component/mediaTable.js +5 -2
  4. package/dist/cjs/component/nameCell.js +15 -11
  5. package/dist/cjs/component/styles.js +10 -0
  6. package/dist/es2019/component/mediaTable.js +4 -1
  7. package/dist/es2019/component/nameCell.js +15 -11
  8. package/dist/es2019/component/styles.js +9 -0
  9. package/dist/esm/component/mediaTable.js +4 -1
  10. package/dist/esm/component/nameCell.js +15 -11
  11. package/dist/esm/component/styles.js +9 -0
  12. package/dist/types/component/downloadButton.d.ts +1 -1
  13. package/dist/types/component/mediaTable.d.ts +2 -2
  14. package/dist/types/component/nameCell.d.ts +3 -3
  15. package/dist/types/component/previewButton.d.ts +1 -1
  16. package/dist/types/types.d.ts +4 -4
  17. package/dist/types/util/generateHeadValues.d.ts +1 -1
  18. package/dist/types/util/generateRowValues.d.ts +1 -1
  19. package/dist/types/util/getValidTableProps.d.ts +1 -1
  20. package/dist/types/util/index.d.ts +1 -1
  21. package/dist/types-ts4.5/component/downloadButton.d.ts +1 -1
  22. package/dist/types-ts4.5/component/mediaTable.d.ts +2 -2
  23. package/dist/types-ts4.5/component/nameCell.d.ts +3 -3
  24. package/dist/types-ts4.5/component/previewButton.d.ts +1 -1
  25. package/dist/types-ts4.5/types.d.ts +4 -4
  26. package/dist/types-ts4.5/util/generateHeadValues.d.ts +1 -1
  27. package/dist/types-ts4.5/util/generateRowValues.d.ts +1 -1
  28. package/dist/types-ts4.5/util/getValidTableProps.d.ts +1 -1
  29. package/dist/types-ts4.5/util/index.d.ts +1 -1
  30. package/example-helpers/helpers.tsx +95 -107
  31. package/example-helpers/styles.tsx +18 -23
  32. package/package.json +77 -79
  33. package/report.api.md +43 -44
package/compass.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  name: Media Table
2
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.
3
+ description:
4
+ This package provides the capability to display the already uploaded media in tabular format with
5
+ pagination.
4
6
  configVersion: 1
5
7
  typeId: UI_ELEMENT
6
8
  ownerId: 'ari:cloud:teams::team/ef910622-ce0a-44a0-b441-ba89efe7891b'
@@ -44,6 +46,5 @@ links:
44
46
  relationships:
45
47
  DEPENDS_ON:
46
48
  - 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/652381b6-c323-4b50-bf31-c94941a0b6ef'
47
-
48
49
  # Learn more about formatting compass.yml:
49
- # https://go.atlassian.com/compass-yml-format
50
+ # https://go.atlassian.com/compass-yml-format
@@ -33,7 +33,8 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
33
33
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
34
34
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
35
35
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
36
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**@jsx jsx */ // eslint-disable-next-line import/no-extraneous-dependencies
36
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**@jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
37
+ // eslint-disable-next-line import/no-extraneous-dependencies
37
38
  var MediaTable = exports.MediaTable = /*#__PURE__*/function (_Component) {
38
39
  (0, _inherits2.default)(MediaTable, _Component);
39
40
  var _super = _createSuper(MediaTable);
@@ -285,7 +286,9 @@ var MediaTable = exports.MediaTable = /*#__PURE__*/function (_Component) {
285
286
  }, {
286
287
  key: "render",
287
288
  value: function render() {
288
- var content = (0, _react.jsx)("div", {
289
+ var content =
290
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
291
+ (0, _react.jsx)("div", {
289
292
  css: _styles.mediaTableWrapperStyles
290
293
  }, this.renderTable(), this.renderMediaViewer());
291
294
  return this.props.intl ? content : (0, _react.jsx)(_reactIntlNext.IntlProvider, {
@@ -14,19 +14,23 @@ var _mediaTypeIcon = require("@atlaskit/media-ui/media-type-icon");
14
14
  var _styles = require("./styles");
15
15
  var _excluded = ["mediaType", "text"];
16
16
  /**@jsx jsx */
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
18
  var NameCell = exports.NameCell = function NameCell(props) {
18
19
  var mediaType = props.mediaType,
19
20
  text = props.text,
20
21
  rest = (0, _objectWithoutProperties2.default)(props, _excluded);
21
- return (0, _react.jsx)("div", {
22
- css: _styles.nameCellWrapperStyles
23
- }, mediaType && (0, _react.jsx)(_mediaTypeIcon.MediaTypeIcon, {
24
- type: mediaType
25
- }), (0, _react.jsx)("div", {
26
- css: _styles.truncateWrapperStyles
27
- }, (0, _react.jsx)(_tooltip.default, {
28
- content: text
29
- }, (0, _react.jsx)(_truncateText.Truncate, (0, _extends2.default)({
30
- text: text
31
- }, rest)))));
22
+ return (
23
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
24
+ (0, _react.jsx)("div", {
25
+ css: _styles.nameCellWrapperStyles
26
+ }, mediaType && (0, _react.jsx)(_mediaTypeIcon.MediaTypeIcon, {
27
+ type: mediaType
28
+ }), (0, _react.jsx)("div", {
29
+ css: _styles.truncateWrapperStyles
30
+ }, (0, _react.jsx)(_tooltip.default, {
31
+ content: text
32
+ }, (0, _react.jsx)(_truncateText.Truncate, (0, _extends2.default)({
33
+ text: text
34
+ }, rest)))))
35
+ );
32
36
  };
@@ -5,24 +5,34 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.truncateWrapperStyles = exports.nameCellWrapperStyles = exports.mediaTableWrapperStyles = void 0;
7
7
  var _react = require("@emotion/react");
8
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
8
11
  var nameCellWrapperStyles = exports.nameCellWrapperStyles = (0, _react.css)({
9
12
  display: 'flex',
10
13
  alignContent: 'center',
11
14
  alignItems: 'center'
12
15
  });
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
13
18
  var truncateWrapperStyles = exports.truncateWrapperStyles = (0, _react.css)({
14
19
  minWidth: 0,
15
20
  width: '100%',
16
21
  marginLeft: "var(--ds-space-050, 4px)",
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
17
23
  'span:first-of-type': {
18
24
  '&::first-letter': {
19
25
  textTransform: 'capitalize'
20
26
  }
21
27
  }
22
28
  });
29
+
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
23
31
  var mediaTableWrapperStyles = exports.mediaTableWrapperStyles = (0, _react.css)({
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
24
33
  tr: {
25
34
  cursor: 'pointer',
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
26
36
  'td:empty': {
27
37
  padding: 0
28
38
  }
@@ -1,5 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  /**@jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import React, { Component } from 'react';
5
6
  import ReactDOM from 'react-dom';
@@ -261,7 +262,9 @@ export class MediaTable extends Component {
261
262
  this.unsubscribe();
262
263
  }
263
264
  render() {
264
- const content = jsx("div", {
265
+ const content =
266
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
267
+ jsx("div", {
265
268
  css: mediaTableWrapperStyles
266
269
  }, this.renderTable(), this.renderMediaViewer());
267
270
  return this.props.intl ? content : jsx(IntlProvider, {
@@ -1,5 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**@jsx jsx */
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
4
  import { jsx } from '@emotion/react';
4
5
  import Tooltip from '@atlaskit/tooltip';
5
6
  import { Truncate } from '@atlaskit/media-ui/truncateText';
@@ -11,15 +12,18 @@ export const NameCell = props => {
11
12
  text,
12
13
  ...rest
13
14
  } = props;
14
- return jsx("div", {
15
- css: nameCellWrapperStyles
16
- }, mediaType && jsx(MediaTypeIcon, {
17
- type: mediaType
18
- }), jsx("div", {
19
- css: truncateWrapperStyles
20
- }, jsx(Tooltip, {
21
- content: text
22
- }, jsx(Truncate, _extends({
23
- text: text
24
- }, rest)))));
15
+ return (
16
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
17
+ jsx("div", {
18
+ css: nameCellWrapperStyles
19
+ }, mediaType && jsx(MediaTypeIcon, {
20
+ type: mediaType
21
+ }), jsx("div", {
22
+ css: truncateWrapperStyles
23
+ }, jsx(Tooltip, {
24
+ content: text
25
+ }, jsx(Truncate, _extends({
26
+ text: text
27
+ }, rest)))))
28
+ );
25
29
  };
@@ -1,22 +1,31 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
2
4
  export const nameCellWrapperStyles = css({
3
5
  display: 'flex',
4
6
  alignContent: 'center',
5
7
  alignItems: 'center'
6
8
  });
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
11
  export const truncateWrapperStyles = css({
8
12
  minWidth: 0,
9
13
  width: '100%',
10
14
  marginLeft: "var(--ds-space-050, 4px)",
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
11
16
  'span:first-of-type': {
12
17
  '&::first-letter': {
13
18
  textTransform: 'capitalize'
14
19
  }
15
20
  }
16
21
  });
22
+
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
24
  export const mediaTableWrapperStyles = css({
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
18
26
  tr: {
19
27
  cursor: 'pointer',
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
29
  'td:empty': {
21
30
  padding: 0
22
31
  }
@@ -12,6 +12,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
12
12
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
13
13
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
14
14
  /**@jsx jsx */
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
16
  import { jsx } from '@emotion/react';
16
17
  import React, { Component } from 'react';
17
18
  import ReactDOM from 'react-dom';
@@ -277,7 +278,9 @@ export var MediaTable = /*#__PURE__*/function (_Component) {
277
278
  }, {
278
279
  key: "render",
279
280
  value: function render() {
280
- var content = jsx("div", {
281
+ var content =
282
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
283
+ jsx("div", {
281
284
  css: mediaTableWrapperStyles
282
285
  }, this.renderTable(), this.renderMediaViewer());
283
286
  return this.props.intl ? content : jsx(IntlProvider, {
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
3
  var _excluded = ["mediaType", "text"];
4
4
  /**@jsx jsx */
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
6
  import { jsx } from '@emotion/react';
6
7
  import Tooltip from '@atlaskit/tooltip';
7
8
  import { Truncate } from '@atlaskit/media-ui/truncateText';
@@ -11,15 +12,18 @@ export var NameCell = function NameCell(props) {
11
12
  var mediaType = props.mediaType,
12
13
  text = props.text,
13
14
  rest = _objectWithoutProperties(props, _excluded);
14
- return jsx("div", {
15
- css: nameCellWrapperStyles
16
- }, mediaType && jsx(MediaTypeIcon, {
17
- type: mediaType
18
- }), jsx("div", {
19
- css: truncateWrapperStyles
20
- }, jsx(Tooltip, {
21
- content: text
22
- }, jsx(Truncate, _extends({
23
- text: text
24
- }, rest)))));
15
+ return (
16
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
17
+ jsx("div", {
18
+ css: nameCellWrapperStyles
19
+ }, mediaType && jsx(MediaTypeIcon, {
20
+ type: mediaType
21
+ }), jsx("div", {
22
+ css: truncateWrapperStyles
23
+ }, jsx(Tooltip, {
24
+ content: text
25
+ }, jsx(Truncate, _extends({
26
+ text: text
27
+ }, rest)))))
28
+ );
25
29
  };
@@ -1,22 +1,31 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
1
2
  import { css } from '@emotion/react';
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
2
4
  export var nameCellWrapperStyles = css({
3
5
  display: 'flex',
4
6
  alignContent: 'center',
5
7
  alignItems: 'center'
6
8
  });
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
7
11
  export var truncateWrapperStyles = css({
8
12
  minWidth: 0,
9
13
  width: '100%',
10
14
  marginLeft: "var(--ds-space-050, 4px)",
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
11
16
  'span:first-of-type': {
12
17
  '&::first-letter': {
13
18
  textTransform: 'capitalize'
14
19
  }
15
20
  }
16
21
  });
22
+
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
17
24
  export var mediaTableWrapperStyles = css({
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
18
26
  tr: {
19
27
  cursor: 'pointer',
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
20
29
  'td:empty': {
21
30
  padding: 0
22
31
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
2
+ import { type WrappedComponentProps } from 'react-intl-next';
3
3
  interface Props {
4
4
  onClick: (event: React.MouseEvent<HTMLElement>) => void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  /**@jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
3
  import React, { Component } from 'react';
4
- import { WrappedComponentProps } from 'react-intl-next';
5
- import { MediaTableProps, MediaTableState } from '../types';
4
+ import { type WrappedComponentProps } from 'react-intl-next';
5
+ import { type MediaTableProps, type MediaTableState } from '../types';
6
6
  export declare class MediaTable extends Component<MediaTableProps & WrappedComponentProps, MediaTableState> {
7
7
  state: MediaTableState;
8
8
  private subscriptions;
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
2
- import { MediaType } from '@atlaskit/media-client';
3
- import { TruncateProps } from '@atlaskit/media-ui/truncateText';
1
+ import { type FC } from 'react';
2
+ import { type MediaType } from '@atlaskit/media-client';
3
+ import { type TruncateProps } from '@atlaskit/media-ui/truncateText';
4
4
  export interface NameCellProps extends TruncateProps {
5
5
  mediaType?: MediaType;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
2
+ import { type WrappedComponentProps } from 'react-intl-next';
3
3
  interface Props {
4
4
  onClick: (event: React.MouseEvent<HTMLElement>) => void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { Identifier, FileIdentifier, MediaClient } from '@atlaskit/media-client';
3
- import { HeadType } from '@atlaskit/dynamic-table/types';
4
- import { SortOrderType } from '@atlaskit/dynamic-table/types';
5
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import { type Identifier, type FileIdentifier, type MediaClient } from '@atlaskit/media-client';
3
+ import { type HeadType } from '@atlaskit/dynamic-table/types';
4
+ import { type SortOrderType } from '@atlaskit/dynamic-table/types';
5
+ import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
6
6
  export type { SortOrderType };
7
7
  export interface FileInfo {
8
8
  fileName: string;
@@ -1,3 +1,3 @@
1
- import { HeadType } from '@atlaskit/dynamic-table/types';
1
+ import { type HeadType } from '@atlaskit/dynamic-table/types';
2
2
  declare const _default: import("memoize-one").MemoizedFn<import("memoize-one").MemoizedFn<(columns: HeadType) => HeadType>>;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { RowType, HeadCellType, RowCellType } from '@atlaskit/dynamic-table/types';
1
+ import { type RowType, type HeadCellType, type RowCellType } from '@atlaskit/dynamic-table/types';
2
2
  export declare const generateEmptyRow: import("memoize-one").MemoizedFn<(headerCells: HeadCellType[]) => RowCellType[]>;
3
3
  export declare const prependRows: import("memoize-one").MemoizedFn<(emptyCells: RowCellType[], itemsPerPage?: number, pageNumber?: number) => RowType[]>;
4
4
  export declare const appendRows: import("memoize-one").MemoizedFn<(emptyCells: RowCellType[], rowsLength: number, itemsPerPage?: number, pageNumber?: number, totalItems?: number) => RowType[]>;
@@ -1,3 +1,3 @@
1
- import { ValidatedProps } from '../types';
1
+ import { type ValidatedProps } from '../types';
2
2
  declare const _default: import("memoize-one").MemoizedFn<(itemsCount: number, itemsPerPage?: number | undefined, pageNumber?: number | undefined, totalItems?: number | undefined) => ValidatedProps>;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
1
  export { default as generateRowValues } from './generateRowValues';
2
2
  export { default as getValidTableProps } from './getValidTableProps';
3
3
  export { default as generateHeadValues } from './generateHeadValues';
4
- export { CELL_KEY_DOWNLOAD, CELL_KEY_PREVIEW, ANALYTICS_MEDIA_CHANNEL, } from './constants';
4
+ export { CELL_KEY_DOWNLOAD, CELL_KEY_PREVIEW, ANALYTICS_MEDIA_CHANNEL } from './constants';
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
2
+ import { type WrappedComponentProps } from 'react-intl-next';
3
3
  interface Props {
4
4
  onClick: (event: React.MouseEvent<HTMLElement>) => void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  /**@jsx jsx */
2
2
  import { jsx } from '@emotion/react';
3
3
  import React, { Component } from 'react';
4
- import { WrappedComponentProps } from 'react-intl-next';
5
- import { MediaTableProps, MediaTableState } from '../types';
4
+ import { type WrappedComponentProps } from 'react-intl-next';
5
+ import { type MediaTableProps, type MediaTableState } from '../types';
6
6
  export declare class MediaTable extends Component<MediaTableProps & WrappedComponentProps, MediaTableState> {
7
7
  state: MediaTableState;
8
8
  private subscriptions;
@@ -1,6 +1,6 @@
1
- import { FC } from 'react';
2
- import { MediaType } from '@atlaskit/media-client';
3
- import { TruncateProps } from '@atlaskit/media-ui/truncateText';
1
+ import { type FC } from 'react';
2
+ import { type MediaType } from '@atlaskit/media-client';
3
+ import { type TruncateProps } from '@atlaskit/media-ui/truncateText';
4
4
  export interface NameCellProps extends TruncateProps {
5
5
  mediaType?: MediaType;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { WrappedComponentProps } from 'react-intl-next';
2
+ import { type WrappedComponentProps } from 'react-intl-next';
3
3
  interface Props {
4
4
  onClick: (event: React.MouseEvent<HTMLElement>) => void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { Identifier, FileIdentifier, MediaClient } from '@atlaskit/media-client';
3
- import { HeadType } from '@atlaskit/dynamic-table/types';
4
- import { SortOrderType } from '@atlaskit/dynamic-table/types';
5
- import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
2
+ import { type Identifier, type FileIdentifier, type MediaClient } from '@atlaskit/media-client';
3
+ import { type HeadType } from '@atlaskit/dynamic-table/types';
4
+ import { type SortOrderType } from '@atlaskit/dynamic-table/types';
5
+ import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
6
6
  export type { SortOrderType };
7
7
  export interface FileInfo {
8
8
  fileName: string;
@@ -1,3 +1,3 @@
1
- import { HeadType } from '@atlaskit/dynamic-table/types';
1
+ import { type HeadType } from '@atlaskit/dynamic-table/types';
2
2
  declare const _default: import("memoize-one").MemoizedFn<import("memoize-one").MemoizedFn<(columns: HeadType) => HeadType>>;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { RowType, HeadCellType, RowCellType } from '@atlaskit/dynamic-table/types';
1
+ import { type RowType, type HeadCellType, type RowCellType } from '@atlaskit/dynamic-table/types';
2
2
  export declare const generateEmptyRow: import("memoize-one").MemoizedFn<(headerCells: HeadCellType[]) => RowCellType[]>;
3
3
  export declare const prependRows: import("memoize-one").MemoizedFn<(emptyCells: RowCellType[], itemsPerPage?: number, pageNumber?: number) => RowType[]>;
4
4
  export declare const appendRows: import("memoize-one").MemoizedFn<(emptyCells: RowCellType[], rowsLength: number, itemsPerPage?: number, pageNumber?: number, totalItems?: number) => RowType[]>;
@@ -1,3 +1,3 @@
1
- import { ValidatedProps } from '../types';
1
+ import { type ValidatedProps } from '../types';
2
2
  declare const _default: import("memoize-one").MemoizedFn<(itemsCount: number, itemsPerPage?: number | undefined, pageNumber?: number | undefined, totalItems?: number | undefined) => ValidatedProps>;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
1
  export { default as generateRowValues } from './generateRowValues';
2
2
  export { default as getValidTableProps } from './getValidTableProps';
3
3
  export { default as generateHeadValues } from './generateHeadValues';
4
- export { CELL_KEY_DOWNLOAD, CELL_KEY_PREVIEW, ANALYTICS_MEDIA_CHANNEL, } from './constants';
4
+ export { CELL_KEY_DOWNLOAD, CELL_KEY_PREVIEW, ANALYTICS_MEDIA_CHANNEL } from './constants';