@atlaskit/link-datasource 1.24.1 → 1.24.3

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,19 @@
1
1
  # @atlaskit/link-datasource
2
2
 
3
+ ## 1.24.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+ - Updated dependencies
9
+
10
+ ## 1.24.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
15
+ - Updated dependencies
16
+
3
17
  ## 1.24.1
4
18
 
5
19
  ### Patch Changes
@@ -23,5 +23,5 @@ type EventPayload<K extends EventKey> = {
23
23
  actionSubjectId?: string;
24
24
  attributes?: AnalyticsEventAttributes[K];
25
25
  };
26
- declare const createEventPayload: <K extends keyof AnalyticsEventAttributes>(eventKey: K, ...[attributes]: OptionalIfUndefined<AnalyticsEventAttributes[K]>) => ScreenEventPayload<K> | EventPayload<K>;
26
+ declare const createEventPayload: <K extends keyof AnalyticsEventAttributes>(eventKey: K, ...[attributes]: EventPayloadAttributes<K>) => ScreenEventPayload<K> | EventPayload<K>;
27
27
  export default createEventPayload;
@@ -1,3 +1,3 @@
1
1
  export declare const useAnalyticsEvents: () => {
2
- fireEvent: <K extends keyof import("./analytics.types").AnalyticsEventAttributes>(params_0: K, ...params_1: undefined extends import("./analytics.types").AnalyticsEventAttributes[K] ? [param?: import("./analytics.types").AnalyticsEventAttributes[K] | undefined] : [param: import("./analytics.types").AnalyticsEventAttributes[K]]) => void;
2
+ fireEvent: <K extends keyof import("./analytics.types").AnalyticsEventAttributes>(eventKey: K, ...params_1: undefined extends import("./analytics.types").AnalyticsEventAttributes[K] ? [param?: import("./analytics.types").AnalyticsEventAttributes[K] | undefined] : [param: import("./analytics.types").AnalyticsEventAttributes[K]]) => void;
3
3
  };
@@ -1,4 +1,4 @@
1
1
  export { EVENT_CHANNEL } from './constants';
2
2
  export declare const useDatasourceAnalyticsEvents: () => {
3
- fireEvent: <K extends keyof import("./generated/analytics.types").AnalyticsEventAttributes>(params_0: K, ...params_1: undefined extends import("./generated/analytics.types").AnalyticsEventAttributes[K] ? [param?: import("./generated/analytics.types").AnalyticsEventAttributes[K] | undefined] : [param: import("./generated/analytics.types").AnalyticsEventAttributes[K]]) => void;
3
+ fireEvent: <K extends keyof import("./generated/analytics.types").AnalyticsEventAttributes>(eventKey: K, ...params_1: undefined extends import("./generated/analytics.types").AnalyticsEventAttributes[K] ? [param?: import("./generated/analytics.types").AnalyticsEventAttributes[K] | undefined] : [param: import("./generated/analytics.types").AnalyticsEventAttributes[K]]) => void;
4
4
  };
@@ -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;
@@ -27,5 +27,5 @@ type EventPayload<K extends EventKey> = {
27
27
  actionSubjectId?: string;
28
28
  attributes?: AnalyticsEventAttributes[K];
29
29
  };
30
- declare const createEventPayload: <K extends keyof AnalyticsEventAttributes>(eventKey: K, ...[attributes]: OptionalIfUndefined<AnalyticsEventAttributes[K]>) => ScreenEventPayload<K> | EventPayload<K>;
30
+ declare const createEventPayload: <K extends keyof AnalyticsEventAttributes>(eventKey: K, ...[attributes]: EventPayloadAttributes<K>) => ScreenEventPayload<K> | EventPayload<K>;
31
31
  export default createEventPayload;
@@ -1,5 +1,5 @@
1
1
  export declare const useAnalyticsEvents: () => {
2
- fireEvent: <K extends keyof import("./analytics.types").AnalyticsEventAttributes>(params_0: K, ...params_1: undefined extends import("./analytics.types").AnalyticsEventAttributes[K] ? [
2
+ fireEvent: <K extends keyof import("./analytics.types").AnalyticsEventAttributes>(eventKey: K, ...params_1: undefined extends import("./analytics.types").AnalyticsEventAttributes[K] ? [
3
3
  param?: import("./analytics.types").AnalyticsEventAttributes[K] | undefined
4
4
  ] : [
5
5
  param: import("./analytics.types").AnalyticsEventAttributes[K]
@@ -1,6 +1,6 @@
1
1
  export { EVENT_CHANNEL } from './constants';
2
2
  export declare const useDatasourceAnalyticsEvents: () => {
3
- fireEvent: <K extends keyof import("./generated/analytics.types").AnalyticsEventAttributes>(params_0: K, ...params_1: undefined extends import("./generated/analytics.types").AnalyticsEventAttributes[K] ? [
3
+ fireEvent: <K extends keyof import("./generated/analytics.types").AnalyticsEventAttributes>(eventKey: K, ...params_1: undefined extends import("./generated/analytics.types").AnalyticsEventAttributes[K] ? [
4
4
  param?: import("./generated/analytics.types").AnalyticsEventAttributes[K] | undefined
5
5
  ] : [
6
6
  param: import("./generated/analytics.types").AnalyticsEventAttributes[K]
@@ -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;
@@ -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.1",
3
+ "version": "1.24.3",
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",
@@ -41,16 +41,16 @@
41
41
  "@atlaskit/editor-prosemirror": "3.0.0",
42
42
  "@atlaskit/empty-state": "^7.7.0",
43
43
  "@atlaskit/form": "^9.0.3",
44
- "@atlaskit/heading": "^2.0.0",
44
+ "@atlaskit/heading": "^2.1.0",
45
45
  "@atlaskit/icon": "^22.1.0",
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",
@@ -60,14 +60,14 @@
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",
63
- "@atlaskit/primitives": "^5.0.0",
63
+ "@atlaskit/primitives": "^5.1.0",
64
64
  "@atlaskit/select": "^17.3.0",
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.1",
68
+ "@atlaskit/textfield": "6.1.3",
69
69
  "@atlaskit/theme": "^12.6.0",
70
- "@atlaskit/tokens": "^1.41.0",
70
+ "@atlaskit/tokens": "^1.42.0",
71
71
  "@atlaskit/tooltip": "^18.1.0",
72
72
  "@atlaskit/ufo": "^0.2.4",
73
73
  "@atlaskit/width-detector": "^4.1.7",
@@ -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",
@@ -103,7 +103,7 @@
103
103
  "fetch-mock": "^8.0.0",
104
104
  "jest-fetch-mock": "^3.0.3",
105
105
  "json-ld-types": "^3.11.0",
106
- "typescript": "~4.9.5",
106
+ "typescript": "~5.4.2",
107
107
  "wait-for-expect": "^1.2.0"
108
108
  },
109
109
  "techstack": {
@@ -154,4 +154,4 @@
154
154
  "type": "boolean"
155
155
  }
156
156
  }
157
- }
157
+ }