@eifi1/ui-kit 0.45.0 → 0.46.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.
Files changed (238) hide show
  1. package/README.md +26 -14
  2. package/dist/admin/admin-area-labels.d.ts +9 -0
  3. package/dist/admin/admin-area-labels.js +5 -1
  4. package/dist/admin/admin-area-labels.js.map +1 -1
  5. package/dist/admin/admin-overview.d.ts +16 -1
  6. package/dist/admin/admin-overview.js +12 -1
  7. package/dist/admin/admin-overview.js.map +1 -1
  8. package/dist/admin/mail-test-card.d.ts +3 -2
  9. package/dist/admin/mail-test-card.js +3 -1
  10. package/dist/admin/mail-test-card.js.map +1 -1
  11. package/dist/admin/user-roster.d.ts +6 -2
  12. package/dist/admin/user-roster.js +7 -3
  13. package/dist/admin/user-roster.js.map +1 -1
  14. package/dist/components/appearance-labels.d.ts +10 -0
  15. package/dist/components/appearance-labels.js +6 -1
  16. package/dist/components/appearance-labels.js.map +1 -1
  17. package/dist/components/data-table-column-settings.js +2 -2
  18. package/dist/components/data-table-column-settings.js.map +1 -1
  19. package/dist/components/data-table-head.js +2 -2
  20. package/dist/components/data-table-head.js.map +1 -1
  21. package/dist/components/data-table-row-actions.d.ts +35 -2
  22. package/dist/components/data-table-row-actions.js +98 -5
  23. package/dist/components/data-table-row-actions.js.map +1 -1
  24. package/dist/components/data-table-shared.js +9 -2
  25. package/dist/components/data-table-shared.js.map +1 -1
  26. package/dist/components/data-table.d.ts +58 -2
  27. package/dist/components/data-table.js +11 -4
  28. package/dist/components/data-table.js.map +1 -1
  29. package/dist/components/date-format-setting.d.ts +29 -0
  30. package/dist/components/date-format-setting.js +36 -0
  31. package/dist/components/date-format-setting.js.map +1 -0
  32. package/dist/components/row-actions.d.ts +12 -5
  33. package/dist/components/row-actions.js +11 -4
  34. package/dist/components/row-actions.js.map +1 -1
  35. package/dist/components/swipeable-row.d.ts +8 -0
  36. package/dist/components/swipeable-row.js.map +1 -1
  37. package/dist/components/tabs.d.ts +3 -2
  38. package/dist/components/tabs.js +1 -1
  39. package/dist/components/tabs.js.map +1 -1
  40. package/dist/components/translation-review-editor.js +1 -0
  41. package/dist/components/translation-review-editor.js.map +1 -1
  42. package/dist/components/translation-review-labels.d.ts +5 -0
  43. package/dist/components/translation-review-labels.js +2 -0
  44. package/dist/components/translation-review-labels.js.map +1 -1
  45. package/dist/components/translation-review.d.ts +18 -8
  46. package/dist/components/translation-review.js +67 -8
  47. package/dist/components/translation-review.js.map +1 -1
  48. package/dist/components/write-lock-labels.js +2 -1
  49. package/dist/components/write-lock-labels.js.map +1 -1
  50. package/dist/components/write-lock.d.ts +33 -3
  51. package/dist/components/write-lock.js +9 -0
  52. package/dist/components/write-lock.js.map +1 -1
  53. package/dist/data-table.d.ts +2 -1
  54. package/dist/data-table.js +2 -0
  55. package/dist/data-table.js.map +1 -1
  56. package/dist/eslint/index.js +1 -1
  57. package/dist/feedback/feedback-row-detail.d.ts +4 -2
  58. package/dist/feedback/feedback-row-detail.js +17 -26
  59. package/dist/feedback/feedback-row-detail.js.map +1 -1
  60. package/dist/feedback/feedback-swipe.d.ts +18 -0
  61. package/dist/feedback/feedback-swipe.js +10 -1
  62. package/dist/feedback/feedback-swipe.js.map +1 -1
  63. package/dist/i18n/german.js +41 -5
  64. package/dist/i18n/german.js.map +1 -1
  65. package/dist/i18n/kit-labels.d.ts +12 -1
  66. package/dist/i18n/kit-labels.js +8 -2
  67. package/dist/i18n/kit-labels.js.map +1 -1
  68. package/dist/i18n/locales/en.js +40 -6
  69. package/dist/i18n/locales/en.js.map +2 -2
  70. package/dist/i18n/locales/es.js +41 -5
  71. package/dist/i18n/locales/es.js.map +1 -1
  72. package/dist/i18n/locales/fr.js +41 -5
  73. package/dist/i18n/locales/fr.js.map +1 -1
  74. package/dist/i18n/locales/hu.js +41 -5
  75. package/dist/i18n/locales/hu.js.map +1 -1
  76. package/dist/i18n/locales/it.js +41 -5
  77. package/dist/i18n/locales/it.js.map +1 -1
  78. package/dist/i18n/locales/zh.js +41 -5
  79. package/dist/i18n/locales/zh.js.map +1 -1
  80. package/dist/i18n/review.js +3 -1
  81. package/dist/i18n/review.js.map +1 -1
  82. package/dist/index.d.ts +17 -4
  83. package/dist/index.js +38 -1
  84. package/dist/index.js.map +1 -1
  85. package/dist/lib/date-format.d.ts +81 -0
  86. package/dist/lib/date-format.js +56 -0
  87. package/dist/lib/date-format.js.map +1 -0
  88. package/dist/lib/format.d.ts +3 -0
  89. package/dist/lib/format.js +5 -4
  90. package/dist/lib/format.js.map +1 -1
  91. package/dist/notifications/device-zone-report.d.ts +34 -0
  92. package/dist/notifications/device-zone-report.js +31 -0
  93. package/dist/notifications/device-zone-report.js.map +1 -0
  94. package/dist/notifications/feedback-notification-types-labels.d.ts +7 -1
  95. package/dist/notifications/feedback-notification-types-labels.js +4 -1
  96. package/dist/notifications/feedback-notification-types-labels.js.map +1 -1
  97. package/dist/notifications/feedback-notification-types.d.ts +24 -5
  98. package/dist/notifications/feedback-notification-types.js +7 -2
  99. package/dist/notifications/feedback-notification-types.js.map +1 -1
  100. package/dist/notifications/notification-bell.d.ts +33 -0
  101. package/dist/notifications/notification-bell.js +74 -0
  102. package/dist/notifications/notification-bell.js.map +1 -0
  103. package/dist/notifications/notification-inbox.d.ts +86 -0
  104. package/dist/notifications/notification-inbox.js +206 -0
  105. package/dist/notifications/notification-inbox.js.map +1 -0
  106. package/dist/notifications/notification-types-setting.d.ts +6 -4
  107. package/dist/notifications/notification-types-setting.js +103 -45
  108. package/dist/notifications/notification-types-setting.js.map +1 -1
  109. package/dist/notifications/notification-types.d.ts +19 -7
  110. package/dist/notifications/notifications-labels.d.ts +44 -8
  111. package/dist/notifications/notifications-labels.js +18 -1
  112. package/dist/notifications/notifications-labels.js.map +1 -1
  113. package/dist/notifications/push-devices-setting.d.ts +20 -3
  114. package/dist/notifications/push-devices-setting.js +93 -33
  115. package/dist/notifications/push-devices-setting.js.map +1 -1
  116. package/dist/notifications/push-worker.d.ts +108 -0
  117. package/dist/notifications/push-worker.js +62 -0
  118. package/dist/notifications/push-worker.js.map +1 -0
  119. package/dist/notifications/quiet-hours-setting.d.ts +29 -17
  120. package/dist/notifications/quiet-hours-setting.js +9 -41
  121. package/dist/notifications/quiet-hours-setting.js.map +1 -1
  122. package/dist/notifications/time-zone-select.d.ts +8 -4
  123. package/dist/notifications/time-zone-select.js +2 -7
  124. package/dist/notifications/time-zone-select.js.map +1 -1
  125. package/dist/notifications/use-push-device.d.ts +4 -17
  126. package/dist/notifications/use-push-device.js +7 -15
  127. package/dist/notifications/use-push-device.js.map +1 -1
  128. package/dist/offline/local-first.d.ts +42 -0
  129. package/dist/offline/local-first.js +53 -0
  130. package/dist/offline/local-first.js.map +1 -0
  131. package/dist/offline/query-persistence.d.ts +26 -1
  132. package/dist/offline/query-persistence.js +27 -23
  133. package/dist/offline/query-persistence.js.map +1 -1
  134. package/dist/offline/service-worker-updates.d.ts +46 -0
  135. package/dist/offline/service-worker-updates.js +39 -0
  136. package/dist/offline/service-worker-updates.js.map +1 -0
  137. package/dist/offline.d.ts +5 -2
  138. package/dist/offline.js +12 -2
  139. package/dist/offline.js.map +1 -1
  140. package/dist/push-worker.d.ts +2 -0
  141. package/dist/push-worker.js +14 -0
  142. package/dist/push-worker.js.map +1 -0
  143. package/dist/shell/account-menu-text-size.d.ts +33 -0
  144. package/dist/shell/account-menu-text-size.js +51 -0
  145. package/dist/shell/account-menu-text-size.js.map +1 -0
  146. package/dist/shell/top-bar-actions.d.ts +6 -2
  147. package/dist/shell/top-bar-actions.js +1 -0
  148. package/dist/shell/top-bar-actions.js.map +1 -1
  149. package/dist/shell.d.ts +2 -0
  150. package/dist/shell.js +2 -0
  151. package/dist/shell.js.map +1 -1
  152. package/dist/sync/db.d.ts +93 -0
  153. package/dist/sync/db.js +33 -0
  154. package/dist/sync/db.js.map +1 -0
  155. package/dist/sync/engine.d.ts +126 -0
  156. package/dist/sync/engine.js +474 -0
  157. package/dist/sync/engine.js.map +1 -0
  158. package/dist/sync/hooks.d.ts +35 -0
  159. package/dist/sync/hooks.js +67 -0
  160. package/dist/sync/hooks.js.map +1 -0
  161. package/dist/sync/testing.d.ts +28 -0
  162. package/dist/sync/testing.js +41 -0
  163. package/dist/sync/testing.js.map +1 -0
  164. package/dist/sync/wire.d.ts +50 -0
  165. package/dist/sync/wire.js +2 -0
  166. package/dist/sync/wire.js.map +1 -0
  167. package/dist/sync.d.ts +7 -0
  168. package/dist/sync.js +25 -0
  169. package/dist/sync.js.map +1 -0
  170. package/dist/tour/tour-labels.js +1 -0
  171. package/dist/tour/tour-labels.js.map +1 -1
  172. package/dist/tour/tour.d.ts +30 -0
  173. package/dist/tour/tour.js +50 -6
  174. package/dist/tour/tour.js.map +1 -1
  175. package/package.json +19 -1
  176. package/src/admin/admin-area-labels.ts +13 -0
  177. package/src/admin/admin-overview.tsx +37 -2
  178. package/src/admin/mail-test-card.tsx +7 -3
  179. package/src/admin/user-roster.tsx +12 -3
  180. package/src/components/appearance-labels.ts +16 -0
  181. package/src/components/data-table-column-settings.tsx +2 -2
  182. package/src/components/data-table-head.tsx +2 -2
  183. package/src/components/data-table-row-actions.tsx +145 -5
  184. package/src/components/data-table-shared.tsx +21 -2
  185. package/src/components/data-table.tsx +68 -6
  186. package/src/components/date-format-setting.tsx +64 -0
  187. package/src/components/row-actions.tsx +33 -9
  188. package/src/components/swipeable-row.tsx +8 -0
  189. package/src/components/tabs.tsx +4 -3
  190. package/src/components/translation-review-editor.tsx +2 -0
  191. package/src/components/translation-review-labels.ts +7 -0
  192. package/src/components/translation-review.tsx +105 -15
  193. package/src/components/write-lock-labels.ts +1 -0
  194. package/src/components/write-lock.tsx +36 -3
  195. package/src/data-table.ts +4 -0
  196. package/src/feedback/feedback-row-detail.tsx +18 -23
  197. package/src/feedback/feedback-swipe.tsx +28 -1
  198. package/src/i18n/german.ts +44 -4
  199. package/src/i18n/kit-labels.tsx +18 -1
  200. package/src/i18n/locales/en.ts +1 -0
  201. package/src/i18n/locales/es.ts +44 -4
  202. package/src/i18n/locales/fr.ts +44 -4
  203. package/src/i18n/locales/hu.ts +44 -4
  204. package/src/i18n/locales/it.ts +44 -4
  205. package/src/i18n/locales/zh.ts +44 -2
  206. package/src/i18n/review.ts +3 -1
  207. package/src/index.ts +50 -1
  208. package/src/lib/date-format.ts +151 -0
  209. package/src/lib/format.ts +10 -4
  210. package/src/notifications/device-zone-report.ts +67 -0
  211. package/src/notifications/feedback-notification-types-labels.ts +10 -1
  212. package/src/notifications/feedback-notification-types.ts +30 -5
  213. package/src/notifications/notification-bell.tsx +116 -0
  214. package/src/notifications/notification-inbox.tsx +314 -0
  215. package/src/notifications/notification-types-setting.tsx +151 -55
  216. package/src/notifications/notification-types.ts +20 -8
  217. package/src/notifications/notifications-labels.ts +72 -12
  218. package/src/notifications/push-devices-setting.tsx +123 -34
  219. package/src/notifications/push-worker.ts +160 -0
  220. package/src/notifications/quiet-hours-setting.tsx +41 -58
  221. package/src/notifications/time-zone-select.tsx +9 -10
  222. package/src/notifications/use-push-device.ts +20 -33
  223. package/src/offline/local-first.ts +100 -0
  224. package/src/offline/query-persistence.ts +57 -24
  225. package/src/offline/service-worker-updates.ts +81 -0
  226. package/src/offline.ts +7 -1
  227. package/src/push-worker.ts +25 -0
  228. package/src/shell/account-menu-text-size.tsx +77 -0
  229. package/src/shell/top-bar-actions.tsx +6 -1
  230. package/src/shell.ts +3 -0
  231. package/src/sync/db.ts +125 -0
  232. package/src/sync/engine.ts +701 -0
  233. package/src/sync/hooks.ts +98 -0
  234. package/src/sync/testing.ts +73 -0
  235. package/src/sync/wire.ts +61 -0
  236. package/src/sync.ts +29 -0
  237. package/src/tour/tour-labels.ts +1 -0
  238. package/src/tour/tour.tsx +100 -7
