@atlaskit/smart-hooks 0.1.8 → 0.2.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.
Files changed (108) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/i18n/cs.js +3 -2
  3. package/dist/cjs/i18n/da.js +3 -2
  4. package/dist/cjs/i18n/de.js +4 -3
  5. package/dist/cjs/i18n/en.js +17 -5
  6. package/dist/cjs/i18n/en_GB.js +17 -5
  7. package/dist/cjs/i18n/en_ZZ.js +11 -11
  8. package/dist/cjs/i18n/es.js +3 -2
  9. package/dist/cjs/i18n/fi.js +3 -2
  10. package/dist/cjs/i18n/fr.js +3 -2
  11. package/dist/cjs/i18n/hu.js +3 -2
  12. package/dist/cjs/i18n/it.js +4 -3
  13. package/dist/cjs/i18n/ja.js +5 -4
  14. package/dist/cjs/i18n/ko.js +3 -2
  15. package/dist/cjs/i18n/nb.js +3 -2
  16. package/dist/cjs/i18n/nl.js +3 -2
  17. package/dist/cjs/i18n/pl.js +3 -2
  18. package/dist/cjs/i18n/pt_BR.js +3 -2
  19. package/dist/cjs/i18n/ru.js +3 -2
  20. package/dist/cjs/i18n/sv.js +3 -2
  21. package/dist/cjs/i18n/th.js +3 -2
  22. package/dist/cjs/i18n/tr.js +3 -2
  23. package/dist/cjs/i18n/uk.js +3 -2
  24. package/dist/cjs/i18n/vi.js +3 -2
  25. package/dist/cjs/i18n/zh.js +3 -2
  26. package/dist/cjs/i18n/zh_TW.js +3 -2
  27. package/dist/cjs/services/use-user-recommendations/index.js +68 -70
  28. package/dist/cjs/version.json +1 -1
  29. package/dist/es2019/i18n/cs.js +3 -2
  30. package/dist/es2019/i18n/da.js +3 -2
  31. package/dist/es2019/i18n/de.js +4 -3
  32. package/dist/es2019/i18n/en.js +17 -5
  33. package/dist/es2019/i18n/en_GB.js +17 -5
  34. package/dist/es2019/i18n/en_ZZ.js +11 -11
  35. package/dist/es2019/i18n/es.js +3 -2
  36. package/dist/es2019/i18n/fi.js +3 -2
  37. package/dist/es2019/i18n/fr.js +3 -2
  38. package/dist/es2019/i18n/hu.js +3 -2
  39. package/dist/es2019/i18n/it.js +4 -3
  40. package/dist/es2019/i18n/ja.js +5 -4
  41. package/dist/es2019/i18n/ko.js +3 -2
  42. package/dist/es2019/i18n/nb.js +3 -2
  43. package/dist/es2019/i18n/nl.js +3 -2
  44. package/dist/es2019/i18n/pl.js +3 -2
  45. package/dist/es2019/i18n/pt_BR.js +3 -2
  46. package/dist/es2019/i18n/ru.js +3 -2
  47. package/dist/es2019/i18n/sv.js +3 -2
  48. package/dist/es2019/i18n/th.js +3 -2
  49. package/dist/es2019/i18n/tr.js +3 -2
  50. package/dist/es2019/i18n/uk.js +3 -2
  51. package/dist/es2019/i18n/vi.js +3 -2
  52. package/dist/es2019/i18n/zh.js +3 -2
  53. package/dist/es2019/i18n/zh_TW.js +3 -2
  54. package/dist/es2019/version.json +1 -1
  55. package/dist/esm/i18n/cs.js +3 -2
  56. package/dist/esm/i18n/da.js +3 -2
  57. package/dist/esm/i18n/de.js +4 -3
  58. package/dist/esm/i18n/en.js +17 -5
  59. package/dist/esm/i18n/en_GB.js +17 -5
  60. package/dist/esm/i18n/en_ZZ.js +11 -11
  61. package/dist/esm/i18n/es.js +3 -2
  62. package/dist/esm/i18n/fi.js +3 -2
  63. package/dist/esm/i18n/fr.js +3 -2
  64. package/dist/esm/i18n/hu.js +3 -2
  65. package/dist/esm/i18n/it.js +4 -3
  66. package/dist/esm/i18n/ja.js +5 -4
  67. package/dist/esm/i18n/ko.js +3 -2
  68. package/dist/esm/i18n/nb.js +3 -2
  69. package/dist/esm/i18n/nl.js +3 -2
  70. package/dist/esm/i18n/pl.js +3 -2
  71. package/dist/esm/i18n/pt_BR.js +3 -2
  72. package/dist/esm/i18n/ru.js +3 -2
  73. package/dist/esm/i18n/sv.js +3 -2
  74. package/dist/esm/i18n/th.js +3 -2
  75. package/dist/esm/i18n/tr.js +3 -2
  76. package/dist/esm/i18n/uk.js +3 -2
  77. package/dist/esm/i18n/vi.js +3 -2
  78. package/dist/esm/i18n/zh.js +3 -2
  79. package/dist/esm/i18n/zh_TW.js +3 -2
  80. package/dist/esm/services/use-user-recommendations/index.js +68 -70
  81. package/dist/esm/version.json +1 -1
  82. package/dist/types/i18n/cs.d.ts +1 -1
  83. package/dist/types/i18n/da.d.ts +1 -1
  84. package/dist/types/i18n/de.d.ts +1 -1
  85. package/dist/types/i18n/en.d.ts +15 -4
  86. package/dist/types/i18n/en_GB.d.ts +15 -4
  87. package/dist/types/i18n/en_ZZ.d.ts +1 -1
  88. package/dist/types/i18n/es.d.ts +1 -1
  89. package/dist/types/i18n/fi.d.ts +1 -1
  90. package/dist/types/i18n/fr.d.ts +1 -1
  91. package/dist/types/i18n/hu.d.ts +1 -1
  92. package/dist/types/i18n/it.d.ts +1 -1
  93. package/dist/types/i18n/ja.d.ts +1 -1
  94. package/dist/types/i18n/ko.d.ts +1 -1
  95. package/dist/types/i18n/nb.d.ts +1 -1
  96. package/dist/types/i18n/nl.d.ts +1 -1
  97. package/dist/types/i18n/pl.d.ts +1 -1
  98. package/dist/types/i18n/pt_BR.d.ts +1 -1
  99. package/dist/types/i18n/ru.d.ts +1 -1
  100. package/dist/types/i18n/sv.d.ts +1 -1
  101. package/dist/types/i18n/th.d.ts +1 -1
  102. package/dist/types/i18n/tr.d.ts +1 -1
  103. package/dist/types/i18n/uk.d.ts +1 -1
  104. package/dist/types/i18n/vi.d.ts +1 -1
  105. package/dist/types/i18n/zh.d.ts +1 -1
  106. package/dist/types/i18n/zh_TW.d.ts +1 -1
  107. package/package.json +13 -13
  108. package/tmp/api-report-tmp.d.ts +0 -54
