@eifi1/ui-kit 0.52.0 → 0.54.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 (290) hide show
  1. package/README.md +52 -59
  2. package/dist/account/delete-account-setting.d.ts +3 -2
  3. package/dist/account/delete-account-setting.js.map +1 -1
  4. package/dist/auth/auth-errors.d.ts +36 -0
  5. package/dist/auth/auth-errors.js +20 -0
  6. package/dist/auth/auth-errors.js.map +1 -1
  7. package/dist/billing/cancel-subscription.d.ts +5 -14
  8. package/dist/billing/cancel-subscription.js +1 -3
  9. package/dist/billing/cancel-subscription.js.map +1 -1
  10. package/dist/billing/plan-card.d.ts +5 -13
  11. package/dist/billing/plan-card.js +3 -11
  12. package/dist/billing/plan-card.js.map +1 -1
  13. package/dist/billing/plan-switch.d.ts +5 -14
  14. package/dist/billing/plan-switch.js +1 -3
  15. package/dist/billing/plan-switch.js.map +1 -1
  16. package/dist/chart.d.ts +3 -14
  17. package/dist/chart.js +64 -11
  18. package/dist/chart.js.map +1 -1
  19. package/dist/components/amount-input.d.ts +2 -1
  20. package/dist/components/amount-input.js.map +1 -1
  21. package/dist/components/calendar-heatmap.js +4 -2
  22. package/dist/components/calendar-heatmap.js.map +1 -1
  23. package/dist/components/currency-option-list.d.ts +2 -1
  24. package/dist/components/currency-option-list.js +10 -3
  25. package/dist/components/currency-option-list.js.map +1 -1
  26. package/dist/components/currency-select.d.ts +3 -1
  27. package/dist/components/currency-select.js.map +1 -1
  28. package/dist/components/danger-confirm.d.ts +22 -1
  29. package/dist/components/danger-confirm.js +50 -28
  30. package/dist/components/danger-confirm.js.map +1 -1
  31. package/dist/components/data-table-filter-popover.d.ts +2 -1
  32. package/dist/components/data-table-filter-popover.js +3 -2
  33. package/dist/components/data-table-filter-popover.js.map +1 -1
  34. package/dist/components/data-table-filters.d.ts +33 -3
  35. package/dist/components/data-table-filters.js +6 -4
  36. package/dist/components/data-table-filters.js.map +1 -1
  37. package/dist/components/date-field.d.ts +1 -1
  38. package/dist/components/date-field.js.map +1 -1
  39. package/dist/components/date-picker.d.ts +1 -1
  40. package/dist/components/date-picker.js.map +1 -1
  41. package/dist/components/date-range-picker.d.ts +4 -17
  42. package/dist/components/date-range-picker.js +2 -2
  43. package/dist/components/date-range-picker.js.map +1 -1
  44. package/dist/components/dialog-frame.d.ts +3 -1
  45. package/dist/components/dialog-frame.js +6 -2
  46. package/dist/components/dialog-frame.js.map +1 -1
  47. package/dist/components/mini-calendar.js +3 -2
  48. package/dist/components/mini-calendar.js.map +1 -1
  49. package/dist/components/modal.d.ts +27 -0
  50. package/dist/components/modal.js +5 -3
  51. package/dist/components/modal.js.map +1 -1
  52. package/dist/components/nav-pills.d.ts +1 -1
  53. package/dist/components/nav-pills.js.map +1 -1
  54. package/dist/components/number-input.js.map +1 -1
  55. package/dist/components/series-chart-axes.d.ts +1 -1
  56. package/dist/components/series-chart-axes.js.map +1 -1
  57. package/dist/components/series-chart.d.ts +64 -19
  58. package/dist/components/series-chart.js +2 -1
  59. package/dist/components/series-chart.js.map +1 -1
  60. package/dist/components/stat-tile.d.ts +21 -2
  61. package/dist/components/stat-tile.js +4 -2
  62. package/dist/components/stat-tile.js.map +1 -1
  63. package/dist/components/treemap-labels.d.ts +6 -1
  64. package/dist/components/treemap-labels.js +2 -2
  65. package/dist/components/treemap-labels.js.map +1 -1
  66. package/dist/components/treemap.d.ts +29 -4
  67. package/dist/components/treemap.js +22 -9
  68. package/dist/components/treemap.js.map +1 -1
  69. package/dist/currencies.d.ts +16 -2
  70. package/dist/currencies.js +2 -1
  71. package/dist/currencies.js.map +1 -1
  72. package/dist/data-table.d.ts +1 -6
  73. package/dist/data-table.js +1 -9
  74. package/dist/data-table.js.map +1 -1
  75. package/dist/demo/demo-countdown.d.ts +0 -5
  76. package/dist/demo/demo-countdown.js +0 -4
  77. package/dist/demo/demo-countdown.js.map +1 -1
  78. package/dist/eslint/index.js +1 -1
  79. package/dist/feedback/feedback-context-labels.js +2 -1
  80. package/dist/feedback/feedback-context-labels.js.map +1 -1
  81. package/dist/feedback/feedback-context.d.ts +19 -3
  82. package/dist/feedback/feedback-context.js +12 -1
  83. package/dist/feedback/feedback-context.js.map +1 -1
  84. package/dist/feedback/feedback-diagnostics.d.ts +17 -0
  85. package/dist/feedback/feedback-diagnostics.js +27 -0
  86. package/dist/feedback/feedback-diagnostics.js.map +1 -0
  87. package/dist/feedback/feedback-dialog.d.ts +10 -0
  88. package/dist/feedback/feedback-dialog.js +6 -4
  89. package/dist/feedback/feedback-dialog.js.map +1 -1
  90. package/dist/feedback/feedback-mutation.d.ts +11 -23
  91. package/dist/feedback/feedback-mutation.js +1 -9
  92. package/dist/feedback/feedback-mutation.js.map +1 -1
  93. package/dist/feedback/feedback-public-list.d.ts +1 -6
  94. package/dist/feedback/feedback-public-list.js +1 -2
  95. package/dist/feedback/feedback-public-list.js.map +1 -1
  96. package/dist/feedback/feedback-record.d.ts +5 -0
  97. package/dist/feedback/feedback-record.js.map +1 -1
  98. package/dist/feedback/feedback-row-detail-labels.js +1 -8
  99. package/dist/feedback/feedback-row-detail-labels.js.map +1 -1
  100. package/dist/feedback/feedback-row-detail.d.ts +6 -50
  101. package/dist/feedback/feedback-row-detail.js +3 -8
  102. package/dist/feedback/feedback-row-detail.js.map +1 -1
  103. package/dist/feedback/feedback-status-undo.d.ts +3 -19
  104. package/dist/feedback/feedback-status-undo.js.map +1 -1
  105. package/dist/feedback/feedback-submit-dialog.d.ts +5 -1
  106. package/dist/feedback/feedback-submit-dialog.js +15 -3
  107. package/dist/feedback/feedback-submit-dialog.js.map +1 -1
  108. package/dist/feedback/feedback-submit.d.ts +30 -2
  109. package/dist/feedback/feedback-submit.js +5 -2
  110. package/dist/feedback/feedback-submit.js.map +1 -1
  111. package/dist/feedback/feedback-thread.d.ts +0 -9
  112. package/dist/feedback/feedback-thread.js.map +1 -1
  113. package/dist/feedback.d.ts +6 -40
  114. package/dist/feedback.js +88 -46
  115. package/dist/feedback.js.map +1 -1
  116. package/dist/hooks/use-hotkey.js +11 -1
  117. package/dist/hooks/use-hotkey.js.map +1 -1
  118. package/dist/i18n/defaults.js +0 -4
  119. package/dist/i18n/defaults.js.map +1 -1
  120. package/dist/i18n/german.js +5 -20
  121. package/dist/i18n/german.js.map +1 -1
  122. package/dist/i18n/kit-labels.d.ts +5 -14
  123. package/dist/i18n/kit-labels.js.map +1 -1
  124. package/dist/i18n/locales/en.js +5 -31
  125. package/dist/i18n/locales/en.js.map +3 -3
  126. package/dist/i18n/locales/es.js +5 -20
  127. package/dist/i18n/locales/es.js.map +1 -1
  128. package/dist/i18n/locales/fr.js +5 -20
  129. package/dist/i18n/locales/fr.js.map +1 -1
  130. package/dist/i18n/locales/hu.js +5 -20
  131. package/dist/i18n/locales/hu.js.map +1 -1
  132. package/dist/i18n/locales/it.js +5 -21
  133. package/dist/i18n/locales/it.js.map +1 -1
  134. package/dist/i18n/locales/zh.js +5 -20
  135. package/dist/i18n/locales/zh.js.map +1 -1
  136. package/dist/i18n/review.js +9 -4
  137. package/dist/i18n/review.js.map +1 -1
  138. package/dist/i18n/shared-labels.js +0 -1
  139. package/dist/i18n/shared-labels.js.map +1 -1
  140. package/dist/index.d.ts +18 -67
  141. package/dist/index.js +28 -103
  142. package/dist/index.js.map +1 -1
  143. package/dist/lib/dates.d.ts +7 -1
  144. package/dist/lib/dates.js +8 -1
  145. package/dist/lib/dates.js.map +1 -1
  146. package/dist/lib/format.d.ts +37 -2
  147. package/dist/lib/format.js +25 -1
  148. package/dist/lib/format.js.map +1 -1
  149. package/dist/lib/intl-cache.d.ts +4 -2
  150. package/dist/lib/intl-cache.js.map +1 -1
  151. package/dist/lib/translation-review.d.ts +26 -0
  152. package/dist/lib/translation-review.js +14 -0
  153. package/dist/lib/translation-review.js.map +1 -1
  154. package/dist/rhf/fields.d.ts +2 -2
  155. package/dist/rhf/fields.js.map +1 -1
  156. package/dist/search/search-index.d.ts +0 -6
  157. package/dist/search/search-index.js +0 -4
  158. package/dist/search/search-index.js.map +1 -1
  159. package/dist/search.d.ts +1 -8
  160. package/dist/search.js +2 -7
  161. package/dist/search.js.map +1 -1
  162. package/dist/shell/account-menu-language.d.ts +7 -21
  163. package/dist/shell/account-menu-language.js +1 -3
  164. package/dist/shell/account-menu-language.js.map +1 -1
  165. package/dist/shell/account-menu-text-size.d.ts +9 -23
  166. package/dist/shell/account-menu-text-size.js +2 -3
  167. package/dist/shell/account-menu-text-size.js.map +1 -1
  168. package/dist/shell/app-shell.d.ts +0 -10
  169. package/dist/shell/app-shell.js +1 -7
  170. package/dist/shell/app-shell.js.map +1 -1
  171. package/dist/shell/company-switcher.d.ts +1 -1
  172. package/dist/shell/company-switcher.js.map +1 -1
  173. package/dist/shell/dev-menu.d.ts +1 -1
  174. package/dist/shell/dev-menu.js.map +1 -1
  175. package/dist/shell/top-bar-parts-labels.d.ts +1 -1
  176. package/dist/shell/top-bar-parts-labels.js.map +1 -1
  177. package/dist/shell.d.ts +7 -29
  178. package/dist/shell.js +12 -42
  179. package/dist/shell.js.map +1 -1
  180. package/dist/sync.d.ts +2 -6
  181. package/dist/sync.js +2 -15
  182. package/dist/sync.js.map +1 -1
  183. package/dist/theme/chart-palette.d.ts +0 -5
  184. package/dist/theme/chart-palette.js +0 -2
  185. package/dist/theme/chart-palette.js.map +1 -1
  186. package/package.json +1 -1
  187. package/src/account/delete-account-setting.tsx +3 -2
  188. package/src/auth/auth-errors.ts +69 -0
  189. package/src/billing/cancel-subscription.tsx +5 -16
  190. package/src/billing/plan-card.tsx +7 -24
  191. package/src/billing/plan-switch.tsx +5 -16
  192. package/src/chart.ts +62 -13
  193. package/src/components/amount-input.tsx +2 -1
  194. package/src/components/calendar-heatmap.tsx +8 -2
  195. package/src/components/currency-option-list.tsx +12 -4
  196. package/src/components/currency-select.tsx +3 -1
  197. package/src/components/danger-confirm.tsx +80 -27
  198. package/src/components/data-table-filter-popover.tsx +19 -11
  199. package/src/components/data-table-filters.ts +36 -8
  200. package/src/components/date-field.tsx +1 -1
  201. package/src/components/date-picker.tsx +0 -1
  202. package/src/components/date-range-picker.tsx +6 -22
  203. package/src/components/dialog-frame.tsx +12 -4
  204. package/src/components/mini-calendar.tsx +5 -2
  205. package/src/components/modal.tsx +36 -7
  206. package/src/components/nav-pills.tsx +1 -1
  207. package/src/components/number-input.tsx +4 -3
  208. package/src/components/series-chart-axes.ts +6 -1
  209. package/src/components/series-chart.tsx +78 -21
  210. package/src/components/stat-tile.tsx +32 -3
  211. package/src/components/treemap-labels.ts +11 -3
  212. package/src/components/treemap.tsx +65 -12
  213. package/src/currencies.ts +23 -3
  214. package/src/data-table.ts +1 -11
  215. package/src/demo/demo-countdown.ts +3 -8
  216. package/src/feedback/feedback-context-labels.ts +1 -0
  217. package/src/feedback/feedback-context.tsx +34 -2
  218. package/src/feedback/feedback-diagnostics.tsx +41 -0
  219. package/src/feedback/feedback-dialog.tsx +16 -4
  220. package/src/feedback/feedback-mutation.ts +12 -33
  221. package/src/feedback/feedback-public-list.tsx +1 -7
  222. package/src/feedback/feedback-record.ts +5 -0
  223. package/src/feedback/feedback-row-detail-labels.ts +1 -8
  224. package/src/feedback/feedback-row-detail.tsx +21 -58
  225. package/src/feedback/feedback-status-undo.ts +4 -18
  226. package/src/feedback/feedback-submit-dialog.tsx +15 -2
  227. package/src/feedback/feedback-submit.tsx +36 -3
  228. package/src/feedback/feedback-thread.tsx +0 -10
  229. package/src/feedback.ts +89 -48
  230. package/src/hooks/use-hotkey.ts +24 -1
  231. package/src/i18n/defaults.ts +0 -4
  232. package/src/i18n/german.ts +4 -19
  233. package/src/i18n/kit-labels.tsx +5 -14
  234. package/src/i18n/locales/es.ts +4 -19
  235. package/src/i18n/locales/fr.ts +4 -19
  236. package/src/i18n/locales/hu.ts +4 -19
  237. package/src/i18n/locales/it.ts +4 -20
  238. package/src/i18n/locales/zh.ts +4 -19
  239. package/src/i18n/review.ts +9 -4
  240. package/src/i18n/shared-labels.ts +0 -1
  241. package/src/index.ts +44 -114
  242. package/src/lib/dates.ts +24 -2
  243. package/src/lib/format.ts +66 -3
  244. package/src/lib/intl-cache.ts +4 -2
  245. package/src/lib/translation-review.ts +52 -0
  246. package/src/rhf/fields.tsx +2 -2
  247. package/src/search/search-index.ts +0 -15
  248. package/src/search.ts +8 -8
  249. package/src/shell/account-menu-language.tsx +7 -27
  250. package/src/shell/account-menu-text-size.tsx +13 -32
  251. package/src/shell/app-shell.tsx +0 -13
  252. package/src/shell/company-switcher.tsx +1 -1
  253. package/src/shell/dev-menu.tsx +1 -1
  254. package/src/shell/top-bar-parts-labels.ts +1 -1
  255. package/src/shell.ts +17 -44
  256. package/src/sync.ts +2 -15
  257. package/src/theme/chart-palette.ts +0 -2
  258. package/tokens.css +4 -4
  259. package/dist/billing/dialog-close.d.ts +0 -29
  260. package/dist/billing/dialog-close.js +0 -8
  261. package/dist/billing/dialog-close.js.map +0 -1
  262. package/dist/components/field-sync-labels.d.ts +0 -3
  263. package/dist/components/field-sync-labels.js +0 -12
  264. package/dist/components/field-sync-labels.js.map +0 -1
  265. package/dist/components/field-sync.d.ts +0 -186
  266. package/dist/components/field-sync.js +0 -269
  267. package/dist/components/field-sync.js.map +0 -1
  268. package/dist/components/section-nav.d.ts +0 -44
  269. package/dist/components/section-nav.js +0 -33
  270. package/dist/components/section-nav.js.map +0 -1
  271. package/dist/components/sign-chip-labels.d.ts +0 -3
  272. package/dist/components/sign-chip-labels.js +0 -11
  273. package/dist/components/sign-chip-labels.js.map +0 -1
  274. package/dist/components/sign-chip.d.ts +0 -77
  275. package/dist/components/sign-chip.js +0 -47
  276. package/dist/components/sign-chip.js.map +0 -1
  277. package/dist/lib/isin.d.ts +0 -38
  278. package/dist/lib/isin.js +0 -36
  279. package/dist/lib/isin.js.map +0 -1
  280. package/dist/shell/role-switcher.d.ts +0 -28
  281. package/dist/shell/role-switcher.js +0 -31
  282. package/dist/shell/role-switcher.js.map +0 -1
  283. package/src/billing/dialog-close.ts +0 -34
  284. package/src/components/field-sync-labels.ts +0 -14
  285. package/src/components/field-sync.tsx +0 -504
  286. package/src/components/section-nav.tsx +0 -72
  287. package/src/components/sign-chip-labels.ts +0 -13
  288. package/src/components/sign-chip.tsx +0 -133
  289. package/src/lib/isin.ts +0 -72
  290. package/src/shell/role-switcher.tsx +0 -53