@@ -115,7 +115,10 @@ function uiKitLabelsFr(numberLocale = "fr-FR") {
115
115
  answered: "R\xE9ponses \xE0 vos retours",
116
116
  answeredDescription: "Quand un retour que vous avez \xE9crit ou comment\xE9 re\xE7oit une r\xE9ponse.",
117
117
  comment: "Commentaires sur les retours que vous suivez",
118
- commentDescription: "Quand quelqu\u2019un commente un retour que vous avez \xE9crit ou comment\xE9."
118
+ commentDescription: "Quand quelqu\u2019un commente un retour que vous avez \xE9crit ou comment\xE9.",
119
+ received: "Nouveaux retours et reprises",
120
+ receivedDescription: "Quand quelqu\u2019un d\xE9pose un retour ou en renvoie un.",
121
+ adminGroup: "Admin"
119
122
  },
120
123
  feedbackContext: {
121
124
  user: "Utilisateur",
@@ -573,6 +576,8 @@ function uiKitLabelsFr(numberLocale = "fr-FR") {
573
576
  skip: "Passer",
574
577
  done: "Termin\xE9",
575
578
  awaitClickHint: "Cliquez sur l\u2019\xE9l\xE9ment mis en \xE9vidence pour continuer",
579
+ awaitInputHint: "Saisissez une valeur dans le champ mis en \xE9vidence pour continuer",
580
+ // 0.46: TourStep.awaitInput (keksdose live #436).
576
581
  step: (current, total) => `${n(current)} / ${n(total)}`
577
582
  },
578
583
  // 0.43.0 — docs/tours-harmonization.md §3, §8: the tours page. keksdose's reviewed words.
@@ -779,7 +784,8 @@ function uiKitLabelsFr(numberLocale = "fr-FR") {
779
784
  openInNewTab: "Ouvrir dans un nouvel onglet"
780
785
  },
781
786
  writeLock: {
782
- reason: "Vous pouvez consulter ceci, mais pas le modifier."
787
+ reason: "Vous pouvez consulter ceci, mais pas le modifier.",
788
+ offline: "N\xE9cessite une connexion."
783
789
  },
784
790
  accountState: {
785
791
  // Agreeing with "compte" (masculine): the chip is the state of an account.
@@ -1118,6 +1124,9 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1118
1124
  typesTitle: "Me notifier pour",
1119
1125
  typesDescription: "Choisissez ce dont vous \xEAtes averti, et comment.",
1120
1126
  byEmail: "Par e-mail",
1127
+ channelApp: "Dans l\u2019app",
1128
+ channelPush: "Push",
1129
+ channelEmail: "E-mail",
1121
1130
  emailUnverified: "Confirmez votre adresse pour les recevoir.",
1122
1131
  digestCadence: "Fr\xE9quence",
1123
1132
  digestWeekly: "Hebdomadaire",
@@ -1125,7 +1134,8 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1125
1134
  typesLoading: "Chargement des param\xE8tres de notification\u2026",
1126
1135
  typesEmpty: "Il n\u2019y a aucune notification pour ce compte.",
1127
1136
  quietTitle: "Heures calmes",
1128
- quietDescription: (inbox) => inbox ? "Aucune notification push pendant cette plage. Elles arrivent quand m\xEAme dans votre bo\xEEte de r\xE9ception." : "Aucune notification push pendant cette plage.",
1137
+ quietDescription: (inbox, held) => held ? inbox ? "Les notifications push attendent pendant cette plage et arrivent \xE0 sa fin. Elles arrivent tout de suite dans votre bo\xEEte de r\xE9ception." : "Les notifications push attendent pendant cette plage et arrivent \xE0 sa fin." : inbox ? "Aucune notification push pendant cette plage. Elles arrivent quand m\xEAme dans votre bo\xEEte de r\xE9ception." : "Aucune notification push pendant cette plage.",
1138
+ quietZone: (zone) => `Dans votre fuseau horaire (${zone}), qui suit le dernier appareil utilis\xE9.`,
1129
1139
  quietFrom: "De",
1130
1140
  quietUntil: "Jusqu\u2019\xE0",
1131
1141
  quietIncomplete: "D\xE9finissez une heure de d\xE9but et une heure de fin. Les heures calmes s\u2019appliquent une fois les deux renseign\xE9es.",
@@ -1180,6 +1190,19 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1180
1190
  // Starts with `remove`, the button's visible text, for voice control.
1181
1191
  removeItem: (device) => `Retirer ${device}`,
1182
1192
  removePrompt: "Ne plus envoyer de notifications \xE0 cet appareil\u202F?",
1193
+ deviceTypes: "Types sur cet appareil",
1194
+ deviceTypesDescription: "D\xE9sactivez un type pour le mettre en sourdine sur cet appareil seulement.",
1195
+ deviceTypesEmpty: "Aucun type n\u2019a les notifications push activ\xE9es.",
1196
+ inboxTitle: "Bo\xEEte de r\xE9ception",
1197
+ inboxLoading: "Chargement des notifications\u2026",
1198
+ inboxEmpty: "Vous \xEAtes \xE0 jour.",
1199
+ markAllRead: "Tout marquer comme lu",
1200
+ clearAll: "Tout effacer",
1201
+ clearPrompt: "Supprimer toutes les notifications de votre bo\xEEte de r\xE9ception\u202F?",
1202
+ showMore: "Afficher plus",
1203
+ bellLabel: "Notifications",
1204
+ bellUnread: (count) => count === 1 ? `${n(count)} non lue` : `${n(count)} non lues`,
1205
+ allNotifications: "Toutes les notifications",
1183
1206
  unsubscribeTitle: "Notifications par e-mail",
1184
1207
  unsubscribeAbout: (type) => `Vous recevez des e-mails concernant\xA0: ${type}.`,
1185
1208
  unsubscribeGeneric: "Vous recevez des e-mails de notification.",
@@ -1491,6 +1514,8 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1491
1514
  approve: "Approuver",
1492
1515
  flag: "\xC0 modifier",
1493
1516
  suggest: "Proposer une traduction",
1517
+ flagRow: "Signaler une modification\u2026",
1518
+ suggestRow: "Ajouter une traduction\u2026",
1494
1519
  reset: "Marquer comme non relu",
1495
1520
  cancel: "Annuler",
1496
1521
  approveSelected: "Approuver la s\xE9lection",
@@ -1722,7 +1747,14 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1722
1747
  contrast: "Contraste",
1723
1748
  contrastHelp: "Le contraste renforc\xE9 assombrit les textes discrets et les lignes, et \xE9paissit les contours de focus. \xAB\u202FSyst\xE8me\u202F\xBB suit le r\xE9glage de cet appareil.",
1724
1749
  contrastModes: { system: "Syst\xE8me", standard: "Standard", more: "Renforc\xE9" },
1725
- saveFailed: "Impossible de l\u2019enregistrer dans votre compte. Le r\xE9glage s\u2019applique tout de m\xEAme sur cet appareil."
1750
+ saveFailed: "Impossible de l\u2019enregistrer dans votre compte. Le r\xE9glage s\u2019applique tout de m\xEAme sur cet appareil.",
1751
+ // 0.46: DateFormatSetting (keksdose's words where it has them).
1752
+ dateFormat: "Format de date",
1753
+ dateFormatHelp: "Comment les dates sont \xE9crites dans toute l\u2019app. Ind\xE9pendant de la langue de l\u2019interface, vous pouvez donc lire l\u2019app en anglais et voir quand m\xEAme des dates \xE0 la fran\xE7aise.",
1754
+ dateFormatAuto: "Suivre la langue",
1755
+ // 0.46: AccountMenuTextSize (keksdose live #426).
1756
+ textSmaller: "Texte plus petit",
1757
+ textLarger: "Texte plus grand"
1726
1758
  },
1727
1759
  // 0.36.0 — docs/settings-harmonization.md §11.3: resetting this device's settings, the
1728
1760
  // last card of "Apparence". "Réglages", as `contrastHelp` says "réglage".
@@ -1776,7 +1808,11 @@ L\u2019adresse postale compl\xE8te est communiqu\xE9e sur demande aux personnes
1776
1808
  deletionRequests: "Demandes de suppression",
1777
1809
  invitationsPending: "Invitations en attente",
1778
1810
  users: "Utilisateurs",
1779
- usersNew: (count) => `${n(count)} ${plural(count, "nouveau", "nouveaux")} en 7 jours`
1811
+ usersNew: (count) => `${n(count)} ${plural(count, "nouveau", "nouveaux")} en 7 jours`,
1812
+ awaitingVerdict: "En attente d\u2019un verdict",
1813
+ awaitingVerdictHint: "Trait\xE9s, en attente de votre confirmation ou de celle de la personne qui les a signal\xE9s",
1814
+ releasedForWork: "Pr\xEAts \xE0 traiter",
1815
+ releasedForWorkHint: "Pr\xEAts, reprise demand\xE9e ou en cours"
1780
1816
  },
1781
1817
  overviewError: "La vue d\u2019ensemble n\u2019a pas pu \xEAtre charg\xE9e.",
1782
1818
  retry: "R\xE9essayer",