@atlaskit/smart-hooks 0.1.7 → 0.1.9

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 (124) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/i18n/cs.js +12 -12
  3. package/dist/cjs/i18n/da.js +12 -12
  4. package/dist/cjs/i18n/de.js +12 -12
  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 -12
  8. package/dist/cjs/i18n/es.js +12 -12
  9. package/dist/cjs/i18n/et.js +0 -1
  10. package/dist/cjs/i18n/fi.js +12 -12
  11. package/dist/cjs/i18n/fr.js +12 -12
  12. package/dist/cjs/i18n/hu.js +12 -12
  13. package/dist/cjs/i18n/index.js +0 -31
  14. package/dist/cjs/i18n/it.js +12 -12
  15. package/dist/cjs/i18n/ja.js +12 -12
  16. package/dist/cjs/i18n/ko.js +12 -12
  17. package/dist/cjs/i18n/nb.js +12 -12
  18. package/dist/cjs/i18n/nl.js +12 -12
  19. package/dist/cjs/i18n/pl.js +12 -12
  20. package/dist/cjs/i18n/pt_BR.js +12 -12
  21. package/dist/cjs/i18n/pt_PT.js +0 -1
  22. package/dist/cjs/i18n/ru.js +12 -12
  23. package/dist/cjs/i18n/sk.js +0 -1
  24. package/dist/cjs/i18n/sv.js +12 -12
  25. package/dist/cjs/i18n/th.js +12 -12
  26. package/dist/cjs/i18n/tr.js +12 -12
  27. package/dist/cjs/i18n/uk.js +12 -12
  28. package/dist/cjs/i18n/vi.js +12 -12
  29. package/dist/cjs/i18n/zh.js +12 -12
  30. package/dist/cjs/i18n/zh_TW.js +12 -12
  31. package/dist/cjs/index.js +0 -3
  32. package/dist/cjs/messages.js +0 -2
  33. package/dist/cjs/services/use-function-usage-tracking/index.js +8 -13
  34. package/dist/cjs/services/use-user-recommendations/analytics.js +9 -25
  35. package/dist/cjs/services/use-user-recommendations/index.js +46 -91
  36. package/dist/cjs/services/use-user-recommendations/ufoExperiences.js +0 -2
  37. package/dist/cjs/utils/transform-recommendations-to-options/index.js +0 -16
  38. package/dist/cjs/version.json +1 -1
  39. package/dist/es2019/i18n/cs.js +12 -11
  40. package/dist/es2019/i18n/da.js +12 -11
  41. package/dist/es2019/i18n/de.js +12 -11
  42. package/dist/es2019/i18n/en.js +17 -5
  43. package/dist/es2019/i18n/en_GB.js +17 -5
  44. package/dist/es2019/i18n/en_ZZ.js +11 -11
  45. package/dist/es2019/i18n/es.js +12 -11
  46. package/dist/es2019/i18n/fi.js +12 -11
  47. package/dist/es2019/i18n/fr.js +12 -11
  48. package/dist/es2019/i18n/hu.js +12 -11
  49. package/dist/es2019/i18n/it.js +12 -11
  50. package/dist/es2019/i18n/ja.js +12 -11
  51. package/dist/es2019/i18n/ko.js +12 -11
  52. package/dist/es2019/i18n/nb.js +12 -11
  53. package/dist/es2019/i18n/nl.js +12 -11
  54. package/dist/es2019/i18n/pl.js +12 -11
  55. package/dist/es2019/i18n/pt_BR.js +12 -11
  56. package/dist/es2019/i18n/ru.js +12 -11
  57. package/dist/es2019/i18n/sv.js +12 -11
  58. package/dist/es2019/i18n/th.js +12 -11
  59. package/dist/es2019/i18n/tr.js +12 -11
  60. package/dist/es2019/i18n/uk.js +12 -11
  61. package/dist/es2019/i18n/vi.js +12 -11
  62. package/dist/es2019/i18n/zh.js +12 -11
  63. package/dist/es2019/i18n/zh_TW.js +12 -11
  64. package/dist/es2019/services/use-function-usage-tracking/index.js +6 -6
  65. package/dist/es2019/services/use-user-recommendations/analytics.js +0 -2
  66. package/dist/es2019/services/use-user-recommendations/index.js +16 -18
  67. package/dist/es2019/utils/transform-recommendations-to-options/index.js +0 -10
  68. package/dist/es2019/version.json +1 -1
  69. package/dist/esm/i18n/cs.js +12 -11
  70. package/dist/esm/i18n/da.js +12 -11
  71. package/dist/esm/i18n/de.js +12 -11
  72. package/dist/esm/i18n/en.js +17 -5
  73. package/dist/esm/i18n/en_GB.js +17 -5
  74. package/dist/esm/i18n/en_ZZ.js +11 -11
  75. package/dist/esm/i18n/es.js +12 -11
  76. package/dist/esm/i18n/fi.js +12 -11
  77. package/dist/esm/i18n/fr.js +12 -11
  78. package/dist/esm/i18n/hu.js +12 -11
  79. package/dist/esm/i18n/it.js +12 -11
  80. package/dist/esm/i18n/ja.js +12 -11
  81. package/dist/esm/i18n/ko.js +12 -11
  82. package/dist/esm/i18n/nb.js +12 -11
  83. package/dist/esm/i18n/nl.js +12 -11
  84. package/dist/esm/i18n/pl.js +12 -11
  85. package/dist/esm/i18n/pt_BR.js +12 -11
  86. package/dist/esm/i18n/ru.js +12 -11
  87. package/dist/esm/i18n/sv.js +12 -11
  88. package/dist/esm/i18n/th.js +12 -11
  89. package/dist/esm/i18n/tr.js +12 -11
  90. package/dist/esm/i18n/uk.js +12 -11
  91. package/dist/esm/i18n/vi.js +12 -11
  92. package/dist/esm/i18n/zh.js +12 -11
  93. package/dist/esm/i18n/zh_TW.js +12 -11
  94. package/dist/esm/services/use-function-usage-tracking/index.js +8 -9
  95. package/dist/esm/services/use-user-recommendations/analytics.js +9 -14
  96. package/dist/esm/services/use-user-recommendations/index.js +46 -71
  97. package/dist/esm/utils/transform-recommendations-to-options/index.js +0 -12
  98. package/dist/esm/version.json +1 -1
  99. package/dist/types/i18n/cs.d.ts +10 -10
  100. package/dist/types/i18n/da.d.ts +10 -10
  101. package/dist/types/i18n/de.d.ts +10 -10
  102. package/dist/types/i18n/en.d.ts +15 -4
  103. package/dist/types/i18n/en_GB.d.ts +15 -4
  104. package/dist/types/i18n/en_ZZ.d.ts +1 -1
  105. package/dist/types/i18n/es.d.ts +10 -10
  106. package/dist/types/i18n/fi.d.ts +10 -10
  107. package/dist/types/i18n/fr.d.ts +10 -10
  108. package/dist/types/i18n/hu.d.ts +10 -10
  109. package/dist/types/i18n/it.d.ts +10 -10
  110. package/dist/types/i18n/ja.d.ts +10 -10
  111. package/dist/types/i18n/ko.d.ts +10 -10
  112. package/dist/types/i18n/nb.d.ts +10 -10
  113. package/dist/types/i18n/nl.d.ts +10 -10
  114. package/dist/types/i18n/pl.d.ts +10 -10
  115. package/dist/types/i18n/pt_BR.d.ts +10 -10
  116. package/dist/types/i18n/ru.d.ts +10 -10
  117. package/dist/types/i18n/sv.d.ts +10 -10
  118. package/dist/types/i18n/th.d.ts +10 -10
  119. package/dist/types/i18n/tr.d.ts +10 -10
  120. package/dist/types/i18n/uk.d.ts +10 -10
  121. package/dist/types/i18n/vi.d.ts +10 -10
  122. package/dist/types/i18n/zh.d.ts +10 -10
  123. package/dist/types/i18n/zh_TW.d.ts +10 -10
  124. package/package.json +10 -8
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Trouvé dans :',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'INVITÉ',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': "Les groupes d'invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.",
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Les invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRE',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Trouvé dans :",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "INVITÉ",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Les groupes d'invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Les invités peuvent uniquement accéder à certains espaces et ont un accès limité aux informations utilisateur.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "MEMBRE",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Itt található:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'VENDÉG',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'A vendégcsoportok csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'A vendégek csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'TAG',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Itt található:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "VENDÉG",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "A vendégcsoportok csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "A vendégek csak bizonyos munkaterekhez kapnak hozzáférést, és korlátozottan érik el a felhasználói adatokat.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "TAG",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Trovato 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': 'OSPITE',
13
- '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
- '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
- 'smart-experiences.smart-hooks.member.lozenge.text': 'MEMBRO',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Trovato 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": "UTENTE GUEST",
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.",
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.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "MEMBRO",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'ユーザーのソース元: ',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': 'ゲストは一部のスペースにのみアクセスでき、ユーザー情報へのアクセスが制限されます。',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'メンバー',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "ユーザーのソース元: ",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "ゲスト",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "ゲスト グループは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "ゲストは一部のスペースにのみアクセスできて、ユーザー情報へのアクセスが制限されます。",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "メンバー",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': '찾은 위치:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': '게스트는 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': '구성원',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "찾은 위치:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "게스트",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "게스트 그룹은 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "게스트는 특정 스페이스에만 액세스할 수 있고 사용자 정보에 대한 액세스 권한이 제한적입니다.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "구성원",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Funnet på:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'GJEST',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gjestegrupper har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gjester har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'Medlem',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Funnet på:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "GJEST",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Gjestegrupper har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Gjester har bare tilgang til enkelte områder, og har begrenset tilgang til brukeropplysninger.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "Medlem",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Gevonden 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': 'GAST',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gastgroepen hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gasten hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'LID',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Gevonden 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": "GAST",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Gastgroepen hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Gasten hebben alleen toegang tot bepaalde spaces en hebben beperkte toegang tot gebruikersinformatie.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "LID",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Znaleziono w:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'GOŚĆ',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Grupy gości mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Goście mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'CZŁONEK',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Znaleziono w:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "GOŚĆ",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Grupy gości mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Goście mają dostęp wyłącznie do określonych przestrzeni i ograniczony dostęp do informacji o użytkownikach.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "CZŁONEK",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Encontrado em:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'CONVIDADO',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Os grupos de convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Os convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'Membro',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Encontrado em:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "CONVIDADO",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Os grupos de convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Os convidados só podem acessar determinados espaços e têm acesso limitado às informações do usuário.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "Membro",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Найден в:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': 'Гости имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'УЧАСТНИК',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Найден в:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "ГОСТЬ",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Гостевые группы имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Гости имеют доступ только к определенным разделам и ограниченный доступ к информации о пользователях.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "УЧАСТНИК",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Hittades i:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'GÄST',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Gästgrupper kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Gästerna kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'medlem',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Hittades i:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "GÄST",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Gästgrupper kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Gästerna kan endast komma åt vissa utrymmen och har begränsad åtkomst till användarinformation.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "medlem",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'พบใน:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': 'ผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'สมาชิก',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "พบใน:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "ผู้ใช้ทั่วไป",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "กลุ่มผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "ผู้ใช้ทั่วไปสามารถเข้าถึงได้เฉพาะบางพื้นที่เท่านั้นและมีสิทธิ์ในการเข้าถึงข้อมูลผู้ใช้ที่จำกัด",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "สมาชิก",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Bulunduğu yer:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'KONUK',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Konuk gruplar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Konuklar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'ÜYE',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Bulunduğu yer:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "KONUK",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Konuk gruplar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Konuklar yalnızca bazı alanlara erişebilir ve kullanıcı bilgilerine erişimleri de kısıtlıdır.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "ÜYE",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Знайдено в:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': 'Гості мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'Учасник',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Знайдено в:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "ГІСТЬ",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Групи гостей мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Гості мають доступ лише до певних розділів, а також обмежений доступ до інформації про користувачів.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "Учасник",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': 'Tìm thấy trong:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- 'smart-experiences.smart-hooks.guest.lozenge.text': 'KHÁCH',
13
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.group': 'Các nhóm khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
14
- 'smart-experiences.smart-hooks.guest.lozenge.tooltip.user': 'Khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': 'Thành viên',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "Tìm thấy trong:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "KHÁCH",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "Các nhóm khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "Khách chỉ có thể vào một số không gian nhất định và có quyền truy cập hạn chế vào thông tin người dùng.",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "Thành viên",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': '发现位置:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': '访客只能访问特定的空间,并对用户信息具有有限的访问权限。',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': '成员',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "发现位置:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "访客",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "访客群组只能访问特定的空间,并对用户信息具有有限的访问权限。",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "访客只能访问特定的空间,并对用户信息具有有限的访问权限。",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "成员",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,18 +1,19 @@
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
- 'smart-experiences.smart-hooks.external.sourced.from': '尋找位置:',
10
- 'smart-experiences.smart-hooks.github.provider': 'GitHub',
11
- 'smart-experiences.smart-hooks.google.provider': 'Google',
12
- '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': '訪客只能存取特定空間,而且只能存取有限的使用者資訊。',
15
- 'smart-experiences.smart-hooks.member.lozenge.text': '成員',
16
- 'smart-experiences.smart-hooks.microsoft.provider': 'Microsoft',
17
- 'smart-experiences.smart-hooks.slack.provider': 'Slack'
10
+ "smart-experiences.smart-hooks.external.sourced.from": "尋找位置:",
11
+ "smart-experiences.smart-hooks.github.provider": "GitHub",
12
+ "smart-experiences.smart-hooks.google.provider": "Google",
13
+ "smart-experiences.smart-hooks.guest.lozenge.text": "訪客",
14
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.group": "訪客群組只能存取特定空間,而且只能存取有限的使用者資訊。",
15
+ "smart-experiences.smart-hooks.guest.lozenge.tooltip.user": "訪客只能存取特定空間,而且只能存取有限的使用者資訊。",
16
+ "smart-experiences.smart-hooks.member.lozenge.text": "成員",
17
+ "smart-experiences.smart-hooks.microsoft.provider": "Microsoft",
18
+ "smart-experiences.smart-hooks.slack.provider": "Slack"
18
19
  };