@@ -20,7 +20,6 @@ import type { MiniCalendarLabels, WeekDay } from "../components/mini-calendar";
20
20
  import type { CalendarHeatmapLabels } from "../components/calendar-heatmap";
21
21
  import type { PopoverLabels } from "../components/popover";
22
22
  import type { ChipInputLabels } from "../components/chip";
23
- import type { FieldSyncLabels } from "../components/field-sync";
24
23
  import type { CharacterCountLabels, PasswordRevealLabels } from "../components/field-base";
25
24
  import type { TabsLabels } from "../components/tabs";
26
25
  import type { WizardLabels } from "../wizard/types";
@@ -46,7 +45,7 @@ import type { FilePickerLabels } from "../components/file-button";
46
45
  import type { MeasuredGridLabels } from "../components/measured-grid";
47
46
  import type { FeedbackAttachmentFieldLabels } from "../feedback/feedback-attachment";
48
47
  import type { FeedbackDialogTextLabels } from "../feedback/feedback-dialog";
49
- import type { FeedbackComposerLabels, FeedbackThreadLabels } from "../feedback/feedback-thread";
48
+ import type { ChatComposerLabels, FeedbackThreadLabels } from "../feedback/feedback-thread";
50
49
  import type { FeedbackCategoryLabels, FeedbackStatusLabels, FeedbackToastLabels } from "../feedback/feedback-labels";
