@atlaskit/dynamic-table 17.0.5 → 17.1.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 +18 -0
- package/dist/cjs/components/stateless.js +2 -2
- package/dist/es2019/components/stateless.js +2 -2
- package/dist/esm/components/stateless.js +2 -2
- package/dist/types/styled/dynamic-table.d.ts +1 -1
- package/dist/types/styled/loading-container-advanced.d.ts +2 -2
- package/dist/types/styled/table-head.d.ts +1 -1
- package/dist/types-ts4.5/styled/dynamic-table.d.ts +1 -1
- package/dist/types-ts4.5/styled/loading-container-advanced.d.ts +2 -2
- package/dist/types-ts4.5/styled/table-head.d.ts +1 -1
- package/package.json +22 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/dynamic-table
|
|
2
2
|
|
|
3
|
+
## 17.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 17.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
14
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
15
|
+
Update `React` from v16 to v18
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 17.0.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -86,14 +86,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
86
86
|
action: 'sorted',
|
|
87
87
|
componentName: 'dynamicTable',
|
|
88
88
|
packageName: "@atlaskit/dynamic-table",
|
|
89
|
-
packageVersion: "17.
|
|
89
|
+
packageVersion: "17.1.1"
|
|
90
90
|
});
|
|
91
91
|
var onRankEnd = (0, _analyticsNext.usePlatformLeafEventHandler)({
|
|
92
92
|
fn: providedOnRankEnd,
|
|
93
93
|
action: 'ranked',
|
|
94
94
|
componentName: 'dynamicTable',
|
|
95
95
|
packageName: "@atlaskit/dynamic-table",
|
|
96
|
-
packageVersion: "17.
|
|
96
|
+
packageVersion: "17.1.1"
|
|
97
97
|
});
|
|
98
98
|
(0, _react.useEffect)(function () {
|
|
99
99
|
(0, _helpers.validateSortKey)(sortKey, head);
|
|
@@ -60,14 +60,14 @@ const DynamicTable = ({
|
|
|
60
60
|
action: 'sorted',
|
|
61
61
|
componentName: 'dynamicTable',
|
|
62
62
|
packageName: "@atlaskit/dynamic-table",
|
|
63
|
-
packageVersion: "17.
|
|
63
|
+
packageVersion: "17.1.1"
|
|
64
64
|
});
|
|
65
65
|
const onRankEnd = usePlatformLeafEventHandler({
|
|
66
66
|
fn: providedOnRankEnd,
|
|
67
67
|
action: 'ranked',
|
|
68
68
|
componentName: 'dynamicTable',
|
|
69
69
|
packageName: "@atlaskit/dynamic-table",
|
|
70
|
-
packageVersion: "17.
|
|
70
|
+
packageVersion: "17.1.1"
|
|
71
71
|
});
|
|
72
72
|
useEffect(() => {
|
|
73
73
|
validateSortKey(sortKey, head);
|
|
@@ -76,14 +76,14 @@ var DynamicTable = function DynamicTable(_ref) {
|
|
|
76
76
|
action: 'sorted',
|
|
77
77
|
componentName: 'dynamicTable',
|
|
78
78
|
packageName: "@atlaskit/dynamic-table",
|
|
79
|
-
packageVersion: "17.
|
|
79
|
+
packageVersion: "17.1.1"
|
|
80
80
|
});
|
|
81
81
|
var onRankEnd = usePlatformLeafEventHandler({
|
|
82
82
|
fn: providedOnRankEnd,
|
|
83
83
|
action: 'ranked',
|
|
84
84
|
componentName: 'dynamicTable',
|
|
85
85
|
packageName: "@atlaskit/dynamic-table",
|
|
86
|
-
packageVersion: "17.
|
|
86
|
+
packageVersion: "17.1.1"
|
|
87
87
|
});
|
|
88
88
|
useEffect(function () {
|
|
89
89
|
validateSortKey(sortKey, head);
|
|
@@ -15,7 +15,7 @@ export declare const tableRowCSSVars: {
|
|
|
15
15
|
CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND: string;
|
|
16
16
|
CSS_VAR_ROW_FOCUS_OUTLINE: string;
|
|
17
17
|
};
|
|
18
|
-
export declare const Table: import("react").ForwardRefExoticComponent<
|
|
18
|
+
export declare const Table: import("react").ForwardRefExoticComponent<Omit<TableProps, "ref"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
19
19
|
export declare const Caption: FC<{
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}>;
|
|
@@ -6,11 +6,11 @@ import { type FC, type HTMLProps, type ReactNode } from 'react';
|
|
|
6
6
|
type ContainerProps = HTMLProps<HTMLDivElement> & {
|
|
7
7
|
testId?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const Container: import("react").ForwardRefExoticComponent<
|
|
9
|
+
export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
type SpinnerBackdropProps = {
|
|
11
11
|
testId?: string;
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
};
|
|
14
14
|
export declare const SpinnerBackdrop: FC<SpinnerBackdropProps>;
|
|
15
|
-
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<
|
|
15
|
+
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<Omit<HTMLProps<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export {};
|
|
@@ -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("react").ForwardRefExoticComponent<
|
|
20
|
+
export declare const HeadCell: import("react").ForwardRefExoticComponent<Omit<HeadCellProps, "ref"> & import("react").RefAttributes<HTMLTableCellElement>>;
|
|
21
21
|
export {};
|
|
@@ -15,7 +15,7 @@ export declare const tableRowCSSVars: {
|
|
|
15
15
|
CSS_VAR_HOVER_HIGHLIGHTED_BACKGROUND: string;
|
|
16
16
|
CSS_VAR_ROW_FOCUS_OUTLINE: string;
|
|
17
17
|
};
|
|
18
|
-
export declare const Table: import("react").ForwardRefExoticComponent<
|
|
18
|
+
export declare const Table: import("react").ForwardRefExoticComponent<Omit<TableProps, "ref"> & import("react").RefAttributes<HTMLTableElement>>;
|
|
19
19
|
export declare const Caption: FC<{
|
|
20
20
|
children: ReactNode;
|
|
21
21
|
}>;
|
|
@@ -6,11 +6,11 @@ import { type FC, type HTMLProps, type ReactNode } from 'react';
|
|
|
6
6
|
type ContainerProps = HTMLProps<HTMLDivElement> & {
|
|
7
7
|
testId?: string;
|
|
8
8
|
};
|
|
9
|
-
export declare const Container: import("react").ForwardRefExoticComponent<
|
|
9
|
+
export declare const Container: import("react").ForwardRefExoticComponent<Omit<ContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
10
|
type SpinnerBackdropProps = {
|
|
11
11
|
testId?: string;
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
};
|
|
14
14
|
export declare const SpinnerBackdrop: FC<SpinnerBackdropProps>;
|
|
15
|
-
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<
|
|
15
|
+
export declare const SpinnerContainer: import("react").ForwardRefExoticComponent<Omit<HTMLProps<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
16
16
|
export {};
|
|
@@ -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("react").ForwardRefExoticComponent<
|
|
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": "17.
|
|
3
|
+
"version": "17.1.1",
|
|
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/"
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"runReact18": true
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@atlaskit/analytics-next": "^10.
|
|
43
|
-
"@atlaskit/css": "^0.
|
|
44
|
-
"@atlaskit/ds-lib": "^3.
|
|
45
|
-
"@atlaskit/icon": "^23.
|
|
46
|
-
"@atlaskit/pagination": "^15.
|
|
47
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
48
|
-
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^1.
|
|
49
|
-
"@atlaskit/primitives": "^13.
|
|
50
|
-
"@atlaskit/spinner": "^17.
|
|
51
|
-
"@atlaskit/theme": "^14.
|
|
52
|
-
"@atlaskit/tokens": "^3.
|
|
53
|
-
"@atlaskit/tooltip": "^19.0
|
|
42
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
43
|
+
"@atlaskit/css": "^0.8.0",
|
|
44
|
+
"@atlaskit/ds-lib": "^3.5.0",
|
|
45
|
+
"@atlaskit/icon": "^23.6.0",
|
|
46
|
+
"@atlaskit/pagination": "^15.1.0",
|
|
47
|
+
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
48
|
+
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^1.4.0",
|
|
49
|
+
"@atlaskit/primitives": "^13.4.0",
|
|
50
|
+
"@atlaskit/spinner": "^17.1.0",
|
|
51
|
+
"@atlaskit/theme": "^14.1.0",
|
|
52
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
53
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@emotion/react": "^11.7.1"
|
|
56
56
|
},
|
|
@@ -62,25 +62,25 @@
|
|
|
62
62
|
"@af/accessibility-testing": "*",
|
|
63
63
|
"@af/integration-testing": "*",
|
|
64
64
|
"@af/visual-regression": "*",
|
|
65
|
-
"@atlaskit/avatar": "^21.
|
|
66
|
-
"@atlaskit/banner": "^12.
|
|
65
|
+
"@atlaskit/avatar": "^21.18.0",
|
|
66
|
+
"@atlaskit/banner": "^12.7.0",
|
|
67
67
|
"@atlaskit/button": "*",
|
|
68
68
|
"@atlaskit/docs": "*",
|
|
69
|
-
"@atlaskit/drawer": "^9.
|
|
70
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
69
|
+
"@atlaskit/drawer": "^9.4.0",
|
|
70
|
+
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
71
71
|
"@atlaskit/link": "*",
|
|
72
|
-
"@atlaskit/pragmatic-drag-and-drop": "^1.
|
|
72
|
+
"@atlaskit/pragmatic-drag-and-drop": "^1.5.0",
|
|
73
73
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.3",
|
|
74
74
|
"@atlaskit/section-message": "*",
|
|
75
75
|
"@atlaskit/ssr": "*",
|
|
76
|
-
"@atlaskit/toggle": "^14.
|
|
76
|
+
"@atlaskit/toggle": "^14.1.0",
|
|
77
77
|
"@atlaskit/visual-regression": "*",
|
|
78
|
-
"@atlassian/feature-flags-storybook-utils": "^0.
|
|
78
|
+
"@atlassian/feature-flags-storybook-utils": "^0.2.0",
|
|
79
79
|
"@atlassian/feature-flags-test-utils": "*",
|
|
80
80
|
"@emotion/styled": "^11.0.0",
|
|
81
|
-
"@testing-library/react": "^
|
|
81
|
+
"@testing-library/react": "^13.4.0",
|
|
82
82
|
"@testing-library/user-event": "^14.4.3",
|
|
83
|
-
"react-dom": "^
|
|
83
|
+
"react-dom": "^18.2.0",
|
|
84
84
|
"typescript": "~5.4.2"
|
|
85
85
|
},
|
|
86
86
|
"techstack": {
|