@@ -1,17 +1,18 @@
1
1
  import { useMemo, useState } from 'react';
2
2
  import memoizeOne from 'memoize-one';
3
-
4
3
  function useFunctionUsageTracking(trackedFunction) {
5
- const [isUsed, setIsUsed] = useState(false); // trackingFunction needs to be stable for hook consumers...
4
+ const [isUsed, setIsUsed] = useState(false);
6
5
 
7
- const trackingFunction = useMemo(() => // ...and the function that the factory returns needs to be stable for hook consumers as well
6
+ // trackingFunction needs to be stable for hook consumers...
7
+ const trackingFunction = useMemo(() =>
8
+ // ...and the function that the factory returns needs to be stable for hook consumers as well
8
9
  memoizeOne(() => {
9
10
  if (!isUsed) {
10
11
  setIsUsed(true);
11
12
  }
12
-
13
13
  return trackedFunction;
14
- }), // isUsed deliberately left out to avoid new tracking fn being generated
14
+ }),
15
+ // isUsed deliberately left out to avoid new tracking fn being generated
15
16
  // eslint-disable-next-line react-hooks/exhaustive-deps
16
17
  [trackedFunction]);
17
18
  return {
@@ -19,5 +20,4 @@ function useFunctionUsageTracking(trackedFunction) {
19
20
  trackingFunction
20
21
  };
21
22
  }
22
-
23
23
  export default useFunctionUsageTracking;