@@ -1,15 +1,16 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // German
8
+ //German (Germany)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Gefunden in:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
12
  'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'GAST',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'Gast',
13
14
  'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gästegruppen können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
14
15
  'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gäste können ausschließlich auf ausgewählte Bereiche zugreifen und verfügen über eingeschränkten Zugriff auf Benutzerinformationen.',
15
16
  'smart-experiences.smart-hooks.member.lozenge.text': 'Mitglied',
@@ -1,7 +1,19 @@
1
- // English
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //
2
9
  export default {
3
- 'smart-experiences.smart-hooks.placeholder': 'Find a person...',
4
- 'smart-experiences.smart-hooks.placeholder.add-more': 'add more people...',
5
- 'smart-experiences.smart-hooks.multi.remove-item': 'Remove',
6
- 'smart-experiences.smart-hooks.single.clear': 'Clear'
10
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Found in:',
11
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
12
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'GUEST',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
15
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
16
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBER',
17
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
18
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
7
19
  };
@@ -1,7 +1,19 @@
1
- // English (United Kingdom)
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //English (United Kingdom)
2
9
  export default {
3
- 'smart-experiences.smart-hooks.placeholder': 'Find a person...',
4
- 'smart-experiences.smart-hooks.placeholder.add-more': 'add more people...',
5
- 'smart-experiences.smart-hooks.multi.remove-item': 'Remove',
6
- 'smart-experiences.smart-hooks.single.clear': 'Clear'
10
+ 'smart-experiences.smart-hooks.external.sourced.from': 'Found in:',
11
+ 'smart-experiences.smart-hooks.github.provider': 'GitHub',
12
+ 'smart-experiences.smart-hooks.google.provider': 'Google',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'GUEST',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Guest groups can only access certain spaces and have limited access to user info.',
15
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Guests can only access certain spaces and have limited access to user info.',
16
+ 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBER',
17
+ 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
18
+ 'smart-experiences.smart-hooks.slack.provider': 'Slack'
7
19
  };
