@atlaskit/smart-hooks 0.1.9 → 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 +16 -0
- package/dist/cjs/i18n/cs.js +9 -9
- package/dist/cjs/i18n/da.js +9 -9
- package/dist/cjs/i18n/de.js +9 -9
- package/dist/cjs/i18n/en.js +9 -9
- package/dist/cjs/i18n/en_GB.js +9 -9
- package/dist/cjs/i18n/en_ZZ.js +1 -0
- package/dist/cjs/i18n/es.js +9 -9
- package/dist/cjs/i18n/fi.js +9 -9
- package/dist/cjs/i18n/fr.js +9 -9
- package/dist/cjs/i18n/hu.js +9 -9
- package/dist/cjs/i18n/it.js +9 -9
- package/dist/cjs/i18n/ja.js +9 -9
- package/dist/cjs/i18n/ko.js +9 -9
- package/dist/cjs/i18n/nb.js +9 -9
- package/dist/cjs/i18n/nl.js +9 -9
- package/dist/cjs/i18n/pl.js +9 -9
- package/dist/cjs/i18n/pt_BR.js +9 -9
- package/dist/cjs/i18n/ru.js +9 -9
- package/dist/cjs/i18n/sv.js +9 -9
- package/dist/cjs/i18n/th.js +9 -9
- package/dist/cjs/i18n/tr.js +9 -9
- package/dist/cjs/i18n/uk.js +9 -9
- package/dist/cjs/i18n/vi.js +9 -9
- package/dist/cjs/i18n/zh.js +9 -9
- package/dist/cjs/i18n/zh_TW.js +9 -9
- package/dist/cjs/services/use-user-recommendations/index.js +71 -74
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +9 -9
- package/dist/es2019/i18n/da.js +9 -9
- package/dist/es2019/i18n/de.js +9 -9
- package/dist/es2019/i18n/en.js +9 -9
- package/dist/es2019/i18n/en_GB.js +9 -9
- package/dist/es2019/i18n/en_ZZ.js +1 -0
- package/dist/es2019/i18n/es.js +9 -9
- package/dist/es2019/i18n/fi.js +9 -9
- package/dist/es2019/i18n/fr.js +9 -9
- package/dist/es2019/i18n/hu.js +9 -9
- package/dist/es2019/i18n/it.js +9 -9
- package/dist/es2019/i18n/ja.js +9 -9
- package/dist/es2019/i18n/ko.js +9 -9
- package/dist/es2019/i18n/nb.js +9 -9
- package/dist/es2019/i18n/nl.js +9 -9
- package/dist/es2019/i18n/pl.js +9 -9
- package/dist/es2019/i18n/pt_BR.js +9 -9
- package/dist/es2019/i18n/ru.js +9 -9
- package/dist/es2019/i18n/sv.js +9 -9
- package/dist/es2019/i18n/th.js +9 -9
- package/dist/es2019/i18n/tr.js +9 -9
- package/dist/es2019/i18n/uk.js +9 -9
- package/dist/es2019/i18n/vi.js +9 -9
- package/dist/es2019/i18n/zh.js +9 -9
- package/dist/es2019/i18n/zh_TW.js +9 -9
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +9 -9
- package/dist/esm/i18n/da.js +9 -9
- package/dist/esm/i18n/de.js +9 -9
- package/dist/esm/i18n/en.js +9 -9
- package/dist/esm/i18n/en_GB.js +9 -9
- package/dist/esm/i18n/en_ZZ.js +1 -0
- package/dist/esm/i18n/es.js +9 -9
- package/dist/esm/i18n/fi.js +9 -9
- package/dist/esm/i18n/fr.js +9 -9
- package/dist/esm/i18n/hu.js +9 -9
- package/dist/esm/i18n/it.js +9 -9
- package/dist/esm/i18n/ja.js +9 -9
- package/dist/esm/i18n/ko.js +9 -9
- package/dist/esm/i18n/nb.js +9 -9
- package/dist/esm/i18n/nl.js +9 -9
- package/dist/esm/i18n/pl.js +9 -9
- package/dist/esm/i18n/pt_BR.js +9 -9
- package/dist/esm/i18n/ru.js +9 -9
- package/dist/esm/i18n/sv.js +9 -9
- package/dist/esm/i18n/th.js +9 -9
- package/dist/esm/i18n/tr.js +9 -9
- package/dist/esm/i18n/uk.js +9 -9
- package/dist/esm/i18n/vi.js +9 -9
- package/dist/esm/i18n/zh.js +9 -9
- package/dist/esm/i18n/zh_TW.js +9 -9
- package/dist/esm/services/use-user-recommendations/index.js +71 -74
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/cs.d.ts +11 -11
- package/dist/types/i18n/da.d.ts +11 -11
- package/dist/types/i18n/de.d.ts +11 -11
- package/dist/types/i18n/en.d.ts +11 -11
- package/dist/types/i18n/en_GB.d.ts +11 -11
- package/dist/types/i18n/en_ZZ.d.ts +6 -6
- package/dist/types/i18n/es.d.ts +11 -11
- package/dist/types/i18n/et.d.ts +1 -1
- package/dist/types/i18n/fi.d.ts +11 -11
- package/dist/types/i18n/fr.d.ts +11 -11
- package/dist/types/i18n/hu.d.ts +11 -11
- package/dist/types/i18n/it.d.ts +11 -11
- package/dist/types/i18n/ja.d.ts +11 -11
- package/dist/types/i18n/ko.d.ts +11 -11
- package/dist/types/i18n/nb.d.ts +11 -11
- package/dist/types/i18n/nl.d.ts +11 -11
- package/dist/types/i18n/pl.d.ts +11 -11
- package/dist/types/i18n/pt_BR.d.ts +11 -11
- package/dist/types/i18n/pt_PT.d.ts +1 -1
- package/dist/types/i18n/ru.d.ts +11 -11
- package/dist/types/i18n/sk.d.ts +1 -1
- package/dist/types/i18n/sv.d.ts +11 -11
- package/dist/types/i18n/th.d.ts +11 -11
- package/dist/types/i18n/tr.d.ts +11 -11
- package/dist/types/i18n/uk.d.ts +11 -11
- package/dist/types/i18n/vi.d.ts +11 -11
- package/dist/types/i18n/zh.d.ts +11 -11
- package/dist/types/i18n/zh_TW.d.ts +11 -11
- package/dist/types/services/use-user-recommendations/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +22 -14
- package/report.api.md +1 -1
- package/tmp/api-report-tmp.d.ts +1 -1
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/sk.d.ts
CHANGED
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
17
|
+
};
|
|
18
18
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"smart-experiences.smart-hooks.external.sourced.from": string;
|
|
3
|
-
"smart-experiences.smart-hooks.github.provider": string;
|
|
4
|
-
"smart-experiences.smart-hooks.google.provider": string;
|
|
5
|
-
"smart-experiences.smart-hooks.guest.lozenge.text": string;
|
|
6
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.group": string;
|
|
7
|
-
"smart-experiences.smart-hooks.guest.lozenge.tooltip.user": string;
|
|
8
|
-
"smart-experiences.smart-hooks.member.lozenge.text": string;
|
|
9
|
-
"smart-experiences.smart-hooks.microsoft.provider": string;
|
|
10
|
-
"smart-experiences.smart-hooks.slack.provider": string;
|
|
11
|
-
};
|
|
12
1
|
/**
|
|
13
2
|
* NOTE:
|
|
14
3
|
*
|
|
15
4
|
* This file is automatically generated by Traduki 2.0.
|
|
16
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
17
6
|
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'smart-experiences.smart-hooks.external.sourced.from': string;
|
|
9
|
+
'smart-experiences.smart-hooks.github.provider': string;
|
|
10
|
+
'smart-experiences.smart-hooks.google.provider': string;
|
|
11
|
+
'smart-experiences.smart-hooks.guest.lozenge.text': string;
|
|
12
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': string;
|
|
13
|
+
'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': string;
|
|
14
|
+
'smart-experiences.smart-hooks.member.lozenge.text': string;
|
|
15
|
+
'smart-experiences.smart-hooks.microsoft.provider': string;
|
|
16
|
+
'smart-experiences.smart-hooks.slack.provider': string;
|
|
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.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -10,20 +10,28 @@
|
|
|
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": {
|
|
16
|
-
"team": "Search
|
|
24
|
+
"team": "Search Platform: Search Experience",
|
|
17
25
|
"inPublicMirror": false,
|
|
18
26
|
"releaseModel": "continuous"
|
|
19
27
|
},
|
|
20
28
|
"dependencies": {
|
|
21
|
-
"@atlaskit/analytics-gas-types": "^5.0
|
|
22
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
23
|
-
"@atlaskit/analytics-next": "^9.
|
|
24
|
-
"@atlaskit/smart-common": "^0.
|
|
25
|
-
"@atlaskit/ufo": "^0.
|
|
26
|
-
"@atlaskit/user-picker": "^10.
|
|
29
|
+
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
30
|
+
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
31
|
+
"@atlaskit/analytics-next": "^9.1.0",
|
|
32
|
+
"@atlaskit/smart-common": "^0.2.0",
|
|
33
|
+
"@atlaskit/ufo": "^0.2.0",
|
|
34
|
+
"@atlaskit/user-picker": "^10.2.0",
|
|
27
35
|
"@babel/runtime": "^7.0.0",
|
|
28
36
|
"lodash": "^4.17.21",
|
|
29
37
|
"memoize-one": "^6.0.0",
|
|
@@ -34,17 +42,17 @@
|
|
|
34
42
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
35
43
|
},
|
|
36
44
|
"devDependencies": {
|
|
37
|
-
"@atlaskit/analytics-viewer": "^0.
|
|
38
|
-
"@atlaskit/button": "^16.
|
|
45
|
+
"@atlaskit/analytics-viewer": "^0.5.0",
|
|
46
|
+
"@atlaskit/button": "^16.7.0",
|
|
39
47
|
"@atlaskit/docs": "*",
|
|
40
48
|
"@atlaskit/smart-hooks": "*",
|
|
41
49
|
"@atlaskit/ssr": "*",
|
|
42
|
-
"@atlaskit/textfield": "^5.
|
|
50
|
+
"@atlaskit/textfield": "^5.4.0",
|
|
43
51
|
"@atlaskit/visual-regression": "*",
|
|
44
52
|
"@atlaskit/webdriver-runner": "*",
|
|
45
53
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
46
|
-
"@atlassian/ufo": "^0.
|
|
47
|
-
"@atlassiansox/analytics-web-client": "^4.
|
|
54
|
+
"@atlassian/ufo": "^0.2.0",
|
|
55
|
+
"@atlassiansox/analytics-web-client": "^4.13.0",
|
|
48
56
|
"@storybook/addon-knobs": "^5.3.18",
|
|
49
57
|
"@testing-library/react": "^12.1.5",
|
|
50
58
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -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;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export const useUserRecommendations: (props: UseUserRecommendationsProps) => {
|
|
|
23
23
|
entityType: EntityType;
|
|
24
24
|
avatarUrl: string;
|
|
25
25
|
}[];
|
|
26
|
-
triggerSearchFactory: MemoizedFn<() => (query?: string
|
|
26
|
+
triggerSearchFactory: MemoizedFn<() => (query?: string) => void>;
|
|
27
27
|
selectUserFactory: MemoizedFn<() => (userId: string) => void>;
|
|
28
28
|
isLoading: boolean;
|
|
29
29
|
error: any;
|