51
50
  import type { FeedbackMenuLabels } from "../feedback/feedback-menu";
52
51
  import type { FeedbackPublicLabels } from "../feedback/feedback-public-labels";
@@ -114,7 +113,6 @@ import type { CountrySelectLabels } from "../components/country-select";
114
113
  import type { InlineEditLabels } from "../components/inline-edit-field";
115
114
  import type { IbanInputLabels } from "../components/iban-input";
116
115
  import type { PhoneInputLabels } from "../components/phone-input";
117
- import type { SignChipLabels } from "../components/sign-chip";
118
116
  import type { ColumnMapperLabels } from "../components/column-mapper";
119
117
  import type { NotificationsLabels } from "../notifications/notifications-labels";
120
118
  import type { AdminAreaLabels } from "../admin/admin-area-labels";
@@ -284,10 +282,7 @@ export interface TopBarLabels {
284
282
  /** 0.49 KIT-10: the language menu's trigger, given the current language's name —
285
283
  * "Choose language, current: Deutsch". */
286
284
  languageCurrent: (name: string) => string;
287
- /** RoleSwitcher's name, and nothing else reads it (DevMenu's flask is `topBarParts.dev`).
288
- * @deprecated 0.52 — none: it goes with RoleSwitcher (MOD-5); removed in 0.53. */
289
- switchRole: string;
290
- /** The role switcher's tooltip, given the active role's name. */
285
+ /** The dev flask's role, given the active role's name (`DevMenu`'s name ends with it). */
291
286
  role: (value: string) => string;
292
287
  }