@@ -1,18 +1,18 @@
1
1
  /**
2
2
  * NOTE:
3
3
  *
4
- * This file is automatically generated by i18n-tools.
4
+ * This file is automatically generated by Traduki 2.0.
5
5
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
6
  */
7
- // English (Instrumented)
7
+ //
8
8
  export default {
9
- 'smart-experiences.smart-hooks.external.sourced.from': '⁣⁢Found in:؜‍⁠⁠‌؜‍⁠؜‍⁣⁤',
10
- 'smart-experiences.smart-hooks.github.provider': '⁣⁢GitHub⁠؜⁠‍⁠؜⁡؜‌⁣⁤',
11
- 'smart-experiences.smart-hooks.google.provider': '⁣⁢Google‍‌‍‌⁠؜‍⁡‌‌‌⁠⁡‍⁣⁤',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': '⁣⁢GUEST⁡؜⁠⁡‍‍‍⁣⁤',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '⁣⁢Guest groups can only access certain spaces and have limited access to user info.⁠‍⁡‍⁡؜⁡⁠⁠⁠⁣⁤',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '⁣⁢Guests can only access certain spaces and have limited access to user info.‌؜⁠‌⁠‍‌‌‌؜⁡⁣⁤',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': '⁣⁢MEMBER‍‍⁡‍‍⁣⁤',
16
- 'smart-experiences.smart-hooks.microsoft.provider': '⁣⁢Microsoft‍⁡؜‌؜‍⁡⁠⁡⁠⁠⁠‍‍⁡⁣⁤',
17
- 'smart-experiences.smart-hooks.slack.provider': '⁣⁢Slack‍‍⁠‌؜⁠⁠⁡؜⁠‍⁡⁣⁤'
9
+ 'smart-experiences.smart-hooks.external.sourced.from': '⁣⁢Found in:⁠⁡⁠⁠؜‌‍⁡؜‌⁠⁣⁤',
10
+ 'smart-experiences.smart-hooks.github.provider': '⁣⁢GitHub⁠‍‍⁡⁡‌‌‌‌؜⁣⁤',
11
+ 'smart-experiences.smart-hooks.google.provider': '⁣⁢Google⁡‌⁠⁠‌؜‌‍؜⁣⁤',
12
+ 'smart-experiences.smart-hooks.guest.lozenge.text': '⁣⁢GUEST‍⁠‌⁡؜؜‍⁠؜‍⁡⁣⁤',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': '⁣⁢Guest groups can only access certain spaces and have limited access to user info.‍‌⁡؜‌‍؜‌⁣⁤',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': '⁣⁢Guests can only access certain spaces and have limited access to user info.؜⁠‍⁠⁣⁤',
15
+ 'smart-experiences.smart-hooks.member.lozenge.text': '⁣⁢MEMBER‌⁠‌‍‌⁡⁠⁠⁡⁠⁣⁤',
16
+ 'smart-experiences.smart-hooks.microsoft.provider': '⁣⁢Microsoft؜؜⁠‌‍‌‌⁡‍‍‍⁣⁤',
17
+ 'smart-experiences.smart-hooks.slack.provider': '⁣⁢Slack؜‌⁡⁠؜‌⁣⁤'
18
18
  };
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Spanish
8
+ //Spanish (International)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado en:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Finnish
8
+ //Finnish
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Löydetty kohteesta:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // French
8
+ //French (France)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Trouvé dans :',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Hungarian
8
+ //Hungarian
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Itt található:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,15 +1,16 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Italian
8
+ //Italian (Italy)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Trovato in:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
12
  'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'OSPITE',
13
+ 'smart-experiences.smart-hooks.guest.lozenge.text': 'UTENTE GUEST',
13
14
  'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': "I gruppi guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
14
15
  'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': "Gli utenti guest possono accedere solamente a determinati spazi e hanno accesso limitato alle informazioni dell'utente.",
15
16
  'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRO',
@@ -1,17 +1,18 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Japanese
8
+ //Japanese
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'ユーザーのソース元: ',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
12
  'smart-experiences.smart-hooks.google.provider': 'Google',
12
13
  'smart-experiences.smart-hooks.guest.lozenge.text': 'ゲスト',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
14
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'ゲスト グループは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
15
+ 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'ゲストは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。',
15
16
  'smart-experiences.smart-hooks.member.lozenge.text': 'メンバー',
