@atlaskit/dynamic-table 18.3.17 → 18.3.18
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 +8 -0
- package/dist/cjs/styled/table-row.js +0 -1
- package/dist/es2019/styled/table-row.js +0 -1
- package/dist/esm/styled/table-row.js +0 -1
- package/dist/types/components/body.d.ts +1 -1
- package/dist/types/components/rankable/table-head-cell.d.ts +1 -1
- package/dist/types/hoc/with-sorted-page-rows.d.ts +1 -1
- package/dist/types/styled/constants.d.ts +1 -1
- package/dist/types/styled/dynamic-table.d.ts +1 -1
- package/dist/types/styled/rankable/table-row.d.ts +2 -2
- package/dist/types/styled/table-head.d.ts +1 -1
- package/dist/types-ts4.5/components/body.d.ts +1 -1
- package/dist/types-ts4.5/components/rankable/table-head-cell.d.ts +1 -1
- package/dist/types-ts4.5/hoc/with-sorted-page-rows.d.ts +1 -1
- package/dist/types-ts4.5/styled/constants.d.ts +1 -1
- package/dist/types-ts4.5/styled/dynamic-table.d.ts +1 -1
- package/dist/types-ts4.5/styled/rankable/table-row.d.ts +2 -2
- package/dist/types-ts4.5/styled/table-head.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 18.3.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5db9e3f21a52f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5db9e3f21a52f) -
|
|
8
|
+
Internal refactoring
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 18.3.17
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -28,7 +28,6 @@ var TableBodyRow = exports.TableBodyRow = /*#__PURE__*/(0, _react.forwardRef)(fu
|
|
|
28
28
|
className = _ref.className,
|
|
29
29
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
30
30
|
return /*#__PURE__*/React.createElement("tr", (0, _extends2.default)({
|
|
31
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
32
31
|
style: style,
|
|
33
32
|
/**
|
|
34
33
|
* We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
|
|
@@ -18,7 +18,6 @@ export const TableBodyRow = /*#__PURE__*/forwardRef(({
|
|
|
18
18
|
...rest
|
|
19
19
|
}, ref) => {
|
|
20
20
|
return /*#__PURE__*/React.createElement("tr", _extends({
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
22
21
|
style: style,
|
|
23
22
|
/**
|
|
24
23
|
* We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
|
|
@@ -19,7 +19,6 @@ export var TableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
19
19
|
className = _ref.className,
|
|
20
20
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
21
21
|
return /*#__PURE__*/React.createElement("tr", _extends({
|
|
22
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
23
22
|
style: style,
|
|
24
23
|
/**
|
|
25
24
|
* We rely on this `className` for the `RankableTableBodyRow` to apply extra styles.
|
|
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
|
|
|
8
8
|
forwardedRef?: React.Ref<HTMLTableSectionElement>;
|
|
9
9
|
testId?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import(
|
|
11
|
+
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import('../hoc/with-sorted-page-rows').TableProps, 'pageRows'> & {
|
|
12
12
|
forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
|
|
13
13
|
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
14
14
|
export default Body;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WithDimensionsProps } from '../../hoc/with-dimensions';
|
|
3
3
|
import { type TableHeadCellProps } from '../table-head-cell';
|
|
4
|
-
declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps,
|
|
4
|
+
declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, 'innerRef' | 'refWidth' | 'refHeight'>, import('../../hoc/with-dimensions').State>;
|
|
5
5
|
export default RankableTableHeadCell;
|
|
@@ -13,6 +13,6 @@ export interface WithSortedPageRowsProps {
|
|
|
13
13
|
pageRows: Array<RowType>;
|
|
14
14
|
isTotalPagesControlledExternally?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps,
|
|
16
|
+
export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, 'pageRows'> & {
|
|
17
17
|
forwardedRef?: React.Ref<RefType>;
|
|
18
18
|
}> & React.RefAttributes<RefType>>;
|
|
@@ -9,7 +9,7 @@ type TableProps = HTMLProps<HTMLTableElement> & {
|
|
|
9
9
|
hasDataRow: boolean;
|
|
10
10
|
testId?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const Table: import(
|
|
12
|
+
export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, 'ref'> & import('react').RefAttributes<HTMLTableElement>>;
|
|
13
13
|
export declare const Caption: FC<{
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
}>;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type HTMLAttributes } from 'react';
|
|
6
6
|
import { type ITableRowProps } from '../table-row';
|
|
7
|
-
export declare const RankableTableBodyRow: import(
|
|
7
|
+
export declare const RankableTableBodyRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
|
|
8
8
|
isRanking?: boolean;
|
|
9
9
|
isRankingItem?: boolean;
|
|
10
10
|
testId?: string;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
@@ -17,5 +17,5 @@ type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement> & {
|
|
|
17
17
|
sortOrder?: SortOrderType;
|
|
18
18
|
testId?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const HeadCell: import(
|
|
20
|
+
export declare const HeadCell: import('react').ForwardRefExoticComponent<Omit<HeadCellProps, 'ref'> & import('react').RefAttributes<HTMLTableCellElement>>;
|
|
21
21
|
export {};
|
|
@@ -8,7 +8,7 @@ interface BodyProps extends WithSortedPageRowsProps {
|
|
|
8
8
|
forwardedRef?: React.Ref<HTMLTableSectionElement>;
|
|
9
9
|
testId?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import(
|
|
11
|
+
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps & import('../hoc/with-sorted-page-rows').TableProps, 'pageRows'> & {
|
|
12
12
|
forwardedRef?: React.Ref<HTMLTableSectionElement> | undefined;
|
|
13
13
|
} & React.RefAttributes<HTMLTableSectionElement>>;
|
|
14
14
|
export default Body;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WithDimensionsProps } from '../../hoc/with-dimensions';
|
|
3
3
|
import { type TableHeadCellProps } from '../table-head-cell';
|
|
4
|
-
declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps,
|
|
4
|
+
declare const RankableTableHeadCell: React.ComponentClass<Omit<WithDimensionsProps & TableHeadCellProps, 'innerRef' | 'refWidth' | 'refHeight'>, import('../../hoc/with-dimensions').State>;
|
|
5
5
|
export default RankableTableHeadCell;
|
|
@@ -13,6 +13,6 @@ export interface WithSortedPageRowsProps {
|
|
|
13
13
|
pageRows: Array<RowType>;
|
|
14
14
|
isTotalPagesControlledExternally?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps,
|
|
16
|
+
export default function withSortedPageRows<WrappedComponentProps extends WithSortedPageRowsProps & TableProps, RefType = HTMLTableSectionElement>(WrappedComponent: React.ComponentType<WrappedComponentProps>): React.ForwardRefExoticComponent<React.PropsWithoutRef<Omit<WrappedComponentProps & TableProps, 'pageRows'> & {
|
|
17
17
|
forwardedRef?: React.Ref<RefType>;
|
|
18
18
|
}> & React.RefAttributes<RefType>>;
|
|
@@ -9,7 +9,7 @@ type TableProps = HTMLProps<HTMLTableElement> & {
|
|
|
9
9
|
hasDataRow: boolean;
|
|
10
10
|
testId?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare const Table: import(
|
|
12
|
+
export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, 'ref'> & import('react').RefAttributes<HTMLTableElement>>;
|
|
13
13
|
export declare const Caption: FC<{
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
}>;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { type HTMLAttributes } from 'react';
|
|
6
6
|
import { type ITableRowProps } from '../table-row';
|
|
7
|
-
export declare const RankableTableBodyRow: import(
|
|
7
|
+
export declare const RankableTableBodyRow: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & ITableRowProps & {
|
|
8
8
|
isRanking?: boolean;
|
|
9
9
|
isRankingItem?: boolean;
|
|
10
10
|
testId?: string;
|
|
11
|
-
} & import(
|
|
11
|
+
} & import('react').RefAttributes<HTMLTableRowElement>>;
|
|
@@ -17,5 +17,5 @@ type HeadCellProps = TruncateStyleProps & HTMLProps<HTMLTableCellElement> & {
|
|
|
17
17
|
sortOrder?: SortOrderType;
|
|
18
18
|
testId?: string;
|
|
19
19
|
};
|
|
20
|
-
export declare const HeadCell: import(
|
|
20
|
+
export declare const HeadCell: import('react').ForwardRefExoticComponent<Omit<HeadCellProps, 'ref'> & import('react').RefAttributes<HTMLTableCellElement>>;
|
|
21
21
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/dynamic-table",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.18",
|
|
4
4
|
"description": "A dynamic table displays rows of data with built-in pagination, sorting, and re-ordering functionality.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"@af/accessibility-testing": "workspace:^",
|
|
55
55
|
"@af/integration-testing": "workspace:^",
|
|
56
56
|
"@af/visual-regression": "workspace:^",
|
|
57
|
-
"@atlaskit/avatar": "^25.
|
|
57
|
+
"@atlaskit/avatar": "^25.8.0",
|
|
58
58
|
"@atlaskit/banner": "^14.0.0",
|
|
59
59
|
"@atlaskit/button": "^23.9.0",
|
|
60
|
-
"@atlaskit/docs": "^11.
|
|
60
|
+
"@atlaskit/docs": "^11.4.0",
|
|
61
61
|
"@atlaskit/drawer": "^11.0.0",
|
|
62
62
|
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
63
63
|
"@atlaskit/link": "^3.3.0",
|