@atlaskit/smart-hooks 0.2.0 → 0.2.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 +6 -0
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +6 -6
- package/dist/types/i18n/da.d.ts +6 -6
- package/dist/types/i18n/de.d.ts +6 -6
- package/dist/types/i18n/en.d.ts +6 -6
- package/dist/types/i18n/en_GB.d.ts +6 -6
- package/dist/types/i18n/en_ZZ.d.ts +6 -6
- package/dist/types/i18n/es.d.ts +6 -6
- package/dist/types/i18n/et.d.ts +1 -1
- package/dist/types/i18n/fi.d.ts +6 -6
- package/dist/types/i18n/fr.d.ts +6 -6
- package/dist/types/i18n/hu.d.ts +6 -6
- package/dist/types/i18n/it.d.ts +6 -6
- package/dist/types/i18n/ja.d.ts +6 -6
- package/dist/types/i18n/ko.d.ts +6 -6
- package/dist/types/i18n/nb.d.ts +6 -6
- package/dist/types/i18n/nl.d.ts +6 -6
- package/dist/types/i18n/pl.d.ts +6 -6
- package/dist/types/i18n/pt_BR.d.ts +6 -6
- package/dist/types/i18n/pt_PT.d.ts +1 -1
- package/dist/types/i18n/ru.d.ts +6 -6
- package/dist/types/i18n/sk.d.ts +1 -1
- package/dist/types/i18n/sv.d.ts +6 -6
- package/dist/types/i18n/th.d.ts +6 -6
- package/dist/types/i18n/tr.d.ts +6 -6
- package/dist/types/i18n/uk.d.ts +6 -6
- package/dist/types/i18n/vi.d.ts +6 -6
- package/dist/types/i18n/zh.d.ts +6 -6
- package/dist/types/i18n/zh_TW.d.ts +6 -6
- package/dist/types/services/use-user-recommendations/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +10 -2
- package/report.api.md +1 -1
- package/tmp/api-report-tmp.d.ts +54 -0
package/CHANGELOG.md
CHANGED
package/dist/cjs/i18n/en_ZZ.js
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/i18n/en_ZZ.js
CHANGED
package/dist/esm/version.json
CHANGED
package/dist/types/i18n/cs.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/da.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/de.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/es.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/et.d.ts
CHANGED
package/dist/types/i18n/fi.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/fr.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/sk.d.ts
CHANGED
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
3
9
|
'smart-experiences.smart-hooks.github.provider': string;
|
|
@@ -9,10 +15,4 @@ declare const _default: {
|
|
|
9
15
|
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
10
16
|
'smart-experiences.smart-hooks.slack.provider': string;
|
|
11
17
|
};
|
|
12
|
-
/**
|
|
13
|
-
* NOTE:
|
|
14
|
-
*
|
|
15
|
-
* This file is automatically generated by Traduki 2.0.
|
|
16
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
|
-
*/
|
|
18
18
|
export default _default;
|
|
@@ -13,7 +13,7 @@ declare const useUserRecommendations: (props: UseUserRecommendationsProps) => {
|
|
|
13
13
|
entityType: EntityType;
|
|
14
14
|
avatarUrl: string;
|
|
15
15
|
}[];
|
|
16
|
-
triggerSearchFactory: import("memoize-one").MemoizedFn<() => (query?: string
|
|
16
|
+
triggerSearchFactory: import("memoize-one").MemoizedFn<() => (query?: string) => void>;
|
|
17
17
|
selectUserFactory: import("memoize-one").MemoizedFn<() => (userId: string) => void>;
|
|
18
18
|
isLoading: boolean;
|
|
19
19
|
error: any;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UserSearchProductAttributes, UserSearchQuery } from '@atlaskit/smart-common';
|
|
2
|
-
export
|
|
2
|
+
export type UseUserRecommendationsProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Base url override for downstream APIs.
|
|
5
5
|
* Note: there is a trend for browsers blocking cookies for cross-site resources.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-hooks",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -10,6 +10,14 @@
|
|
|
10
10
|
"module": "dist/esm/index.js",
|
|
11
11
|
"module:es2019": "dist/es2019/index.js",
|
|
12
12
|
"types": "dist/types/index.d.ts",
|
|
13
|
+
"typesVersions": {
|
|
14
|
+
">=4.5 <4.9": {
|
|
15
|
+
"*": [
|
|
16
|
+
"dist/types-ts4.5/*",
|
|
17
|
+
"dist/types-ts4.5/index.d.ts"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
},
|
|
13
21
|
"sideEffects": false,
|
|
14
22
|
"atlaskit:src": "src/index.ts",
|
|
15
23
|
"atlassian": {
|
|
@@ -52,7 +60,7 @@
|
|
|
52
60
|
"enzyme": "^3.10.0",
|
|
53
61
|
"fetch-mock": "^8.0.0",
|
|
54
62
|
"react-dom": "^16.8.0",
|
|
55
|
-
"typescript": "4.
|
|
63
|
+
"typescript": "~4.9.5",
|
|
56
64
|
"wait-for-expect": "^1.2.0"
|
|
57
65
|
},
|
|
58
66
|
"techstack": {
|
package/report.api.md
CHANGED
|
@@ -39,7 +39,7 @@ export const useUserRecommendations: (props: UseUserRecommendationsProps) => {
|
|
|
39
39
|
entityType: EntityType;
|
|
40
40
|
avatarUrl: string;
|
|
41
41
|
}[];
|
|
42
|
-
triggerSearchFactory: MemoizedFn<() => (query?: string
|
|
42
|
+
triggerSearchFactory: MemoizedFn<() => (query?: string) => void>;
|
|
43
43
|
selectUserFactory: MemoizedFn<() => (userId: string) => void>;
|
|
44
44
|
isLoading: boolean;
|
|
45
45
|
error: any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/smart-hooks"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { EntityType } from '@atlaskit/smart-common';
|
|
8
|
+
import { IntlShape } from 'react-intl-next';
|
|
9
|
+
import { MemoizedFn } from 'memoize-one';
|
|
10
|
+
import { OptionData } from '@atlaskit/user-picker';
|
|
11
|
+
import { UserSearchItem } from '@atlaskit/smart-common';
|
|
12
|
+
import type { UserSearchProductAttributes } from '@atlaskit/smart-common';
|
|
13
|
+
import type { UserSearchQuery } from '@atlaskit/smart-common';
|
|
14
|
+
|
|
15
|
+
// @public (undocumented)
|
|
16
|
+
export const transformRecommendationsToOptions: (recommendations: UserSearchItem[], intl: IntlShape) => OptionData[];
|
|
17
|
+
|
|
18
|
+
// @public (undocumented)
|
|
19
|
+
export const useUserRecommendations: (props: UseUserRecommendationsProps) => {
|
|
20
|
+
recommendations: UserSearchItem[] | {
|
|
21
|
+
id: string;
|
|
22
|
+
name: string;
|
|
23
|
+
entityType: EntityType;
|
|
24
|
+
avatarUrl: string;
|
|
25
|
+
}[];
|
|
26
|
+
triggerSearchFactory: MemoizedFn<() => (query?: string) => void>;
|
|
27
|
+
selectUserFactory: MemoizedFn<() => (userId: string) => void>;
|
|
28
|
+
isLoading: boolean;
|
|
29
|
+
error: any;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// @public (undocumented)
|
|
33
|
+
type UseUserRecommendationsProps = {
|
|
34
|
+
baseUrl?: string;
|
|
35
|
+
childObjectId?: string;
|
|
36
|
+
containerId?: string;
|
|
37
|
+
debounceTimeMs?: number;
|
|
38
|
+
fieldId: string;
|
|
39
|
+
includeUsers?: boolean;
|
|
40
|
+
includeGroups?: boolean;
|
|
41
|
+
includeTeams?: boolean;
|
|
42
|
+
maxNumberOfResults?: number;
|
|
43
|
+
objectId?: string;
|
|
44
|
+
preload?: boolean;
|
|
45
|
+
principalId?: string;
|
|
46
|
+
productAttributes?: UserSearchProductAttributes;
|
|
47
|
+
productKey: string;
|
|
48
|
+
cpusSearchQuery?: UserSearchQuery;
|
|
49
|
+
tenantId: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
// (No @packageDocumentation comment for this package)
|
|
53
|
+
|
|
54
|
+
```
|