16
17
  'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
18
  'smart-experiences.smart-hooks.slack.provider': 'Slack'
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Korean
8
+ //Korean
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': '찾은 위치:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Norwegian Bokmål
8
+ //Norwegian (Bokmål)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Funnet på:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Dutch
8
+ //Dutch (Netherlands)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Gevonden in:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Polish
8
+ //Polish (Poland)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Znaleziono w:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Portuguese (Brazil)
8
+ //Portuguese (Brazil)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado em:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Russian
8
+ //Russian
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Найден в:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Swedish
8
+ //Swedish
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Hittades i:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Thai
8
+ //Thai (Thailand)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'พบใน:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Turkish
8
+ //Turkish (Turkey)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Bulunduğu yer:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Ukrainian
8
+ //Ukrainian (Ukraine)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Знайдено в:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Vietnamese
8
+ //Vietnamese (Vietnam)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // Chinese
8
+ //Chinese (Simplified)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -1,10 +1,11 @@
1
+ /* prettier-ignore */
1
2
  /**
2
3
  * NOTE:
3
4
  *
4
- * This file is automatically generated by i18n-tools.
5
+ * This file is automatically generated by Traduki 2.0.
5
6
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
7
  */
7
- // undefined
8
+ //Chinese (Traditional)
8
9
  export default {
9
10
  'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
10
11
  'smart-experiences.smart-hooks.github.provider': 'GitHub',
@@ -85,77 +85,75 @@ var useUserRecommendations = function useUserRecommendations(props) {
85
85
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(query) {
86
86
  var _lastAbortController$, currentController, recommendedUsersResult;
87
87
  return _regeneratorRuntime.wrap(function _callee$(_context) {
88
- while (1) {
89
- switch (_context.prev = _context.next) {
90
- case 0:
91
- setIsLoading(true);
92
- // restart session
93
- sessionId.current = uuid();
94
- UsersFetchedUfoExperience.getInstance(fieldId).start();
95
- _context.prev = 3;
96
- if (lastAbortController.current) {
97
- (_lastAbortController$ = lastAbortController.current) === null || _lastAbortController$ === void 0 ? void 0 : _lastAbortController$.abort();
98
- }
99
- // in case there are still IE users, check AbortController before init,
100
- // IE has no timeout applied on fetch since AbortController isn't available
101
- currentController = typeof AbortController !== 'undefined' ? new AbortController() : null;
102
- lastAbortController.current = currentController;
103
- _context.next = 9;
104
- return fetchUserRecommendations({
105
- baseUrl: baseUrl,
106
- context: {
107
- childObjectId: childObjectId,
108
- containerId: containerId,
109
- objectId: objectId,
110
- principalId: principalId,
111
- productAttributes: productAttributes,
112
- productKey: productKey,
113
- contextType: fieldId,
114
- siteId: tenantId,
115
- sessionId: sessionId.current
116
- },
117
- includeUsers: includeUsers,
118
- includeGroups: includeGroups,
119
- includeTeams: includeTeams,
120
- maxNumberOfResults: maxNumberOfResults,
121
- searchQuery: cpusSearchQuery,
122
- query: query
123
- }, currentController === null || currentController === void 0 ? void 0 : currentController.signal);
124
- case 9:
125
- recommendedUsersResult = _context.sent;
126
- currentQuery.current = query !== null && query !== void 0 ? query : '';
127
- UsersFetchedUfoExperience.getInstance(fieldId).success({
128
- metadata: _objectSpread(_objectSpread({}, getAnalyticsAttributes()), {}, {
129
- loadedUsersSize: recommendedUsersResult.length
130
- })
131
- });
132
- setRecommendations(recommendedUsersResult);
133
- _context.next = 24;
88
+ while (1) switch (_context.prev = _context.next) {
89
+ case 0:
90
+ setIsLoading(true);
91
+ // restart session
92
+ sessionId.current = uuid();
93
+ UsersFetchedUfoExperience.getInstance(fieldId).start();
94
+ _context.prev = 3;
95
+ if (lastAbortController.current) {
96
+ (_lastAbortController$ = lastAbortController.current) === null || _lastAbortController$ === void 0 ? void 0 : _lastAbortController$.abort();
97
+ }
98
+ // in case there are still IE users, check AbortController before init,
99
+ // IE has no timeout applied on fetch since AbortController isn't available
100
+ currentController = typeof AbortController !== 'undefined' ? new AbortController() : null;
101
+ lastAbortController.current = currentController;
102
+ _context.next = 9;
103
+ return fetchUserRecommendations({
104
+ baseUrl: baseUrl,
105
+ context: {
106
+ childObjectId: childObjectId,
107
+ containerId: containerId,
108
+ objectId: objectId,
109
+ principalId: principalId,
110
+ productAttributes: productAttributes,
111
+ productKey: productKey,
112
+ contextType: fieldId,
113
+ siteId: tenantId,
114
+ sessionId: sessionId.current
115
+ },
116
+ includeUsers: includeUsers,
117
+ includeGroups: includeGroups,
118
+ includeTeams: includeTeams,
119
+ maxNumberOfResults: maxNumberOfResults,
120
+ searchQuery: cpusSearchQuery,
121
+ query: query
122
+ }, currentController === null || currentController === void 0 ? void 0 : currentController.signal);
123
+ case 9:
124
+ recommendedUsersResult = _context.sent;
125
+ currentQuery.current = query !== null && query !== void 0 ? query : '';
126
+ UsersFetchedUfoExperience.getInstance(fieldId).success({
127
+ metadata: _objectSpread(_objectSpread({}, getAnalyticsAttributes()), {}, {
128
+ loadedUsersSize: recommendedUsersResult.length
129
+ })
130
+ });
131
+ setRecommendations(recommendedUsersResult);
132
+ _context.next = 24;
133
+ break;
134
+ case 15:
135
+ _context.prev = 15;
136
+ _context.t0 = _context["catch"](3);
137
+ if (!(_context.t0 instanceof Error && _context.t0.name === 'AbortError')) {
138
+ _context.next = 22;
134
139
  break;
135
- case 15:
136
- _context.prev = 15;
137
- _context.t0 = _context["catch"](3);
138
- if (!(_context.t0 instanceof Error && _context.t0.name === 'AbortError')) {
139
- _context.next = 22;
140
- break;
141
- }
142
- // Request aborted client-side
143
- UsersFetchedUfoExperience.getInstance(fieldId).abort();
144
- // return early to prevent disabling isLoading
145
- return _context.abrupt("return");
146
- case 22:
147
- UsersFetchedUfoExperience.getInstance(fieldId).failure({
148
- metadata: getAnalyticsAttributes()
149
- });
150
- setError(_context.t0);
151
- case 24:
152
- setIsLoading(false);
153
- // clear abort controller
154
- lastAbortController.current = undefined;
155
- case 26:
156
- case "end":
157
- return _context.stop();
158
- }
140
+ }
141
+ // Request aborted client-side
142
+ UsersFetchedUfoExperience.getInstance(fieldId).abort();
143
+ // return early to prevent disabling isLoading
144
+ return _context.abrupt("return");
145
+ case 22:
146
+ UsersFetchedUfoExperience.getInstance(fieldId).failure({
147
+ metadata: getAnalyticsAttributes()
148
+ });
149
+ setError(_context.t0);
150
+ case 24:
151
+ setIsLoading(false);
152
+ // clear abort controller
153
+ lastAbortController.current = undefined;
154
+ case 26:
155
+ case "end":
156
+ return _context.stop();
159
157
  }
160
158
  }, _callee, null, [[3, 15]]);
161
159
  }));
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-hooks",
3
- "version": "0.1.8",
3
+ "version": "0.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  /**
13
13
  * NOTE:
14
14
  *
15
- * This file is automatically generated by i18n-tools.
15
+ * This file is automatically generated by Traduki 2.0.
16
16
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
17
17
  */
18
18
  export default _default;
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  /**
13
13
  * NOTE:
14
14
  *
15
- * This file is automatically generated by i18n-tools.
15
+ * This file is automatically generated by Traduki 2.0.
16
16
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
17
17
  */
18
18
  export default _default;
@@ -12,7 +12,7 @@ declare const _default: {
12
12
  /**
13
13
  * NOTE:
14
14
  *
15
- * This file is automatically generated by i18n-tools.
15
+ * This file is automatically generated by Traduki 2.0.
16
16
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
17
17
  */
18
18
  export default _default;
@@ -1,7 +1,18 @@
1
1
  declare const _default: {
2
- 'smart-experiences.smart-hooks.placeholder': string;
3
- 'smart-experiences.smart-hooks.placeholder.add-more': string;
4
- 'smart-experiences.smart-hooks.multi.remove-item': string;
5
- 'smart-experiences.smart-hooks.single.clear': string;
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;
6
11
  };
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
+ */
7
18
  export default _default;