@atlaskit/link-datasource 4.24.3 → 4.25.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 +20 -0
- package/dist/cjs/services/getAvailableSites.js +1 -1
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.compiled.css +1 -1
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/index.js +2 -2
- package/dist/es2019/services/getAvailableSites.js +1 -1
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.compiled.css +1 -1
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/index.js +2 -2
- package/dist/esm/services/getAvailableSites.js +1 -1
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.compiled.css +1 -1
- package/dist/esm/ui/assets-modal/modal/render-assets-content/index.js +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.25.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6953cf61660b3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6953cf61660b3) -
|
|
8
|
+
Fix assets modal tableBordersStyles backgroundImage
|
|
9
|
+
|
|
10
|
+
## 4.25.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
|
|
15
|
+
EDITOR-1566 bump adf-schema + update validator
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`e6be88cf8f62d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e6be88cf8f62d) -
|
|
20
|
+
NAVX-1819 fixing site selector return types to match prod and updating mocks
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 4.24.3
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -93,7 +93,7 @@ var getAccessibleProducts = exports.getAccessibleProducts = /*#__PURE__*/functio
|
|
|
93
93
|
return response.json();
|
|
94
94
|
case 7:
|
|
95
95
|
res = _context2.sent;
|
|
96
|
-
return _context2.abrupt("return", (0, _hooks.mapAccessibleProductsToAvailableSites)(res));
|
|
96
|
+
return _context2.abrupt("return", (0, _hooks.mapAccessibleProductsToAvailableSites)(res.data));
|
|
97
97
|
case 9:
|
|
98
98
|
_context2.t0 = Error;
|
|
99
99
|
_context2.next = 12;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18m91wug{overflow-y:auto}
|
|
7
7
|
._1e0c11p5{display:grid}
|
|
8
|
-
.
|
|
8
|
+
._1itkc9lc{background-image:linear-gradient(90deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(90deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1)),transparent),linear-gradient(90deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 70%),linear-gradient(90deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1))),linear-gradient(0deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 30%),linear-gradient(0deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05))),linear-gradient(0deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(0deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05)),transparent)}
|
|
9
9
|
._1lrw1sd4{background-size:40px 100%,14px 100%,40px 100%,14px 100%,100% 75pt,100% 14px,100% 40px,100% 10px}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._1reo1wug{overflow-x:auto}
|
|
@@ -45,7 +45,7 @@ var NoResultsView = function NoResultsView() {
|
|
|
45
45
|
};
|
|
46
46
|
var LoadingView = function LoadingView() {
|
|
47
47
|
return /*#__PURE__*/React.createElement("div", {
|
|
48
|
-
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok
|
|
48
|
+
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00", "_1reo15vq _18m915vq"]),
|
|
49
49
|
style: {
|
|
50
50
|
"--_gf55z1": (0, _runtime.ix)("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N40, ")"))),
|
|
51
51
|
"--_x4esmf": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(_colors.N40, ")")))
|
|
@@ -69,7 +69,7 @@ var RenderAssetsContent = exports.RenderAssetsContent = function RenderAssetsCon
|
|
|
69
69
|
var resolvedWithNoResults = status === 'resolved' && !responseItems.length;
|
|
70
70
|
var issueLikeDataTableView = (0, _react.useMemo)(function () {
|
|
71
71
|
return /*#__PURE__*/React.createElement("div", {
|
|
72
|
-
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok
|
|
72
|
+
className: (0, _runtime.ax)(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00"]),
|
|
73
73
|
style: {
|
|
74
74
|
"--_gf55z1": (0, _runtime.ix)("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N40, ")"))),
|
|
75
75
|
"--_x4esmf": (0, _runtime.ix)("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(_colors.N40, ")")))
|
|
@@ -35,7 +35,7 @@ export const getAccessibleProducts = async product => {
|
|
|
35
35
|
const response = await fetch(`/gateway/api/v2/accessible-products`, requestConfig);
|
|
36
36
|
if (response.ok) {
|
|
37
37
|
const res = await response.json();
|
|
38
|
-
return mapAccessibleProductsToAvailableSites(res);
|
|
38
|
+
return mapAccessibleProductsToAvailableSites(res.data);
|
|
39
39
|
}
|
|
40
40
|
throw new Error((await response.text()) || 'Something went wrong');
|
|
41
41
|
};
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18m91wug{overflow-y:auto}
|
|
7
7
|
._1e0c11p5{display:grid}
|
|
8
|
-
.
|
|
8
|
+
._1itkc9lc{background-image:linear-gradient(90deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(90deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1)),transparent),linear-gradient(90deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 70%),linear-gradient(90deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1))),linear-gradient(0deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 30%),linear-gradient(0deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05))),linear-gradient(0deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(0deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05)),transparent)}
|
|
9
9
|
._1lrw1sd4{background-size:40px 100%,14px 100%,40px 100%,14px 100%,100% 75pt,100% 14px,100% 40px,100% 10px}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._1reo1wug{overflow-x:auto}
|
|
@@ -28,7 +28,7 @@ const NoResultsView = () => /*#__PURE__*/React.createElement("div", {
|
|
|
28
28
|
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5"])
|
|
29
29
|
}, /*#__PURE__*/React.createElement(NoResults, null));
|
|
30
30
|
const LoadingView = () => /*#__PURE__*/React.createElement("div", {
|
|
31
|
-
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it1x13 _n7zl19xj _13li1mok _qrwq1mok
|
|
31
|
+
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it1x13 _n7zl19xj _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00", "_1reo15vq _18m915vq"])
|
|
32
32
|
}, /*#__PURE__*/React.createElement(EmptyState, {
|
|
33
33
|
testId: "assets-aql-datasource-modal--loading-state"
|
|
34
34
|
}));
|
|
@@ -48,7 +48,7 @@ export const RenderAssetsContent = props => {
|
|
|
48
48
|
} = props;
|
|
49
49
|
const resolvedWithNoResults = status === 'resolved' && !responseItems.length;
|
|
50
50
|
const issueLikeDataTableView = useMemo(() => /*#__PURE__*/React.createElement("div", {
|
|
51
|
-
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it1x13 _n7zl19xj _13li1mok _qrwq1mok
|
|
51
|
+
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it1x13 _n7zl19xj _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00"])
|
|
52
52
|
}, /*#__PURE__*/React.createElement(IssueLikeDataTableView, {
|
|
53
53
|
testId: "asset-datasource-table",
|
|
54
54
|
status: status,
|
|
@@ -86,7 +86,7 @@ export var getAccessibleProducts = /*#__PURE__*/function () {
|
|
|
86
86
|
return response.json();
|
|
87
87
|
case 7:
|
|
88
88
|
res = _context2.sent;
|
|
89
|
-
return _context2.abrupt("return", mapAccessibleProductsToAvailableSites(res));
|
|
89
|
+
return _context2.abrupt("return", mapAccessibleProductsToAvailableSites(res.data));
|
|
90
90
|
case 9:
|
|
91
91
|
_context2.t0 = Error;
|
|
92
92
|
_context2.next = 12;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
._18m915vq{overflow-y:hidden}
|
|
6
6
|
._18m91wug{overflow-y:auto}
|
|
7
7
|
._1e0c11p5{display:grid}
|
|
8
|
-
.
|
|
8
|
+
._1itkc9lc{background-image:linear-gradient(90deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(90deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1)),transparent),linear-gradient(90deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 70%),linear-gradient(90deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.1))),linear-gradient(0deg,hsla(0,0%,100%,0),var(--ds-elevation-surface-current,#fff) 30%),linear-gradient(0deg,transparent,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05))),linear-gradient(0deg,var(--ds-elevation-surface-current,#fff) 30%,hsla(0,0%,100%,0)),linear-gradient(0deg,var(--ds-shadow-overflow-perimeter,rgba(0,0,0,.05)),transparent)}
|
|
9
9
|
._1lrw1sd4{background-size:40px 100%,14px 100%,40px 100%,14px 100%,100% 75pt,100% 14px,100% 40px,100% 10px}
|
|
10
10
|
._1reo15vq{overflow-x:hidden}
|
|
11
11
|
._1reo1wug{overflow-x:auto}
|
|
@@ -37,7 +37,7 @@ var NoResultsView = function NoResultsView() {
|
|
|
37
37
|
};
|
|
38
38
|
var LoadingView = function LoadingView() {
|
|
39
39
|
return /*#__PURE__*/React.createElement("div", {
|
|
40
|
-
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok
|
|
40
|
+
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00", "_1reo15vq _18m915vq"]),
|
|
41
41
|
style: {
|
|
42
42
|
"--_gf55z1": ix("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N40, ")"))),
|
|
43
43
|
"--_x4esmf": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(N40, ")")))
|
|
@@ -61,7 +61,7 @@ export var RenderAssetsContent = function RenderAssetsContent(props) {
|
|
|
61
61
|
var resolvedWithNoResults = status === 'resolved' && !responseItems.length;
|
|
62
62
|
var issueLikeDataTableView = useMemo(function () {
|
|
63
63
|
return /*#__PURE__*/React.createElement("div", {
|
|
64
|
-
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok
|
|
64
|
+
className: ax(["_1reo1wug _18m91wug _4t3i1pna _1e0c11p5", "_19it155r _n7zl1gbd _13li1mok _qrwq1mok _1itkc9lc _12vemgnk _1lrw1sd4 _qmxj1c00"]),
|
|
65
65
|
style: {
|
|
66
66
|
"--_gf55z1": ix("var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N40, ")"))),
|
|
67
67
|
"--_x4esmf": ix("var(--ds-border-width-selected, 2px)".concat(" solid ", "var(--ds-background-accent-gray-subtler, ".concat(N40, ")")))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.1",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^51.
|
|
39
|
+
"@atlaskit/adf-schema": "^51.2.0",
|
|
40
40
|
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
42
42
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/empty-state": "^10.1.0",
|
|
52
52
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
53
53
|
"@atlaskit/flag": "^17.4.0",
|
|
54
|
-
"@atlaskit/form": "^14.
|
|
54
|
+
"@atlaskit/form": "^14.2.0",
|
|
55
55
|
"@atlaskit/heading": "^5.2.0",
|
|
56
56
|
"@atlaskit/icon": "^28.3.0",
|
|
57
57
|
"@atlaskit/icon-object": "^7.2.0",
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^2.0.0",
|
|
78
78
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
79
79
|
"@atlaskit/primitives": "^14.15.0",
|
|
80
|
-
"@atlaskit/react-select": "^3.
|
|
80
|
+
"@atlaskit/react-select": "^3.7.0",
|
|
81
81
|
"@atlaskit/select": "^21.3.0",
|
|
82
|
-
"@atlaskit/smart-card": "^42.
|
|
83
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
82
|
+
"@atlaskit/smart-card": "^42.3.0",
|
|
83
|
+
"@atlaskit/smart-user-picker": "^8.3.0",
|
|
84
84
|
"@atlaskit/spinner": "^19.0.0",
|
|
85
85
|
"@atlaskit/tag": "^14.1.0",
|
|
86
86
|
"@atlaskit/textfield": "^8.0.0",
|
|
87
87
|
"@atlaskit/theme": "^21.0.0",
|
|
88
|
-
"@atlaskit/tokens": "^6.
|
|
89
|
-
"@atlaskit/tooltip": "^20.
|
|
88
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
89
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
90
90
|
"@atlaskit/ufo": "^0.4.0",
|
|
91
91
|
"@atlaskit/width-detector": "^5.0.0",
|
|
92
92
|
"@babel/runtime": "^7.0.0",
|