@atlaskit/link-datasource 1.24.2 → 1.24.4

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,18 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.24.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188) [`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) - Minor adjustments to improve compatibility with React 18
8
+
9
+ ## 1.24.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [#81777](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81777) [`c6d7a5378751`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d7a5378751) - Bump adf-schema to 35.7.0
14
+ - Updated dependencies
15
+
3
16
  ## 1.24.2
4
17
 
5
18
  ### Patch Changes
@@ -94,6 +94,7 @@ var useFilterOptions = exports.useFilterOptions = function useFilterOptions(_ref
94
94
  cloudId: cloudId,
95
95
  jql: '',
96
96
  jqlTerm: filterType,
97
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
97
98
  searchString: searchString,
98
99
  pageCursor: pageCursor
99
100
  });
@@ -46,6 +46,7 @@ export const useFilterOptions = ({
46
46
  cloudId,
47
47
  jql: '',
48
48
  jqlTerm: filterType,
49
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
49
50
  searchString,
50
51
  pageCursor
51
52
  });
@@ -87,6 +87,7 @@ export var useFilterOptions = function useFilterOptions(_ref) {
87
87
  cloudId: cloudId,
88
88
  jql: '',
89
89
  jqlTerm: filterType,
90
+ // @ts-expect-error - Type 'string | undefined' is not assignable to type 'string'
90
91
  searchString: searchString,
91
92
  pageCursor: pageCursor
92
93
  });
@@ -4,7 +4,7 @@
4
4
  * a helper Tail type which removes the first element of the tuple
5
5
  */
6
6
  export declare const logToSentry: (error: unknown, packageName: string, tags?: {
7
- [key: string]: import("@sentry/types").Primitive;
7
+ [key: string]: string | number | bigint | boolean | symbol | null | undefined;
8
8
  } | undefined) => void;
9
9
  interface UseErrorLoggerProps {
10
10
  datasourceId: string;
@@ -5,7 +5,7 @@ interface DraggableTableHeadingProps {
5
5
  children: ReactNode;
6
6
  id: string;
7
7
  index: number;
8
- tableId: Symbol;
8
+ tableId: symbol;
9
9
  dndPreviewHeight: number;
10
10
  dragPreview: React.ReactNode;
11
11
  width: number;
@@ -4,7 +4,7 @@
4
4
  * a helper Tail type which removes the first element of the tuple
5
5
  */
6
6
  export declare const logToSentry: (error: unknown, packageName: string, tags?: {
7
- [key: string]: import("@sentry/types").Primitive;
7
+ [key: string]: string | number | bigint | boolean | symbol | null | undefined;
8
8
  } | undefined) => void;
9
9
  interface UseErrorLoggerProps {
10
10
  datasourceId: string;
@@ -5,7 +5,7 @@ interface DraggableTableHeadingProps {
5
5
  children: ReactNode;
6
6
  id: string;
7
7
  index: number;
8
- tableId: Symbol;
8
+ tableId: symbol;
9
9
  dndPreviewHeight: number;
10
10
  dragPreview: React.ReactNode;
11
11
  width: number;
@@ -1,6 +1,6 @@
1
1
  import { useCallback, useState } from 'react';
2
2
 
3
- import { defaultInitialVisibleColumnKeys } from '@atlaskit/link-test-helpers/datasource';
3
+ import { defaultInitialVisibleJiraColumnKeys } from '@atlaskit/link-test-helpers/datasource';
4
4
 
5
5
  import { DatasourceTableViewProps } from '../src/ui/datasource-table-view/types';
6
6
  import { ColumnSizesMap } from '../src/ui/issue-like-table/types';
@@ -19,7 +19,7 @@ export const useCommonTableProps = (
19
19
  > &
20
20
  Pick<DatasourceTableViewProps, 'columnCustomSizes'> => {
21
21
  const [visibleColumnKeys, onVisibleColumnKeysChange] = useState<string[]>(
22
- defaultInitialVisibleColumnKeys,
22
+ defaultInitialVisibleJiraColumnKeys,
23
23
  );
24
24
 
25
25
  const [columnCustomSizes, setColumnCustomSizes] = useState<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "1.24.2",
3
+ "version": "1.24.4",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,7 +31,7 @@
31
31
  "analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/adf-schema": "^35.6.0",
34
+ "@atlaskit/adf-schema": "^35.7.0",
35
35
  "@atlaskit/analytics-next": "^9.2.0",
36
36
  "@atlaskit/avatar": "^21.5.0",
37
37
  "@atlaskit/avatar-group": "^9.5.0",
@@ -46,17 +46,17 @@
46
46
  "@atlaskit/icon-object": "^6.3.0",
47
47
  "@atlaskit/image": "^1.1.0",
48
48
  "@atlaskit/intl-messages-provider": "^1.0.0",
49
- "@atlaskit/jql-ast": "^3.1.0",
49
+ "@atlaskit/jql-ast": "^3.2.0",
50
50
  "@atlaskit/jql-editor": "^4.0.0",
51
51
  "@atlaskit/jql-editor-autocomplete-rest": "^2.0.0",
52
52
  "@atlaskit/link-client-extension": "^1.8.0",
53
- "@atlaskit/linking-common": "^5.5.0",
53
+ "@atlaskit/linking-common": "^5.6.0",
54
54
  "@atlaskit/linking-types": "^8.7.0",
55
55
  "@atlaskit/lozenge": "^11.6.0",
56
56
  "@atlaskit/modal-dialog": "^12.10.0",
57
57
  "@atlaskit/outbound-auth-flow-client": "^3.4.5",
58
58
  "@atlaskit/platform-feature-flags": "^0.2.4",
59
- "@atlaskit/pragmatic-drag-and-drop": "^1.0.0",
59
+ "@atlaskit/pragmatic-drag-and-drop": "^1.1.0",
60
60
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
61
61
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.0.0",
62
62
  "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.0.0",
@@ -65,7 +65,7 @@
65
65
  "@atlaskit/smart-card": "^26.50.0",
66
66
  "@atlaskit/spinner": "^16.0.0",
67
67
  "@atlaskit/tag": "^12.0.0",
68
- "@atlaskit/textfield": "6.1.2",
68
+ "@atlaskit/textfield": "6.1.3",
69
69
  "@atlaskit/theme": "^12.6.0",
70
70
  "@atlaskit/tokens": "^1.42.0",
71
71
  "@atlaskit/tooltip": "^18.1.0",
@@ -88,8 +88,8 @@
88
88
  "devDependencies": {
89
89
  "@af/integration-testing": "*",
90
90
  "@af/visual-regression": "*",
91
- "@atlaskit/link-provider": "^1.8.0",
92
- "@atlaskit/link-test-helpers": "^6.2.0",
91
+ "@atlaskit/link-provider": "^1.9.0",
92
+ "@atlaskit/link-test-helpers": "^7.0.0",
93
93
  "@atlaskit/ssr": "*",
94
94
  "@atlaskit/visual-regression": "*",
95
95
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",