@atlaskit/link-datasource 2.10.3 → 2.11.0
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,17 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 2.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#129983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/129983)
|
|
8
|
+
[`02069a897926b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/02069a897926b) -
|
|
9
|
+
Add React 18 to peer dependencies and upgrade react-dom dependency to same versions as well
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 2.10.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
4
4
|
import { SmartCardProvider } from '@atlaskit/link-provider';
|
|
5
|
-
import { mockAssetsClientFetchRequests } from '@atlaskit/link-test-helpers/datasource';
|
|
6
5
|
import { type DatasourceParameters } from '@atlaskit/linking-types';
|
|
7
6
|
|
|
8
7
|
import { DatasourceTableView } from '../src';
|
|
@@ -55,12 +54,6 @@ const AssetsTableView = () => {
|
|
|
55
54
|
export const ExampleAssetsIssuesTableView = ({
|
|
56
55
|
mockDatasourceFetchRequest = true,
|
|
57
56
|
}: AssetsTableViewProps) => {
|
|
58
|
-
useEffect(() => {
|
|
59
|
-
if (mockDatasourceFetchRequest) {
|
|
60
|
-
mockAssetsClientFetchRequests();
|
|
61
|
-
}
|
|
62
|
-
}, [mockDatasourceFetchRequest]);
|
|
63
|
-
|
|
64
57
|
return (
|
|
65
58
|
<IntlMessagesProvider loaderFn={fetchMessagesForLocale}>
|
|
66
59
|
<SmartCardProvider client={new SmartLinkClient()}>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"i18n": true,
|
|
30
30
|
"website": {
|
|
31
31
|
"name": "Link Datasource"
|
|
32
|
-
}
|
|
32
|
+
},
|
|
33
|
+
"runReact18": true
|
|
33
34
|
},
|
|
34
35
|
"scripts": {
|
|
35
36
|
"analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
|
|
@@ -37,17 +38,17 @@
|
|
|
37
38
|
"dependencies": {
|
|
38
39
|
"@atlaskit/adf-schema": "^40.8.1",
|
|
39
40
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
40
|
-
"@atlaskit/avatar": "^21.
|
|
41
|
+
"@atlaskit/avatar": "^21.15.0",
|
|
41
42
|
"@atlaskit/avatar-group": "^9.11.0",
|
|
42
43
|
"@atlaskit/badge": "^16.4.0",
|
|
43
|
-
"@atlaskit/button": "^
|
|
44
|
-
"@atlaskit/datetime-picker": "^13.
|
|
44
|
+
"@atlaskit/button": "^20.0.0",
|
|
45
|
+
"@atlaskit/datetime-picker": "^13.11.0",
|
|
45
46
|
"@atlaskit/dropdown-menu": "^12.17.0",
|
|
46
47
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
47
48
|
"@atlaskit/empty-state": "^7.11.0",
|
|
48
49
|
"@atlaskit/form": "^10.5.0",
|
|
49
50
|
"@atlaskit/heading": "^2.4.0",
|
|
50
|
-
"@atlaskit/icon": "^22.
|
|
51
|
+
"@atlaskit/icon": "^22.13.0",
|
|
51
52
|
"@atlaskit/icon-object": "^6.5.0",
|
|
52
53
|
"@atlaskit/image": "^1.3.0",
|
|
53
54
|
"@atlaskit/inline-edit": "^13.6.0",
|
|
@@ -70,7 +71,7 @@
|
|
|
70
71
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
|
|
71
72
|
"@atlaskit/primitives": "^12.0.0",
|
|
72
73
|
"@atlaskit/select": "^17.13.0",
|
|
73
|
-
"@atlaskit/smart-card": "^27.
|
|
74
|
+
"@atlaskit/smart-card": "^27.16.0",
|
|
74
75
|
"@atlaskit/smart-user-picker": "6.10.2",
|
|
75
76
|
"@atlaskit/spinner": "^16.3.0",
|
|
76
77
|
"@atlaskit/tag": "^12.5.0",
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
"uuid": "^3.1.0"
|
|
93
94
|
},
|
|
94
95
|
"peerDependencies": {
|
|
95
|
-
"react": "^16.8.0",
|
|
96
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
96
97
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
97
98
|
},
|
|
98
99
|
"devDependencies": {
|