@atlaskit/link-datasource 1.1.5 → 1.1.6
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 +7 -0
- package/dist/cjs/analytics/constants.js +1 -1
- package/dist/cjs/hooks/useDatasourceTableState.js +1 -1
- package/dist/cjs/ui/assets-modal/modal/index.js +1 -1
- package/dist/es2019/analytics/constants.js +1 -1
- package/dist/es2019/hooks/useDatasourceTableState.js +2 -2
- package/dist/es2019/ui/assets-modal/modal/index.js +1 -1
- package/dist/esm/analytics/constants.js +1 -1
- package/dist/esm/hooks/useDatasourceTableState.js +2 -2
- package/dist/esm/ui/assets-modal/modal/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 1.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8b8a309cb62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8b8a309cb62) - Making use of exported default page size from link-client-extensions
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 1.1.5
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -173,7 +173,7 @@ var useDatasourceTableState = function useDatasourceTableState(_ref) {
|
|
|
173
173
|
sortedFieldKeys.sort();
|
|
174
174
|
datasourceDataRequest = {
|
|
175
175
|
parameters: parameters,
|
|
176
|
-
pageSize:
|
|
176
|
+
pageSize: _linkClientExtension.DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE,
|
|
177
177
|
pageCursor: shouldRequestFirstPage ? undefined : nextCursor,
|
|
178
178
|
fields: sortedFieldKeys,
|
|
179
179
|
includeSchema: isSchemaFromData
|
|
@@ -231,7 +231,7 @@ var analyticsContextAttributes = {
|
|
|
231
231
|
};
|
|
232
232
|
var analyticsContextData = {
|
|
233
233
|
packageName: "@atlaskit/link-datasource",
|
|
234
|
-
packageVersion: "1.1.
|
|
234
|
+
packageVersion: "1.1.6",
|
|
235
235
|
source: 'datasourceConfigModal'
|
|
236
236
|
};
|
|
237
237
|
var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useCallback, useEffect, useState } from 'react';
|
|
2
|
-
import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
2
|
+
import { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
3
3
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
4
4
|
export const useDatasourceTableState = ({
|
|
5
5
|
datasourceId,
|
|
@@ -84,7 +84,7 @@ export const useDatasourceTableState = ({
|
|
|
84
84
|
sortedFieldKeys.sort();
|
|
85
85
|
const datasourceDataRequest = {
|
|
86
86
|
parameters,
|
|
87
|
-
pageSize:
|
|
87
|
+
pageSize: DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE,
|
|
88
88
|
pageCursor: shouldRequestFirstPage ? undefined : nextCursor,
|
|
89
89
|
fields: sortedFieldKeys,
|
|
90
90
|
includeSchema: isSchemaFromData
|
|
@@ -3,7 +3,7 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
import { useCallback, useEffect, useState } from 'react';
|
|
6
|
-
import { useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
6
|
+
import { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '@atlaskit/link-client-extension';
|
|
7
7
|
import { useDatasourceAnalyticsEvents } from '../analytics';
|
|
8
8
|
export var useDatasourceTableState = function useDatasourceTableState(_ref) {
|
|
9
9
|
var datasourceId = _ref.datasourceId,
|
|
@@ -166,7 +166,7 @@ export var useDatasourceTableState = function useDatasourceTableState(_ref) {
|
|
|
166
166
|
sortedFieldKeys.sort();
|
|
167
167
|
datasourceDataRequest = {
|
|
168
168
|
parameters: parameters,
|
|
169
|
-
pageSize:
|
|
169
|
+
pageSize: DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE,
|
|
170
170
|
pageCursor: shouldRequestFirstPage ? undefined : nextCursor,
|
|
171
171
|
fields: sortedFieldKeys,
|
|
172
172
|
includeSchema: isSchemaFromData
|
|
@@ -222,7 +222,7 @@ var analyticsContextAttributes = {
|
|
|
222
222
|
};
|
|
223
223
|
var analyticsContextData = {
|
|
224
224
|
packageName: "@atlaskit/link-datasource",
|
|
225
|
-
packageVersion: "1.1.
|
|
225
|
+
packageVersion: "1.1.6",
|
|
226
226
|
source: 'datasourceConfigModal'
|
|
227
227
|
};
|
|
228
228
|
var contextData = _objectSpread(_objectSpread({}, analyticsContextData), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@atlaskit/icon-object": "^6.3.0",
|
|
44
44
|
"@atlaskit/image": "^1.1.0",
|
|
45
45
|
"@atlaskit/jql-editor-autocomplete-rest": "^2.0.0",
|
|
46
|
-
"@atlaskit/link-client-extension": "^1.
|
|
47
|
-
"@atlaskit/linking-common": "^4.
|
|
46
|
+
"@atlaskit/link-client-extension": "^1.7.0",
|
|
47
|
+
"@atlaskit/linking-common": "^4.9.0",
|
|
48
48
|
"@atlaskit/linking-types": "^8.3.0",
|
|
49
49
|
"@atlaskit/lozenge": "^11.4.0",
|
|
50
50
|
"@atlaskit/modal-dialog": "^12.6.0",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^0.11.0",
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^0.6.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-react-indicator": "^0.16.0",
|
|
55
|
-
"@atlaskit/select": "^16.
|
|
56
|
-
"@atlaskit/smart-card": "^26.
|
|
55
|
+
"@atlaskit/select": "^16.6.0",
|
|
56
|
+
"@atlaskit/smart-card": "^26.26.0",
|
|
57
57
|
"@atlaskit/spinner": "^15.5.0",
|
|
58
58
|
"@atlaskit/tag": "^11.6.0",
|
|
59
59
|
"@atlaskit/textfield": "5.6.7",
|