@atlaskit/link-datasource 3.16.2 → 3.17.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
+ ## 3.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
8
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
9
+ Update `React` from v16 to v18
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 3.16.2
4
16
 
5
17
  ### Patch Changes
@@ -10,6 +10,7 @@ var _logo = require("@atlaskit/logo");
10
10
  var _primitives = require("@atlaskit/primitives");
11
11
  var _analytics = require("../../../analytics");
12
12
  var jsmTextStyles = (0, _primitives.xcss)({
13
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
13
14
  fontSize: 'small',
14
15
  color: 'color.text.subtle',
15
16
  marginLeft: 'space.075',
@@ -3,6 +3,7 @@ import { JiraServiceManagementIcon } from '@atlaskit/logo';
3
3
  import { Box, xcss } from '@atlaskit/primitives';
4
4
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
5
5
  const jsmTextStyles = xcss({
6
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
6
7
  fontSize: 'small',
7
8
  color: 'color.text.subtle',
8
9
  marginLeft: 'space.075',
@@ -3,6 +3,7 @@ import { JiraServiceManagementIcon } from '@atlaskit/logo';
3
3
  import { Box, xcss } from '@atlaskit/primitives';
4
4
  import { useDatasourceAnalyticsEvents } from '../../../analytics';
5
5
  var jsmTextStyles = xcss({
6
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
6
7
  fontSize: 'small',
7
8
  color: 'color.text.subtle',
8
9
  marginLeft: 'space.075',
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const DatasourceRenderFailedAnalyticsWrapper: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
2
+ declare const DatasourceRenderFailedAnalyticsWrapper: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
3
3
  export default DatasourceRenderFailedAnalyticsWrapper;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { PopupComponentProps } from '@atlaskit/popup';
3
- export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "id" | "children" | "style" | "xcss" | "data-testid" | "role" | "appearance" | "tabIndex" | "shouldFitContainer" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const PopupComponent: React.ForwardRefExoticComponent<Omit<PopupComponentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,4 +3,6 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- export declare const TruncateTextTag: React.ForwardRefExoticComponent<React.RefAttributes<HTMLElement>>;
6
+ export declare const TruncateTextTag: React.ForwardRefExoticComponent<{
7
+ children?: React.ReactNode;
8
+ } & React.RefAttributes<HTMLElement>>;
@@ -1,3 +1,3 @@
1
1
  /// <reference types="react" />
2
- declare const DatasourceRenderFailedAnalyticsWrapper: import("react").ForwardRefExoticComponent<Pick<any, string | number | symbol> & import("react").RefAttributes<any>>;
2
+ declare const DatasourceRenderFailedAnalyticsWrapper: import("react").ForwardRefExoticComponent<Omit<any, "ref"> & import("react").RefAttributes<any>>;
3
3
  export default DatasourceRenderFailedAnalyticsWrapper;
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import type { PopupComponentProps } from '@atlaskit/popup';
3
- export declare const PopupComponent: React.ForwardRefExoticComponent<Pick<PopupComponentProps, "id" | "children" | "style" | "xcss" | "data-testid" | "role" | "appearance" | "tabIndex" | "shouldFitContainer" | "shouldRenderToParent" | "data-placement"> & React.RefAttributes<HTMLDivElement>>;
3
+ export declare const PopupComponent: React.ForwardRefExoticComponent<Omit<PopupComponentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -3,4 +3,6 @@
3
3
  * @jsx jsx
4
4
  */
5
5
  import React from 'react';
6
- export declare const TruncateTextTag: React.ForwardRefExoticComponent<React.RefAttributes<HTMLElement>>;
6
+ export declare const TruncateTextTag: React.ForwardRefExoticComponent<{
7
+ children?: React.ReactNode;
8
+ } & React.RefAttributes<HTMLElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-datasource",
3
- "version": "3.16.2",
3
+ "version": "3.17.0",
4
4
  "description": "UI Components to support linking platform dataset feature",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,61 +28,61 @@
28
28
  "website": {
29
29
  "name": "Link Datasource"
30
30
  },
31
- "runReact18": true
31
+ "runReact18": false
32
32
  },
33
33
  "scripts": {
34
34
  "analytics:codegen": "yarn workspace @atlassian/analytics-tooling run analytics:codegen link-datasource --output ./src/analytics/generated"
35
35
  },
36
36
  "dependencies": {
37
37
  "@atlaskit/adf-schema": "^46.1.0",
38
- "@atlaskit/analytics-next": "^10.2.0",
39
- "@atlaskit/atlassian-context": "^0.0.2",
40
- "@atlaskit/avatar": "^21.17.0",
41
- "@atlaskit/avatar-group": "^11.0.0",
42
- "@atlaskit/badge": "^17.0.0",
43
- "@atlaskit/button": "^20.3.0",
44
- "@atlaskit/datetime-picker": "^15.11.0",
45
- "@atlaskit/dropdown-menu": "^12.25.0",
38
+ "@atlaskit/analytics-next": "^10.3.0",
39
+ "@atlaskit/atlassian-context": "^0.1.0",
40
+ "@atlaskit/avatar": "^21.18.0",
41
+ "@atlaskit/avatar-group": "^11.1.0",
42
+ "@atlaskit/badge": "^17.1.0",
43
+ "@atlaskit/button": "^20.4.0",
44
+ "@atlaskit/datetime-picker": "^15.12.0",
45
+ "@atlaskit/dropdown-menu": "^12.26.0",
46
46
  "@atlaskit/editor-prosemirror": "6.2.1",
47
- "@atlaskit/empty-state": "^8.1.0",
48
- "@atlaskit/flag": "^15.8.0",
49
- "@atlaskit/form": "^11.0.0",
50
- "@atlaskit/heading": "^4.0.0",
51
- "@atlaskit/icon": "^23.4.0",
52
- "@atlaskit/icon-object": "^6.9.0",
53
- "@atlaskit/image": "^1.3.0",
54
- "@atlaskit/inline-edit": "^14.1.0",
55
- "@atlaskit/intl-messages-provider": "^1.0.0",
47
+ "@atlaskit/empty-state": "^8.2.0",
48
+ "@atlaskit/flag": "^15.9.0",
49
+ "@atlaskit/form": "^11.1.0",
50
+ "@atlaskit/heading": "^4.1.0",
51
+ "@atlaskit/icon": "^23.5.0",
52
+ "@atlaskit/icon-object": "^6.10.0",
53
+ "@atlaskit/image": "^1.4.0",
54
+ "@atlaskit/inline-edit": "^14.2.0",
55
+ "@atlaskit/intl-messages-provider": "^1.1.0",
56
56
  "@atlaskit/jql-ast": "^3.3.0",
57
- "@atlaskit/jql-editor": "^4.13.0",
58
- "@atlaskit/jql-editor-autocomplete-rest": "^2.1.0",
59
- "@atlaskit/layering": "^1.0.0",
60
- "@atlaskit/link-client-extension": "^3.0.0",
61
- "@atlaskit/linking-common": "^6.1.0",
62
- "@atlaskit/linking-types": "^9.5.0",
63
- "@atlaskit/logo": "^15.1.0",
64
- "@atlaskit/lozenge": "^11.12.0",
65
- "@atlaskit/modal-dialog": "^12.19.0",
57
+ "@atlaskit/jql-editor": "^4.14.0",
58
+ "@atlaskit/jql-editor-autocomplete-rest": "^2.2.0",
59
+ "@atlaskit/layering": "^1.1.0",
60
+ "@atlaskit/link-client-extension": "^3.1.0",
61
+ "@atlaskit/linking-common": "^6.2.0",
62
+ "@atlaskit/linking-types": "^9.6.0",
63
+ "@atlaskit/logo": "^15.2.0",
64
+ "@atlaskit/lozenge": "^11.13.0",
65
+ "@atlaskit/modal-dialog": "^12.20.0",
66
66
  "@atlaskit/outbound-auth-flow-client": "^3.4.5",
67
67
  "@atlaskit/platform-feature-flags": "^0.3.0",
68
- "@atlaskit/popup": "^1.30.0",
69
- "@atlaskit/pragmatic-drag-and-drop": "^1.4.0",
68
+ "@atlaskit/popup": "^1.31.0",
69
+ "@atlaskit/pragmatic-drag-and-drop": "^1.5.0",
70
70
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
71
71
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-autoscroll": "^1.2.0",
72
- "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.1.0",
73
- "@atlaskit/primitives": "^13.3.0",
74
- "@atlaskit/react-select": "^1.6.0",
75
- "@atlaskit/select": "^18.9.0",
76
- "@atlaskit/smart-card": "^34.6.0",
77
- "@atlaskit/smart-user-picker": "6.11.2",
78
- "@atlaskit/spinner": "^17.0.0",
79
- "@atlaskit/tag": "^12.6.0",
80
- "@atlaskit/textfield": "6.7.2",
81
- "@atlaskit/theme": "^14.0.0",
82
- "@atlaskit/tokens": "^3.2.0",
83
- "@atlaskit/tooltip": "^19.0.0",
72
+ "@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^1.2.0",
73
+ "@atlaskit/primitives": "^13.4.0",
74
+ "@atlaskit/react-select": "^1.7.0",
75
+ "@atlaskit/select": "^18.10.0",
76
+ "@atlaskit/smart-card": "^34.8.0",
77
+ "@atlaskit/smart-user-picker": "7.0.0",
78
+ "@atlaskit/spinner": "^17.1.0",
79
+ "@atlaskit/tag": "^12.7.0",
80
+ "@atlaskit/textfield": "6.8.0",
81
+ "@atlaskit/theme": "^14.1.0",
82
+ "@atlaskit/tokens": "^3.3.0",
83
+ "@atlaskit/tooltip": "^19.1.0",
84
84
  "@atlaskit/ufo": "^0.3.0",
85
- "@atlaskit/width-detector": "^4.3.0",
85
+ "@atlaskit/width-detector": "^4.4.0",
86
86
  "@babel/runtime": "^7.0.0",
87
87
  "@emotion/react": "^11.7.1",
88
88
  "@emotion/styled": "^11.0.0",
@@ -101,14 +101,14 @@
101
101
  "devDependencies": {
102
102
  "@af/integration-testing": "*",
103
103
  "@af/visual-regression": "*",
104
- "@atlaskit/link-provider": "^1.18.0",
105
- "@atlaskit/link-test-helpers": "^7.5.0",
104
+ "@atlaskit/link-provider": "^1.19.0",
105
+ "@atlaskit/link-test-helpers": "^7.6.0",
106
106
  "@atlaskit/ssr": "*",
107
107
  "@atlaskit/visual-regression": "*",
108
- "@atlassian/feature-flags-test-utils": "^0.2.0",
108
+ "@atlassian/feature-flags-test-utils": "^0.3.0",
109
109
  "@faker-js/faker": "^7.5.0",
110
110
  "@testing-library/dom": "^10.1.0",
111
- "@testing-library/react": "^12.1.5",
111
+ "@testing-library/react": "^13.4.0",
112
112
  "@testing-library/react-hooks": "^8.0.1",
113
113
  "@testing-library/user-event": "^14.4.3",
114
114
  "@types/debounce-promise": "^3.1.2",