293
288
 
@@ -322,8 +317,6 @@ export interface UiKitLabels {
322
317
  calculator: CalculatorLabels;
323
318
  currency: CurrencyLabels;
324
319
  chipInput: ChipInputLabels;
325
- /** @deprecated 0.52 — none: it goes with the FieldSync family (MOD-5); removed in 0.53. */
326
- fieldSync: FieldSyncLabels;
327
320
  passwordReveal: PasswordRevealLabels;
328
321
  tabs: TabsLabels;
329
322
  appShell: AppShellLabels;
@@ -355,10 +348,11 @@ export interface UiKitLabels {
355
348
  filePicker: FilePickerLabels;
356
349
  measuredGrid: MeasuredGridLabels;
357
350
  feedbackAttachment: FeedbackAttachmentFieldLabels;
358
- /** 0.12.0: `FeedbackDialog`'s own strings; `FeedbackThread` / `FeedbackComposer`. */
351
+ /** 0.12.0: `FeedbackDialog`'s own strings; `FeedbackThread` / `ChatComposer` (the
352
+ * namespace keeps the composer's 0.12 name). */
359
353
  feedbackDialog: FeedbackDialogTextLabels;
360
354
  feedbackThread: FeedbackThreadLabels;
361
- feedbackComposer: FeedbackComposerLabels;
355
+ feedbackComposer: ChatComposerLabels;
362
356
  /** 0.27.0: the feedback harmonisation (docs/feedback-harmonization.md §4) — a report's
363
357
  * status and category words, keyed by the enum value; the toasts a feedback page
364
358
  * shows; `FeedbackMenu`; `FeedbackContextBox`; the two pages' table; the row detail.
@@ -487,9 +481,6 @@ export interface UiKitLabels {
487
481
  ibanInput: IbanInputLabels;
488
482
  /** 0.22.0: `PhoneInput`'s country-code select. */
489
483
  phoneInput: PhoneInputLabels;
490
- /** 0.22.0: `SignChip` — the outflow / inflow toggle beside an amount.
491
- * @deprecated 0.52 — none: it goes with SignChip (MOD-5); removed in 0.53. */
492
- signChip: SignChipLabels;
493
484
  /** 0.23.0: `ColumnMapper` / `ColumnRoleTable` — a pasted or dropped table, a role per
494
485
  * column. */
495
486
  columnMapper: ColumnMapperLabels;
@@ -150,6 +150,7 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
150
150
  feedbackContext: {
151
151
  user: "Usuario",
152
152
  attachUrl: "Adjuntar la URL de la página actual",
153
+ diagnostics: "Diagnóstico enviado con el informe",
153
154
  },
154
155
  feedbackPage: {
155
156
  title: "Comentarios recibidos",
@@ -182,15 +183,13 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
182
183
  cancel: "Cancelar",
183
184
  url: "URL",
184
185
  copyUrl: "Copiar URL",
186
+ diagnostics: "Diagnóstico",
185
187
  attachment: "Adjunto",
186
188
  download: (name) => `Descargar ${name}`,
187
189
  downloadFailed: "No se ha podido descargar el adjunto.",
188
190
  outcome: "Resultado",
189
191
  replies: "Respuestas",
190
192
  resolvedAt: (date) => `Resuelto el ${date}`,
191
- outcomeAdd: "Añadir resultado",
192
- outcomeUpdate: "Actualizar",
193
- outcomePlaceholder: "Qué se ha hecho o decidido, o por qué no se abordará.",
194
193
  rework: "Corrección",
195
194
  reworkTitle: "Devolver para corrección",
196
195
  reworkSend: "Solicitar corrección",
@@ -502,13 +501,6 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
502
501
  noResults: "Ningún icono coincide",
503
502
  resultCount: (count) => `${n(count)} ${plural(count, "icono", "iconos")}`,
504
503
  },
505
- fieldSync: {
506
- synced: "Guardado",
507
- edited: "Cambios sin guardar",
508
- pending: "Guardando…",
509
- error: "No se pudo guardar",
510
- retry: "Reintentar",
511
- },
512
504
  passwordReveal: {
513
505
  show: "Mostrar contraseña",
514
506
  hide: "Ocultar contraseña",
@@ -541,7 +533,6 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
541
533
  palette: "Ajuste de apariencia",
542
534
  language: "Idioma",
543
535
  languageCurrent: (name) => `Elegir idioma, actual: ${name}`,
544
- switchRole: "Cambiar de rol",
545
536
  role: (value) => `Rol: ${value}`,
546
537
  },
547
538
  pickerSheet: {
@@ -743,8 +734,8 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
743
734
  legend: "Categorías",
744
735
  },
745
736
  treemap: {
746
- tile: (name, value, share) => `${name}: ${value} (${share})`,
747
- group: (name, value, share) => `${name}, grupo: ${value} (${share})`,
737
+ tile: (name, value, share) => `${name}: ${value}${share ? ` (${share})` : ""}`,
738
+ group: (name, value, share) => `${name}, grupo: ${value}${share ? ` (${share})` : ""}`,
748
739
  inGroup: (name, group) => `${name}, en ${group}`,
749
740
  },
750
741
  confirmDialog: {
@@ -1534,12 +1525,6 @@ export function uiKitLabelsEs(numberLocale = "es-ES"): UiKitLabels {
1534
1525
  countryCode: "Prefijo del país",
1535
1526
  other: "Otro",
1536
1527
  },
1537
- signChip: {
1538
- outflow: "Salida",
1539
- inflow: "Entrada",
1540
- direction: (current, next) => `Dirección: ${current} — cambiar a ${next}`,
1541
- switchTo: (next) => `Cambiar a ${next}`,
1542
- },
1543
1528
  columnMapper: {
1544
1529
  paste: "Pegar una tabla",
1545
1530
  pasteHint: "Copie las filas de una hoja de cálculo y péguelas aquí, o suelte un archivo CSV o de texto.",
@@ -151,6 +151,7 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
151
151
  feedbackContext: {
152
152
  user: "Utilisateur",
153
153
  attachUrl: "Joindre l’URL de la page actuelle",
154
+ diagnostics: "Diagnostic envoyé avec le retour",
154
155
  },
155
156
  feedbackPage: {
156
157
  title: "Retours reçus",
@@ -183,15 +184,13 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
183
184
  cancel: "Annuler",
184
185
  url: "URL",
185
186
  copyUrl: "Copier l’URL",
187
+ diagnostics: "Diagnostic",
186
188
  attachment: "Pièce jointe",
187
189
  download: (name) => `Télécharger ${name}`,
188
190
  downloadFailed: "La pièce jointe n’a pas pu être téléchargée.",
189
191
  outcome: "Résultat",
190
192
  replies: "Réponses",
191
193
  resolvedAt: (date) => `Résolu le ${date}`,
192
- outcomeAdd: "Ajouter un résultat",
193
- outcomeUpdate: "Mettre à jour",
194
- outcomePlaceholder: "Ce qui a été fait ou décidé, ou pourquoi ce point ne sera pas traité.",
195
194
  rework: "Reprise",
196
195
  reworkTitle: "Renvoyer pour reprise",
197
196
  reworkSend: "Demander la reprise",
@@ -508,13 +507,6 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
508
507
  noResults: "Aucune icône ne correspond",
509
508
  resultCount: (count) => `${n(count)} ${plural(count, "icône", "icônes")}`,
510
509
  },
511
- fieldSync: {
512
- synced: "Enregistré",
513
- edited: "Modifications non enregistrées",
514
- pending: "Enregistrement…",
515
- error: "Échec de l’enregistrement",
516
- retry: "Réessayer",
517
- },
518
510
  passwordReveal: {
519
511
  show: "Afficher le mot de passe",
520
512
  hide: "Masquer le mot de passe",
@@ -547,7 +539,6 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
547
539
  palette: "Préréglage d’apparence",
548
540
  language: "Langue",
549
541
  languageCurrent: (name) => `Choisir la langue, actuelle\u00a0: ${name}`,
550
- switchRole: "Changer de rôle",
551
542
  role: (value) => `Rôle\u00a0: ${value}`,
552
543
  },
553
544
  pickerSheet: {
@@ -754,8 +745,8 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
754
745
  legend: "Catégories",
755
746
  },
756
747
  treemap: {
757
- tile: (name, value, share) => `${name}\u00a0: ${value} (${share})`,
758
- group: (name, value, share) => `${name}, groupe\u00a0: ${value} (${share})`,
748
+ tile: (name, value, share) => `${name}\u00a0: ${value}${share ? ` (${share})` : ""}`,
749
+ group: (name, value, share) => `${name}, groupe\u00a0: ${value}${share ? ` (${share})` : ""}`,
759
750
  inGroup: (name, group) => `${name}, dans ${group}`,
760
751
  },
761
752
  confirmDialog: {
@@ -1561,12 +1552,6 @@ export function uiKitLabelsFr(numberLocale = "fr-FR"): UiKitLabels {
1561
1552
  countryCode: "Indicatif du pays",
1562
1553
  other: "Autre",
1563
1554
  },
1564
- signChip: {
1565
- outflow: "Sortie",
1566
- inflow: "Entrée",
1567
- direction: (current, next) => `Sens\u00a0: ${current} — passer à ${next}`,
1568
- switchTo: (next) => `Passer à ${next}`,
1569
- },
1570
1555
  columnMapper: {
1571
1556
  paste: "Coller un tableau",
1572
1557
  pasteHint: "Copiez les lignes d’un tableur et collez-les ici, ou déposez un fichier CSV ou texte.",
@@ -148,6 +148,7 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
148
148
  feedbackContext: {
149
149
  user: "Felhasználó",
150
150
  attachUrl: "Az aktuális oldal URL-jének csatolása",
151
+ diagnostics: "A bejelentéssel küldött diagnosztika",
151
152
  },
152
153
  feedbackPage: {
153
154
  title: "Beérkezett visszajelzések",
@@ -180,15 +181,13 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
180
181
  cancel: "Mégse",
181
182
  url: "URL",
182
183
  copyUrl: "URL másolása",
184
+ diagnostics: "Diagnosztika",
183
185
  attachment: "Melléklet",
184
186
  download: (name) => `${name} letöltése`,
185
187
  downloadFailed: "A mellékletet nem sikerült letölteni.",
186
188
  outcome: "Eredmény",
187
189
  replies: "Válaszok",
188
190
  resolvedAt: (date) => `Lezárva: ${date}`,
189
- outcomeAdd: "Eredmény hozzáadása",
190
- outcomeUpdate: "Frissítés",
191
- outcomePlaceholder: "Mi készült el, mi a döntés, vagy miért nem valósul meg.",
192
191
  rework: "Átdolgozás",
193
192
  reworkTitle: "Visszaküldés átdolgozásra",
194
193
  reworkSend: "Átdolgozás kérése",
@@ -499,13 +498,6 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
499
498
  noResults: "Nincs megfelelő ikon",
500
499
  resultCount: (count) => `${n(count)} ikon`,
501
500
  },
502
- fieldSync: {
503
- synced: "Mentve",
504
- edited: "Nem mentett módosítások",
505
- pending: "Mentés…",
506
- error: "A mentés nem sikerült",
507
- retry: "Újra",
508
- },
509
501
  passwordReveal: {
510
502
  show: "Jelszó megjelenítése",
511
503
  hide: "Jelszó elrejtése",
@@ -539,7 +531,6 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
539
531
  palette: "Megjelenési séma",
540
532
  language: "Nyelv",
541
533
  languageCurrent: (name) => `Nyelv kiválasztása, jelenlegi: ${name}`,
542
- switchRole: "Szerepkör váltása",
543
534
  role: (value) => `Szerepkör: ${value}`,
544
535
  },
545
536
  pickerSheet: {
@@ -742,10 +733,10 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
742
733
  legend: "Kategóriák",
743
734
  },
744
735
  treemap: {
745
- tile: (name, value, share) => `${name}: ${value} (${share})`,
736
+ tile: (name, value, share) => `${name}: ${value}${share ? ` (${share})` : ""}`,
746
737
  // Appositive, not a case ending: "-ban/-ben" and the article follow the name's own
747
738
  // sounds, which a template cannot know.
748
- group: (name, value, share) => `${name} csoport: ${value} (${share})`,
739
+ group: (name, value, share) => `${name} csoport: ${value}${share ? ` (${share})` : ""}`,
749
740
  inGroup: (name, group) => `${name}, ${group} csoport`,
750
741
  },
751
742
  confirmDialog: {
@@ -1537,12 +1528,6 @@ export function uiKitLabelsHu(numberLocale = "hu-HU"): UiKitLabels {
1537
1528
  countryCode: "Országhívó szám",
1538
1529
  other: "Egyéb",
1539
1530
  },
1540
- signChip: {
1541
- outflow: "Kiadás",
1542
- inflow: "Bevétel",
1543
- direction: (current, next) => `Irány: ${current} – váltás erre: ${next}`,
1544
- switchTo: (next) => `Váltás erre: ${next}`,
1545
- },
1546
1531
  columnMapper: {
1547
1532
  paste: "Táblázat beillesztése",
1548
1533
  pasteHint:
@@ -150,6 +150,7 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
150
150
  feedbackContext: {
151
151
  user: "Utente",
152
152
  attachUrl: "Allega l’URL della pagina corrente",
153
+ diagnostics: "Diagnostica inviata con la segnalazione",
153
154
  },
154
155
  feedbackPage: {
155
156
  title: "Feedback ricevuti",
@@ -182,15 +183,13 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
182
183
  cancel: "Annulla",
183
184
  url: "URL",
184
185
  copyUrl: "Copia URL",
186
+ diagnostics: "Diagnostica",
185
187
  attachment: "Allegato",
186
188
  download: (name) => `Scarica ${name}`,
187
189
  downloadFailed: "Non è stato possibile scaricare l’allegato.",
188
190
  outcome: "Esito",
189
191
  replies: "Risposte",
190
192
  resolvedAt: (date) => `Risolto il ${date}`,
191
- outcomeAdd: "Aggiungi esito",
192
- outcomeUpdate: "Aggiorna",
193
- outcomePlaceholder: "Cosa è stato fatto o deciso, oppure perché non verrà affrontato.",
194
193
  rework: "Rielaborazione",
195
194
  reworkTitle: "Rimanda in rielaborazione",
196
195
  reworkSend: "Richiedi rielaborazione",
@@ -504,13 +503,6 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
504
503
  noResults: "Nessuna icona corrispondente",
505
504
  resultCount: (count) => `${n(count)} ${plural(count, "icona", "icone")}`,
506
505
  },
507
- fieldSync: {
508
- synced: "Salvato",
509
- edited: "Modifiche non salvate",
510
- pending: "Salvataggio…",
511
- error: "Impossibile salvare",
512
- retry: "Riprova",
513
- },
514
506
  passwordReveal: {
515
507
  show: "Mostra password",
516
508
  hide: "Nascondi password",
@@ -543,7 +535,6 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
543
535
  palette: "Preset di aspetto",
544
536
  language: "Lingua",
545
537
  languageCurrent: (name) => `Scegli la lingua, attuale: ${name}`,
546
- switchRole: "Cambia ruolo",
547
538
  role: (value) => `Ruolo: ${value}`,
548
539
  },
549
540
  pickerSheet: {
@@ -745,8 +736,8 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
745
736
  legend: "Categorie",
746
737
  },
747
738
  treemap: {
748
- tile: (name, value, share) => `${name}: ${value} (${share})`,
749
- group: (name, value, share) => `${name}, gruppo: ${value} (${share})`,
739
+ tile: (name, value, share) => `${name}: ${value}${share ? ` (${share})` : ""}`,
740
+ group: (name, value, share) => `${name}, gruppo: ${value}${share ? ` (${share})` : ""}`,
750
741
  inGroup: (name, group) => `${name}, in ${group}`,
751
742
  },
752
743
  confirmDialog: {
@@ -1544,13 +1535,6 @@ export function uiKitLabelsIt(numberLocale = "it-IT"): UiKitLabels {
1544
1535
  countryCode: "Prefisso internazionale",
1545
1536
  other: "Altro",
1546
1537
  },
1547
- signChip: {
1548
- outflow: "Uscita",
1549
- inflow: "Entrata",
1550
- // "premere per…": an instruction without a tu imperative, as the kit's Italian is formal.
1551
- direction: (current, next) => `Direzione: ${current} – premere per passare a ${next}`,
1552
- switchTo: (next) => `Passa a ${next}`,
1553
- },
1554
1538
  columnMapper: {
1555
1539
  paste: "Incolla una tabella",
1556
1540
  pasteHint: "Copi le righe da un foglio di calcolo e le incolli qui, oppure trascini un file CSV o di testo.",
@@ -141,6 +141,7 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
141
141
  feedbackContext: {
142
142
  user: "用户",
143
143
  attachUrl: "附加当前页面 URL",
144
+ diagnostics: "随反馈发送的诊断信息",
144
145
  },
145
146
  feedbackPage: {
146
147
  title: "反馈收件箱",
@@ -173,15 +174,13 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
173
174
  cancel: "取消",
174
175
  url: "URL",
175
176
  copyUrl: "复制 URL",
177
+ diagnostics: "诊断信息",
176
178
  attachment: "附件",
177
179
  download: (name) => `下载 ${name}`,
178
180
  downloadFailed: "无法下载附件。",
179
181
  outcome: "处理结果",
180
182
  replies: "回复",
181
183
  resolvedAt: (date) => `解决日期:${date}`,
182
- outcomeAdd: "添加处理结果",
183
- outcomeUpdate: "更新",
184
- outcomePlaceholder: "做了什么、作出了什么决定,或为什么不予处理。",
185
184
  rework: "返工",
186
185
  reworkTitle: "退回返工",
187
186
  reworkSend: "提交返工",
@@ -489,13 +488,6 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
489
488
  noResults: "没有匹配的图标",
490
489
  resultCount: (count) => `${n(count)} 个图标`,
491
490
  },
492
- fieldSync: {
493
- synced: "已保存",
494
- edited: "有未保存的更改",
495
- pending: "正在保存…",
496
- error: "保存失败",
497
- retry: "重试",
498
- },
499
491
  passwordReveal: {
500
492
  show: "显示密码",
501
493
  hide: "隐藏密码",
@@ -529,7 +521,6 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
529
521
  palette: "外观预设",
530
522
  language: "语言",
531
523
  languageCurrent: (name) => `选择语言,当前:${name}`,
532
- switchRole: "切换角色",
533
524
  role: (value) => `角色:${value}`,
534
525
  },
535
526
  pickerSheet: {
@@ -726,8 +717,8 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
726
717
  legend: "类别",
727
718
  },
728
719
  treemap: {
729
- tile: (name, value, share) => `${name}:${value}(${share})`,
730
- group: (name, value, share) => `${name}(组):${value}(${share})`,
720
+ tile: (name, value, share) => `${name}:${value}${share ? `(${share})` : ""}`,
721
+ group: (name, value, share) => `${name}(组):${value}${share ? `(${share})` : ""}`,
731
722
  inGroup: (name, group) => `${name},属于${group}`,
732
723
  },
733
724
  confirmDialog: {
@@ -1485,12 +1476,6 @@ export function uiKitLabelsZh(numberLocale = "zh-CN"): UiKitLabels {
1485
1476
  countryCode: "国家/地区代码",
1486
1477
  other: "其他",
1487
1478
  },
1488
- signChip: {
1489
- outflow: "支出",
1490
- inflow: "收入",
1491
- direction: (current, next) => `方向:${current},切换为${next}`,
1492
- switchTo: (next) => `切换为${next}`,
1493
- },
1494
1479
  columnMapper: {
1495
1480
  paste: "粘贴表格",
1496
1481
  pasteHint: "从电子表格中复制行并粘贴到此处,或拖放 CSV 或文本文件。",
@@ -163,8 +163,15 @@ export const KIT_LABEL_SAMPLES: Readonly<Record<string, readonly (readonly unkno
163
163
  "globalSearch.shortcut": [["{{keys}}"]],
164
164
  "pieChart.slice": [["{{label}}", "{{value}}", "{{percent}}"]],
165
165
  "pieChart.sliceShare": [["{{label}}", "{{percent}}"]],
166
- "treemap.tile": [["{{name}}", "{{value}}", "{{share}}"]],
167
- "treemap.group": [["{{name}}", "{{value}}", "{{share}}"]],
166
+ // The second form is `shareInValue` (0.53): no share, and nothing round it.
167
+ "treemap.tile": [
168
+ ["{{name}}", "{{value}}", "{{share}}"],
169
+ ["{{name}}", "{{value}}", ""],
170
+ ],
171
+ "treemap.group": [
172
+ ["{{name}}", "{{value}}", "{{share}}"],
173
+ ["{{name}}", "{{value}}", ""],
174
+ ],
168
175
  "treemap.inGroup": [["{{name}}", "{{group}}"]],
169
176
  "sparkline.rising": [["{{first}}", "{{last}}"]],
170
177
  "sparkline.falling": [["{{first}}", "{{last}}"]],
@@ -284,8 +291,6 @@ export const KIT_LABEL_SAMPLES: Readonly<Record<string, readonly (readonly unkno
284
291
  "inlineEdit.edit": [["{{label}}"]],
285
292
  "ibanInput.country": [["{{code}}"]],
286
293
  "ibanInput.length": [[20, 21]],
287
- "signChip.direction": [["{{current}}", "{{next}}"]],
288
- "signChip.switchTo": [["{{next}}"]],
289
294
  "rowActions.actionsFor": [["{{name}}"]],
290
295
  "rowActions.confirmTitle": [["{{action}}", "{{name}}"], ["{{action}}"]],
291
296
  "columnMapper.readError": [["{{name}}"]],
@@ -106,7 +106,6 @@ export const DEFAULT_TOP_BAR_LABELS: TopBarLabels = {
106
106
  palette: "Appearance preset",
107
107
  language: "Language",
108
108
  languageCurrent: (name) => `Choose language, current: ${name}`,
109
- switchRole: "Switch role",
110
109
  role: (value) => `Role: ${value}`,
111
110
  };
112
111