@atlaskit/link-client-extension 7.0.2 → 7.1.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 +27 -1
- package/compass.yml +38 -0
- package/dist/es2019/entry-points/data-source-client-extension-mocks.js +19 -0
- package/dist/es2019/index.js +29 -1
- package/dist/esm/entry-points/data-source-client-extension-mocks.js +19 -0
- package/dist/esm/index.js +29 -1
- package/dist/types/entry-points/data-source-client-extension-mocks.d.ts +18 -0
- package/dist/types/index.d.ts +27 -0
- package/link-client-extension.docs.tsx +1 -3
- package/package.json +6 -6
- package/use-data-source-client-extension/package.json +4 -4
- package/use-data-source-client-extension/types/package.json +4 -4
- package/use-smart-link-client-extension/package.json +4 -4
- package/dist/cjs/entry-points/data-source-response-types.js +0 -1
- package/dist/cjs/entry-points/use-data-source-client-extension.js +0 -18
- package/dist/cjs/entry-points/use-smart-link-client-extension.js +0 -12
- package/dist/es2019/entry-points/data-source-response-types.js +0 -0
- package/dist/es2019/entry-points/use-data-source-client-extension.js +0 -1
- package/dist/es2019/entry-points/use-smart-link-client-extension.js +0 -1
- package/dist/esm/entry-points/data-source-response-types.js +0 -0
- package/dist/esm/entry-points/use-data-source-client-extension.js +0 -1
- package/dist/esm/entry-points/use-smart-link-client-extension.js +0 -1
- package/dist/types/entry-points/data-source-response-types.d.ts +0 -1
- package/dist/types/entry-points/use-data-source-client-extension.d.ts +0 -1
- package/dist/types/entry-points/use-smart-link-client-extension.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/link-client-extension
|
|
2
2
|
|
|
3
|
+
## 7.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14512884be38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14512884be38) -
|
|
8
|
+
VOLTC-101 - run volt-migrate-package on @atlaskit/link-client-extension
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
|
|
16
|
+
Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
|
|
17
|
+
reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
|
|
18
|
+
|
|
19
|
+
The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
|
|
20
|
+
bumped the renamed package itself, so dependent packages were never republished and their
|
|
21
|
+
published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
|
|
22
|
+
available in the public npm registry. This minor bump republishes all affected packages with the
|
|
23
|
+
corrected dependency.
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 7.0.2
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -11,7 +37,7 @@
|
|
|
11
37
|
### Patch Changes
|
|
12
38
|
|
|
13
39
|
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
14
|
-
Add @
|
|
40
|
+
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
15
41
|
gating.
|
|
16
42
|
- Updated dependencies
|
|
17
43
|
|
package/compass.yml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
configVersion: 1
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/d73d78d0-7881-40ba-a725-b85820bc5e52
|
|
3
|
+
name: '@atlaskit/link-client-extension'
|
|
4
|
+
ownerId: ari:cloud:identity::team/0e6dedf8-18d1-4531-b4b9-07648a425d47 # Eng - Navigation Experiences (Darko Zoroja)
|
|
5
|
+
labels:
|
|
6
|
+
- platform-code
|
|
7
|
+
- platform-afm
|
|
8
|
+
typeId: OTHER
|
|
9
|
+
fields:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
links:
|
|
14
|
+
- name: Root Repository
|
|
15
|
+
type: REPOSITORY
|
|
16
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
|
+
- name: Slack Channel
|
|
18
|
+
type: CHAT_CHANNEL
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/CFKGAQZRV # #help-fe-linking-platform
|
|
20
|
+
- name: Link Client Extension
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/linking-platform/link-client-extension
|
|
23
|
+
customFields:
|
|
24
|
+
- name: Department
|
|
25
|
+
type: text
|
|
26
|
+
value: Eng - Navigation Experiences
|
|
27
|
+
- name: Technical Owner
|
|
28
|
+
type: user
|
|
29
|
+
value: ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd # Darko Zoroja
|
|
30
|
+
- name: Required Reviewers Opt In
|
|
31
|
+
type: boolean
|
|
32
|
+
value: true
|
|
33
|
+
- name: Reviewer Selection Mechanism
|
|
34
|
+
type: text
|
|
35
|
+
value: random(2)
|
|
36
|
+
- name: Required Reviewer Approvals
|
|
37
|
+
type: number
|
|
38
|
+
value: 1
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
4
|
+
*/
|
|
1
5
|
export { mockActionsDiscoveryEmptyResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
8
|
+
*/
|
|
2
9
|
export { mockActionsDiscoveryResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
12
|
+
*/
|
|
3
13
|
export { mockDatasourceDataNoActionsResponse } from '../services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
16
|
+
*/
|
|
4
17
|
export { mockDatasourceDataResponse } from '../services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
20
|
+
*/
|
|
5
21
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse } from '../services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
24
|
+
*/
|
|
6
25
|
export { mockDatasourceDataResponseWithSchema } from '../services/use-data-source-client-extension/mocks';
|
package/dist/es2019/index.js
CHANGED
|
@@ -1,12 +1,40 @@
|
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
1
2
|
/** @deprecated use @atlaskit/link-client-extension/use-smart-link-client-extension */
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension/use-smart-link-client-extension'` instead.
|
|
5
|
+
*/
|
|
2
6
|
export { useSmartLinkClientExtension } from './services/use-smart-link-client-extension';
|
|
3
7
|
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension */
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `import { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '@atlaskit/link-client-extension/use-data-source-client-extension'` instead.
|
|
10
|
+
*/
|
|
4
11
|
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from './services/use-data-source-client-extension';
|
|
5
12
|
/** @deprecated use @atlaskit/link-client-extension/data-source-client-extension/mocks */
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
15
|
+
*/
|
|
6
16
|
export { mockActionsDiscoveryEmptyResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
19
|
+
*/
|
|
7
20
|
export { mockActionsDiscoveryResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
23
|
+
*/
|
|
8
24
|
export { mockDatasourceDataNoActionsResponse } from './services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
27
|
+
*/
|
|
9
28
|
export { mockDatasourceDataResponse } from './services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
31
|
+
*/
|
|
10
32
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse } from './services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
35
|
+
*/
|
|
11
36
|
export { mockDatasourceDataResponseWithSchema } from './services/use-data-source-client-extension/mocks';
|
|
12
|
-
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension/types */
|
|
37
|
+
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension/types */
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use `import type { JsonLdDatasourceResponse, DatasourceResolveResponse } from '@atlaskit/link-client-extension/use-data-source-client-extension/types'` instead.
|
|
40
|
+
*/
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
4
|
+
*/
|
|
1
5
|
export { mockActionsDiscoveryEmptyResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
8
|
+
*/
|
|
2
9
|
export { mockActionsDiscoveryResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
12
|
+
*/
|
|
3
13
|
export { mockDatasourceDataNoActionsResponse } from '../services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
16
|
+
*/
|
|
4
17
|
export { mockDatasourceDataResponse } from '../services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
20
|
+
*/
|
|
5
21
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse } from '../services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
24
|
+
*/
|
|
6
25
|
export { mockDatasourceDataResponseWithSchema } from '../services/use-data-source-client-extension/mocks';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,12 +1,40 @@
|
|
|
1
|
+
/* eslint-disable @repo/internal/deprecations/deprecation-ticket-required -- VOLTC-139 tracks removal of these deprecated re-export shims. */
|
|
1
2
|
/** @deprecated use @atlaskit/link-client-extension/use-smart-link-client-extension */
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use `import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension/use-smart-link-client-extension'` instead.
|
|
5
|
+
*/
|
|
2
6
|
export { useSmartLinkClientExtension } from './services/use-smart-link-client-extension';
|
|
3
7
|
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension */
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use `import { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '@atlaskit/link-client-extension/use-data-source-client-extension'` instead.
|
|
10
|
+
*/
|
|
4
11
|
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from './services/use-data-source-client-extension';
|
|
5
12
|
/** @deprecated use @atlaskit/link-client-extension/data-source-client-extension/mocks */
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
15
|
+
*/
|
|
6
16
|
export { mockActionsDiscoveryEmptyResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
19
|
+
*/
|
|
7
20
|
export { mockActionsDiscoveryResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
23
|
+
*/
|
|
8
24
|
export { mockDatasourceDataNoActionsResponse } from './services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
27
|
+
*/
|
|
9
28
|
export { mockDatasourceDataResponse } from './services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
29
|
+
/**
|
|
30
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
31
|
+
*/
|
|
10
32
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse } from './services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
35
|
+
*/
|
|
11
36
|
export { mockDatasourceDataResponseWithSchema } from './services/use-data-source-client-extension/mocks';
|
|
12
|
-
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension/types */
|
|
37
|
+
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension/types */
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use `import type { JsonLdDatasourceResponse, DatasourceResolveResponse } from '@atlaskit/link-client-extension/use-data-source-client-extension/types'` instead.
|
|
40
|
+
*/
|
|
@@ -1,6 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
3
|
+
*/
|
|
1
4
|
export { mockActionsDiscoveryEmptyResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
7
|
+
*/
|
|
2
8
|
export { mockActionsDiscoveryResponse } from '../services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
11
|
+
*/
|
|
3
12
|
export { mockDatasourceDataNoActionsResponse } from '../services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
15
|
+
*/
|
|
4
16
|
export { mockDatasourceDataResponse } from '../services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
19
|
+
*/
|
|
5
20
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse, } from '../services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
21
|
+
/**
|
|
22
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
23
|
+
*/
|
|
6
24
|
export { mockDatasourceDataResponseWithSchema } from '../services/use-data-source-client-extension/mocks';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,13 +1,40 @@
|
|
|
1
1
|
/** @deprecated use @atlaskit/link-client-extension/use-smart-link-client-extension */
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `import { useSmartLinkClientExtension } from '@atlaskit/link-client-extension/use-smart-link-client-extension'` instead.
|
|
4
|
+
*/
|
|
2
5
|
export { useSmartLinkClientExtension } from './services/use-smart-link-client-extension';
|
|
3
6
|
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension */
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated Use `import { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '@atlaskit/link-client-extension/use-data-source-client-extension'` instead.
|
|
9
|
+
*/
|
|
4
10
|
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension, } from './services/use-data-source-client-extension';
|
|
5
11
|
/** @deprecated use @atlaskit/link-client-extension/data-source-client-extension/mocks */
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Use `import { mockActionsDiscoveryEmptyResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse'` instead.
|
|
14
|
+
*/
|
|
6
15
|
export { mockActionsDiscoveryEmptyResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryEmptyResponse';
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use `import { mockActionsDiscoveryResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockActionsDiscoveryResponse'` instead.
|
|
18
|
+
*/
|
|
7
19
|
export { mockActionsDiscoveryResponse } from './services/use-data-source-client-extension/mockActionsDiscoveryResponse';
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use `import { mockDatasourceDataNoActionsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse'` instead.
|
|
22
|
+
*/
|
|
8
23
|
export { mockDatasourceDataNoActionsResponse } from './services/use-data-source-client-extension/mockDatasourceDataNoActionsResponse';
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use `import { mockDatasourceDataResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDataResponse'` instead.
|
|
26
|
+
*/
|
|
9
27
|
export { mockDatasourceDataResponse } from './services/use-data-source-client-extension/mockDatasourceDataResponse';
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Use `import { mockDatasourceResponse, mockDatasourceDetailsResponse } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mockDatasourceDetailsResponse'` instead.
|
|
30
|
+
*/
|
|
10
31
|
export { mockDatasourceDetailsResponse as mockDatasourceResponse, mockDatasourceDetailsResponse, } from './services/use-data-source-client-extension/mockDatasourceDetailsResponse';
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Use `import { mockDatasourceDataResponseWithSchema } from '@atlaskit/link-client-extension/src/services/use-data-source-client-extension/mocks'` instead.
|
|
34
|
+
*/
|
|
11
35
|
export { mockDatasourceDataResponseWithSchema } from './services/use-data-source-client-extension/mocks';
|
|
12
36
|
/** @deprecated use @atlaskit/link-client-extension/use-data-source-client-extension/types */
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated Use `import type { JsonLdDatasourceResponse, DatasourceResolveResponse } from '@atlaskit/link-client-extension/use-data-source-client-extension/types'` instead.
|
|
39
|
+
*/
|
|
13
40
|
export type { JsonLdDatasourceResponse, DatasourceResolveResponse, } from './services/use-data-source-client-extension/types';
|
|
@@ -12,7 +12,7 @@ import packageJson from './package.json';
|
|
|
12
12
|
const packagePath = path.resolve(__dirname);
|
|
13
13
|
|
|
14
14
|
const documentation: StructuredContentSource = {
|
|
15
|
-
|
|
15
|
+
hooks: [
|
|
16
16
|
{
|
|
17
17
|
name: 'useSmartLinkClientExtension',
|
|
18
18
|
description:
|
|
@@ -28,7 +28,6 @@ const documentation: StructuredContentSource = {
|
|
|
28
28
|
usageGuidelines: [
|
|
29
29
|
'Use when you need to invoke Smart Link actions (POST to resolver /invoke) from custom UI. Pass the client from useSmartLinkContext; use the returned invoke for action execution.',
|
|
30
30
|
],
|
|
31
|
-
contentGuidelines: [],
|
|
32
31
|
accessibilityGuidelines: [],
|
|
33
32
|
keywords: [
|
|
34
33
|
'link-client-extension',
|
|
@@ -55,7 +54,6 @@ const documentation: StructuredContentSource = {
|
|
|
55
54
|
usageGuidelines: [
|
|
56
55
|
'Use when building UI that loads or displays datasource data (e.g. list of links from Jira, Confluence, Assets). Must be used inside SmartCardProvider. Use getDatasourceDetails, getDatasourceData, and getActionsDiscovery as needed.',
|
|
57
56
|
],
|
|
58
|
-
contentGuidelines: [],
|
|
59
57
|
accessibilityGuidelines: [],
|
|
60
58
|
keywords: ['link-client-extension', 'hooks', 'datasource', 'useDatasourceClientExtension'],
|
|
61
59
|
categories: ['linking', 'data-display'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"description": "Extension methods for linking platform client",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"react-compiler": {
|
|
12
12
|
"enabled": true,
|
|
13
13
|
"gating": {
|
|
14
|
-
"source": "@
|
|
14
|
+
"source": "@atlaskit/react-compiler-gating",
|
|
15
15
|
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"@atlaskit/json-ld-types": "^2.0.0",
|
|
32
32
|
"@atlaskit/linking-common": "^11.0.0",
|
|
33
33
|
"@atlaskit/linking-types": "^15.0.0",
|
|
34
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
35
|
-
"@
|
|
34
|
+
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
35
|
+
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"lru_map": "^0.4.1"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@atlaskit/link-provider": "^5.
|
|
40
|
+
"@atlaskit/link-provider": "^5.3.0",
|
|
41
41
|
"react": "^18.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@atlaskit/link-test-helpers": "^11.0.0",
|
|
45
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
45
|
+
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
46
46
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
47
47
|
"@testing-library/react": "^16.3.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension/use-data-source-client-extension",
|
|
3
|
-
"main": "../dist/cjs/
|
|
4
|
-
"module": "../dist/esm/
|
|
5
|
-
"module:es2019": "../dist/es2019/
|
|
3
|
+
"main": "../dist/cjs/services/use-data-source-client-extension/index.js",
|
|
4
|
+
"module": "../dist/esm/services/use-data-source-client-extension/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/services/use-data-source-client-extension/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/
|
|
7
|
+
"types": "../dist/types/services/use-data-source-client-extension/index.d.ts"
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension/use-data-source-client-extension/types",
|
|
3
|
-
"main": "../../dist/cjs/
|
|
4
|
-
"module": "../../dist/esm/
|
|
5
|
-
"module:es2019": "../../dist/es2019/
|
|
3
|
+
"main": "../../dist/cjs/services/use-data-source-client-extension/types.js",
|
|
4
|
+
"module": "../../dist/esm/services/use-data-source-client-extension/types.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/services/use-data-source-client-extension/types.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../../dist/types/
|
|
7
|
+
"types": "../../dist/types/services/use-data-source-client-extension/types.d.ts"
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-client-extension/use-smart-link-client-extension",
|
|
3
|
-
"main": "../dist/cjs/
|
|
4
|
-
"module": "../dist/esm/
|
|
5
|
-
"module:es2019": "../dist/es2019/
|
|
3
|
+
"main": "../dist/cjs/services/use-smart-link-client-extension/index.js",
|
|
4
|
+
"module": "../dist/esm/services/use-smart-link-client-extension/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/services/use-smart-link-client-extension/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
7
|
-
"types": "../dist/types/
|
|
7
|
+
"types": "../dist/types/services/use-smart-link-client-extension/index.d.ts"
|
|
8
8
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _useDataSourceClientExtension.DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "useDatasourceClientExtension", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function get() {
|
|
15
|
-
return _useDataSourceClientExtension.useDatasourceClientExtension;
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
var _useDataSourceClientExtension = require("../services/use-data-source-client-extension");
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "useSmartLinkClientExtension", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function get() {
|
|
9
|
-
return _useSmartLinkClientExtension.useSmartLinkClientExtension;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _useSmartLinkClientExtension = require("../services/use-smart-link-client-extension");
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '../services/use-data-source-client-extension';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useSmartLinkClientExtension } from '../services/use-smart-link-client-extension';
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension } from '../services/use-data-source-client-extension';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useSmartLinkClientExtension } from '../services/use-smart-link-client-extension';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { JsonLdDatasourceResponse, DatasourceResolveResponse, } from '../services/use-data-source-client-extension/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DEFAULT_GET_DATASOURCE_DATA_PAGE_SIZE, useDatasourceClientExtension, } from '../services/use-data-source-client-extension';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useSmartLinkClientExtension } from '../services/use-smart-link-client-extension';
|