@nanahoshi/mona-ui 0.34.0 → 0.35.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 (80) hide show
  1. package/alert/package.json +4 -0
  2. package/badge/package.json +4 -0
  3. package/docs/alert.md +219 -0
  4. package/docs/api/alert.md +78 -0
  5. package/docs/api/avatar.md +25 -0
  6. package/docs/api/badge.md +24 -0
  7. package/docs/api/common.md +2 -2
  8. package/docs/api/i18n.md +45 -0
  9. package/docs/api/locales.md +14 -14
  10. package/docs/api/multi-select.md +2 -0
  11. package/docs/api/separator.md +23 -0
  12. package/docs/api/toolbar.md +81 -0
  13. package/docs/avatar.md +108 -6
  14. package/docs/badge.md +181 -0
  15. package/docs/multi-select.md +54 -0
  16. package/docs/separator.md +147 -0
  17. package/docs/sidebar-menus.md +1 -1
  18. package/docs/toolbar.md +327 -0
  19. package/fesm2022/nanahoshi-mona-ui-alert.mjs +422 -0
  20. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +182 -3
  21. package/fesm2022/nanahoshi-mona-ui-badge.mjs +273 -0
  22. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -0
  23. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +3 -0
  24. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +3 -0
  25. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +3 -0
  26. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +3 -0
  27. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +3 -0
  28. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +3 -0
  29. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +3 -0
  30. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +3 -0
  31. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +3 -0
  32. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +3 -0
  33. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +3 -0
  34. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +3 -0
  35. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +3 -0
  36. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +3 -0
  37. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +83 -2
  38. package/fesm2022/nanahoshi-mona-ui-separator.mjs +165 -0
  39. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +3 -3
  40. package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +536 -0
  41. package/i18n/catalogs/en-US.messages.json +9 -0
  42. package/llms.txt +11 -3
  43. package/locales/ar-sa/ar-sa.messages.json +9 -0
  44. package/locales/de-de/de-de.messages.json +9 -0
  45. package/locales/es-es/es-es.messages.json +9 -0
  46. package/locales/fr-fr/fr-fr.messages.json +9 -0
  47. package/locales/id-id/id-id.messages.json +9 -0
  48. package/locales/it-it/it-it.messages.json +9 -0
  49. package/locales/ja-jp/ja-jp.messages.json +9 -0
  50. package/locales/ko-kr/ko-kr.messages.json +9 -0
  51. package/locales/pl-pl/pl-pl.messages.json +9 -0
  52. package/locales/pt-br/pt-br.messages.json +9 -0
  53. package/locales/ru-ru/ru-ru.messages.json +9 -0
  54. package/locales/tr-tr/tr-tr.messages.json +9 -0
  55. package/locales/zh-cn/zh-cn.messages.json +9 -0
  56. package/locales/zh-tw/zh-tw.messages.json +9 -0
  57. package/package.json +17 -1
  58. package/separator/package.json +4 -0
  59. package/toolbar/package.json +4 -0
  60. package/types/nanahoshi-mona-ui-alert.d.ts +144 -0
  61. package/types/nanahoshi-mona-ui-avatar.d.ts +66 -0
  62. package/types/nanahoshi-mona-ui-badge.d.ts +82 -0
  63. package/types/nanahoshi-mona-ui-i18n.d.ts +24 -0
  64. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +9 -0
  65. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +9 -0
  66. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +9 -0
  67. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +9 -0
  68. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +9 -0
  69. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +9 -0
  70. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +9 -0
  71. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +9 -0
  72. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +9 -0
  73. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +9 -0
  74. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +9 -0
  75. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +9 -0
  76. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +9 -0
  77. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +9 -0
  78. package/types/nanahoshi-mona-ui-multi-select.d.ts +27 -0
  79. package/types/nanahoshi-mona-ui-separator.d.ts +66 -0
  80. package/types/nanahoshi-mona-ui-toolbar.d.ts +183 -0
@@ -0,0 +1,273 @@
1
+ import * as i0 from "@angular/core";
2
+ import { Directive, computed, input } from "@angular/core";
3
+ import { classInputToClass } from "@nanahoshi/mona-ui/common";
4
+ import { twMerge } from "tailwind-merge";
5
+ import { cva } from "class-variance-authority";
6
+ const BADGE_BASE_CLASSES = `
7
+ inline-flex w-fit shrink-0 items-center justify-center gap-1 whitespace-nowrap
8
+ border border-transparent font-medium tabular-nums
9
+ forced-colors:border-[CanvasText]
10
+ [&>svg]:pointer-events-none [&>svg]:shrink-0
11
+ `;
12
+ const badgeThemeVariants = cva(BADGE_BASE_CLASSES, {
13
+ variants: {
14
+ fill: {
15
+ outline: "bg-transparent",
16
+ solid: "",
17
+ subtle: ""
18
+ },
19
+ look: {
20
+ error: "",
21
+ info: "",
22
+ primary: "",
23
+ secondary: "",
24
+ success: "",
25
+ warning: ""
26
+ },
27
+ rounded: {
28
+ full: "rounded-full",
29
+ large: "rounded-lg",
30
+ medium: "rounded-md",
31
+ none: "rounded-none",
32
+ small: "rounded-sm"
33
+ },
34
+ size: {
35
+ small: "h-4 min-w-4 px-1 text-[0.625rem] leading-none [&>svg]:size-2.5",
36
+ medium: "h-5 min-w-5 px-1.5 text-xs [&>svg]:size-3",
37
+ large: "h-6 min-w-6 px-2 text-sm [&>svg]:size-3.5"
38
+ }
39
+ },
40
+ compoundVariants: [
41
+ {
42
+ fill: "solid",
43
+ look: "primary",
44
+ class: "bg-primary text-primary-foreground"
45
+ },
46
+ {
47
+ fill: "solid",
48
+ look: "secondary",
49
+ class: "bg-secondary text-secondary-foreground"
50
+ },
51
+ {
52
+ fill: "solid",
53
+ look: "success",
54
+ class: "bg-success text-success-foreground"
55
+ },
56
+ {
57
+ fill: "solid",
58
+ look: "warning",
59
+ class: "bg-warning text-warning-foreground"
60
+ },
61
+ {
62
+ fill: "solid",
63
+ look: "error",
64
+ class: "bg-error text-error-foreground"
65
+ },
66
+ {
67
+ fill: "solid",
68
+ look: "info",
69
+ class: "bg-info text-info-foreground"
70
+ },
71
+ {
72
+ fill: "subtle",
73
+ look: "primary",
74
+ class: "bg-primary-subtle text-primary-subtle-foreground"
75
+ },
76
+ {
77
+ fill: "subtle",
78
+ look: "secondary",
79
+ class: "bg-secondary-subtle text-secondary-subtle-foreground"
80
+ },
81
+ {
82
+ fill: "subtle",
83
+ look: "success",
84
+ class: "bg-success-subtle text-success-subtle-foreground"
85
+ },
86
+ {
87
+ fill: "subtle",
88
+ look: "warning",
89
+ class: "bg-warning-subtle text-warning-subtle-foreground"
90
+ },
91
+ {
92
+ fill: "subtle",
93
+ look: "error",
94
+ class: "bg-error-subtle text-error-subtle-foreground"
95
+ },
96
+ {
97
+ fill: "subtle",
98
+ look: "info",
99
+ class: "bg-info-subtle text-info-subtle-foreground"
100
+ },
101
+ {
102
+ fill: "outline",
103
+ look: "primary",
104
+ class: "border-primary-border text-foreground"
105
+ },
106
+ {
107
+ fill: "outline",
108
+ look: "secondary",
109
+ class: "border-border text-foreground"
110
+ },
111
+ {
112
+ fill: "outline",
113
+ look: "success",
114
+ class: "border-success-border text-foreground"
115
+ },
116
+ {
117
+ fill: "outline",
118
+ look: "warning",
119
+ class: "border-warning-border text-foreground"
120
+ },
121
+ {
122
+ fill: "outline",
123
+ look: "error",
124
+ class: "border-error-border text-foreground"
125
+ },
126
+ {
127
+ fill: "outline",
128
+ look: "info",
129
+ class: "border-info-border text-foreground"
130
+ }
131
+ ],
132
+ defaultVariants: {
133
+ fill: "solid",
134
+ look: "secondary",
135
+ rounded: "medium",
136
+ size: "medium"
137
+ }
138
+ });
139
+ var BadgeDirective = class BadgeDirective {
140
+ constructor() {
141
+ this.baseClass = computed(() => twMerge(badgeThemeVariants({
142
+ fill: this.fill(),
143
+ look: this.look(),
144
+ rounded: this.rounded(),
145
+ size: this.size()
146
+ }), this.userClass()), ...ngDevMode ? [{ debugName: "baseClass" }] : /* istanbul ignore next */ []);
147
+ this.fill = input("solid", ...ngDevMode ? [{ debugName: "fill" }] : /* istanbul ignore next */ []);
148
+ this.look = input("secondary", ...ngDevMode ? [{ debugName: "look" }] : /* istanbul ignore next */ []);
149
+ this.rounded = input("medium", ...ngDevMode ? [{ debugName: "rounded" }] : /* istanbul ignore next */ []);
150
+ this.size = input("medium", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
151
+ this.userClass = input("", {
152
+ ...ngDevMode ? { debugName: "userClass" } : /* istanbul ignore next */ {},
153
+ alias: "class",
154
+ transform: (value) => classInputToClass(value)
155
+ });
156
+ }
157
+ static {
158
+ this.ɵfac = i0.ɵɵngDeclareFactory({
159
+ minVersion: "12.0.0",
160
+ version: "22.2.6",
161
+ ngImport: i0,
162
+ type: BadgeDirective,
163
+ deps: [],
164
+ target: i0.ɵɵFactoryTarget.Directive
165
+ });
166
+ }
167
+ static {
168
+ this.ɵdir = i0.ɵɵngDeclareDirective({
169
+ minVersion: "17.1.0",
170
+ version: "22.2.6",
171
+ type: BadgeDirective,
172
+ isStandalone: true,
173
+ selector: "[monaBadge]",
174
+ inputs: {
175
+ fill: {
176
+ classPropertyName: "fill",
177
+ publicName: "fill",
178
+ isSignal: true,
179
+ isRequired: false,
180
+ transformFunction: null
181
+ },
182
+ look: {
183
+ classPropertyName: "look",
184
+ publicName: "look",
185
+ isSignal: true,
186
+ isRequired: false,
187
+ transformFunction: null
188
+ },
189
+ rounded: {
190
+ classPropertyName: "rounded",
191
+ publicName: "rounded",
192
+ isSignal: true,
193
+ isRequired: false,
194
+ transformFunction: null
195
+ },
196
+ size: {
197
+ classPropertyName: "size",
198
+ publicName: "size",
199
+ isSignal: true,
200
+ isRequired: false,
201
+ transformFunction: null
202
+ },
203
+ userClass: {
204
+ classPropertyName: "userClass",
205
+ publicName: "class",
206
+ isSignal: true,
207
+ isRequired: false,
208
+ transformFunction: null
209
+ }
210
+ },
211
+ host: { properties: { "class": "baseClass()" } },
212
+ ngImport: i0
213
+ });
214
+ }
215
+ };
216
+ i0.ɵɵngDeclareClassMetadata({
217
+ minVersion: "12.0.0",
218
+ version: "22.2.6",
219
+ ngImport: i0,
220
+ type: BadgeDirective,
221
+ decorators: [{
222
+ type: Directive,
223
+ args: [{
224
+ selector: "[monaBadge]",
225
+ host: { "[class]": "baseClass()" }
226
+ }]
227
+ }],
228
+ propDecorators: {
229
+ fill: [{
230
+ type: i0.Input,
231
+ args: [{
232
+ isSignal: true,
233
+ alias: "fill",
234
+ required: false
235
+ }]
236
+ }],
237
+ look: [{
238
+ type: i0.Input,
239
+ args: [{
240
+ isSignal: true,
241
+ alias: "look",
242
+ required: false
243
+ }]
244
+ }],
245
+ rounded: [{
246
+ type: i0.Input,
247
+ args: [{
248
+ isSignal: true,
249
+ alias: "rounded",
250
+ required: false
251
+ }]
252
+ }],
253
+ size: [{
254
+ type: i0.Input,
255
+ args: [{
256
+ isSignal: true,
257
+ alias: "size",
258
+ required: false
259
+ }]
260
+ }],
261
+ userClass: [{
262
+ type: i0.Input,
263
+ args: [{
264
+ isSignal: true,
265
+ alias: "class",
266
+ required: false
267
+ }]
268
+ }]
269
+ }
270
+ });
271
+ export { BADGE_BASE_CLASSES, BadgeDirective };
272
+
273
+ //# sourceMappingURL=nanahoshi-mona-ui-badge.mjs.map
@@ -1,7 +1,16 @@
1
1
  import { isDevMode } from "@angular/core";
2
2
  import { MONA_FALLBACK_LOCALE_ID, canonicalizeLocaleId, formatNumber, tryCanonicalizeLocaleId } from "@nanahoshi/mona-ui/i18n";
3
3
  const MONA_MESSAGE_PARAMETERS = {
4
+ alert: { dismissLabel: [{
5
+ name: "title",
6
+ optional: true,
7
+ type: "string"
8
+ }] },
4
9
  autoComplete: { clear: null },
10
+ avatar: { moreLabel: [{
11
+ name: "count",
12
+ type: "number"
13
+ }] },
5
14
  breadcrumb: {
6
15
  breadcrumb: null,
7
16
  showFullPath: null
@@ -1088,6 +1097,7 @@ const MONA_MESSAGE_PARAMETERS = {
1088
1097
  set: null,
1089
1098
  timeSelector: null
1090
1099
  },
1100
+ toolbar: { moreLabel: null },
1091
1101
  treeView: {
1092
1102
  collapse: null,
1093
1103
  expand: null,
@@ -10,7 +10,9 @@ const MONA_AR_SA_LOCALE = {
10
10
  direction: "rtl",
11
11
  id: "ar-SA",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `إغلاق ${title}` : "إغلاق التنبيه" },
13
14
  autoComplete: { clear: "مسح" },
15
+ avatar: { moreLabel: (count) => `و${localizeNumber(count)} آخرون` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "مسار التنقل",
16
18
  showFullPath: "إظهار المسار الكامل"
@@ -624,6 +626,7 @@ const MONA_AR_SA_LOCALE = {
624
626
  set: "تعيين",
625
627
  timeSelector: "منتقي الوقت"
626
628
  },
629
+ toolbar: { moreLabel: "المزيد" },
627
630
  treeView: {
628
631
  collapse: "طي",
629
632
  expand: "توسيع",
@@ -10,7 +10,9 @@ const MONA_DE_DE_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "de-DE",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `${title} schließen` : "Hinweis schließen" },
13
14
  autoComplete: { clear: "Leeren" },
15
+ avatar: { moreLabel: (count) => `${localizeNumber(count)} weitere` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Breadcrumb-Navigation",
16
18
  showFullPath: "Vollständigen Pfad anzeigen"
@@ -568,6 +570,7 @@ const MONA_DE_DE_LOCALE = {
568
570
  set: "Übernehmen",
569
571
  timeSelector: "Zeitauswahl"
570
572
  },
573
+ toolbar: { moreLabel: "Mehr" },
571
574
  treeView: {
572
575
  collapse: "Einklappen",
573
576
  expand: "Erweitern",
@@ -10,7 +10,9 @@ const MONA_ES_ES_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "es-ES",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Descartar ${title}` : "Descartar aviso" },
13
14
  autoComplete: { clear: "Limpiar" },
15
+ avatar: { moreLabel: (count) => `${localizeNumber(count)} más` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Ruta de navegación",
16
18
  showFullPath: "Mostrar la ruta completa"
@@ -574,6 +576,7 @@ const MONA_ES_ES_LOCALE = {
574
576
  set: "Establecer",
575
577
  timeSelector: "Selector de hora"
576
578
  },
579
+ toolbar: { moreLabel: "Más" },
577
580
  treeView: {
578
581
  collapse: "Contraer",
579
582
  expand: "Expandir",
@@ -10,7 +10,9 @@ const MONA_FR_FR_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "fr-FR",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Fermer ${title}` : "Fermer l’alerte" },
13
14
  autoComplete: { clear: "Effacer" },
15
+ avatar: { moreLabel: (count) => count === 1 ? `${localizeNumber(count)} autre` : `${localizeNumber(count)} autres` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Fil d’Ariane",
16
18
  showFullPath: "Afficher le chemin complet"
@@ -574,6 +576,7 @@ const MONA_FR_FR_LOCALE = {
574
576
  set: "Valider",
575
577
  timeSelector: "Sélecteur d’heure"
576
578
  },
579
+ toolbar: { moreLabel: "Plus" },
577
580
  treeView: {
578
581
  collapse: "Réduire",
579
582
  expand: "Développer",
@@ -6,7 +6,9 @@ const MONA_ID_ID_LOCALE = {
6
6
  direction: "ltr",
7
7
  id: "id-ID",
8
8
  messages: {
9
+ alert: { dismissLabel: (title) => title ? `Tutup ${title}` : "Tutup peringatan" },
9
10
  autoComplete: { clear: "Bersihkan" },
11
+ avatar: { moreLabel: (count) => `${localizeNumber(count)} lainnya` },
10
12
  breadcrumb: {
11
13
  breadcrumb: "Navigasi remah roti",
12
14
  showFullPath: "Tampilkan jalur lengkap"
@@ -543,6 +545,7 @@ const MONA_ID_ID_LOCALE = {
543
545
  set: "Atur",
544
546
  timeSelector: "Pemilih waktu"
545
547
  },
548
+ toolbar: { moreLabel: "Lainnya" },
546
549
  treeView: {
547
550
  collapse: "Ciutkan",
548
551
  expand: "Perluas",
@@ -10,7 +10,9 @@ const MONA_IT_IT_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "it-IT",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Chiudi ${title}` : "Chiudi avviso" },
13
14
  autoComplete: { clear: "Cancella" },
15
+ avatar: { moreLabel: (count) => count === 1 ? "un altro" : `altri ${localizeNumber(count)}` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Percorso di navigazione",
16
18
  showFullPath: "Mostra il percorso completo"
@@ -574,6 +576,7 @@ const MONA_IT_IT_LOCALE = {
574
576
  set: "Imposta",
575
577
  timeSelector: "Selettore ora"
576
578
  },
579
+ toolbar: { moreLabel: "Altro" },
577
580
  treeView: {
578
581
  collapse: "Comprimi",
579
582
  expand: "Espandi",
@@ -6,7 +6,9 @@ const MONA_JA_JP_LOCALE = {
6
6
  direction: "ltr",
7
7
  id: "ja-JP",
8
8
  messages: {
9
+ alert: { dismissLabel: (title) => title ? `${title}を閉じる` : "閉じる" },
9
10
  autoComplete: { clear: "クリア" },
11
+ avatar: { moreLabel: (count) => `ほか${localizeNumber(count)}` },
10
12
  breadcrumb: {
11
13
  breadcrumb: "パンくずリスト",
12
14
  showFullPath: "パス全体を表示"
@@ -543,6 +545,7 @@ const MONA_JA_JP_LOCALE = {
543
545
  set: "設定",
544
546
  timeSelector: "時刻選択"
545
547
  },
548
+ toolbar: { moreLabel: "その他" },
546
549
  treeView: {
547
550
  collapse: "折りたたむ",
548
551
  expand: "展開",
@@ -6,7 +6,9 @@ const MONA_KO_KR_LOCALE = {
6
6
  direction: "ltr",
7
7
  id: "ko-KR",
8
8
  messages: {
9
+ alert: { dismissLabel: (title) => title ? `${title} 닫기` : "닫기" },
9
10
  autoComplete: { clear: "지우기" },
11
+ avatar: { moreLabel: (count) => `외 ${localizeNumber(count)}` },
10
12
  breadcrumb: {
11
13
  breadcrumb: "이동 경로",
12
14
  showFullPath: "전체 경로 표시"
@@ -543,6 +545,7 @@ const MONA_KO_KR_LOCALE = {
543
545
  set: "설정",
544
546
  timeSelector: "시간 선택기"
545
547
  },
548
+ toolbar: { moreLabel: "더 보기" },
546
549
  treeView: {
547
550
  collapse: "축소",
548
551
  expand: "확장",
@@ -10,7 +10,9 @@ const MONA_PL_PL_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "pl-PL",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Zamknij: ${title}` : "Zamknij alert" },
13
14
  autoComplete: { clear: "Wyczyść" },
15
+ avatar: { moreLabel: (count) => `jeszcze ${localizeNumber(count)}` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Ścieżka nawigacyjna",
16
18
  showFullPath: "Pokaż pełną ścieżkę"
@@ -642,6 +644,7 @@ const MONA_PL_PL_LOCALE = {
642
644
  set: "Ustaw",
643
645
  timeSelector: "Selektor godziny"
644
646
  },
647
+ toolbar: { moreLabel: "Więcej" },
645
648
  treeView: {
646
649
  collapse: "Zwiń",
647
650
  expand: "Rozwiń",
@@ -10,7 +10,9 @@ const MONA_PT_BR_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "pt-BR",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Fechar ${title}` : "Fechar alerta" },
13
14
  autoComplete: { clear: "Limpar" },
15
+ avatar: { moreLabel: (count) => `mais ${localizeNumber(count)}` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Trilha de navegação",
16
18
  showFullPath: "Mostrar caminho completo"
@@ -574,6 +576,7 @@ const MONA_PT_BR_LOCALE = {
574
576
  set: "Definir",
575
577
  timeSelector: "Seletor de hora"
576
578
  },
579
+ toolbar: { moreLabel: "Mais" },
577
580
  treeView: {
578
581
  collapse: "Recolher",
579
582
  expand: "Expandir",
@@ -10,7 +10,9 @@ const MONA_RU_RU_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "ru-RU",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Закрыть: ${title}` : "Закрыть уведомление" },
13
14
  autoComplete: { clear: "Очистить" },
15
+ avatar: { moreLabel: (count) => `ещё ${localizeNumber(count)}` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "Навигационная цепочка",
16
18
  showFullPath: "Показать полный путь"
@@ -627,6 +629,7 @@ const MONA_RU_RU_LOCALE = {
627
629
  set: "Установить",
628
630
  timeSelector: "Выбор времени"
629
631
  },
632
+ toolbar: { moreLabel: "Ещё" },
630
633
  treeView: {
631
634
  collapse: "Свернуть",
632
635
  expand: "Развернуть",
@@ -10,7 +10,9 @@ const MONA_TR_TR_LOCALE = {
10
10
  direction: "ltr",
11
11
  id: "tr-TR",
12
12
  messages: {
13
+ alert: { dismissLabel: (title) => title ? `Kapat: ${title}` : "Uyarıyı kapat" },
13
14
  autoComplete: { clear: "Temizle" },
15
+ avatar: { moreLabel: (count) => `${localizeNumber(count)} daha` },
14
16
  breadcrumb: {
15
17
  breadcrumb: "İçerik haritası",
16
18
  showFullPath: "Tam yolu göster"
@@ -559,6 +561,7 @@ const MONA_TR_TR_LOCALE = {
559
561
  set: "Ayarla",
560
562
  timeSelector: "Saat seçici"
561
563
  },
564
+ toolbar: { moreLabel: "Diğer" },
562
565
  treeView: {
563
566
  collapse: "Daralt",
564
567
  expand: "Genişlet",
@@ -6,7 +6,9 @@ const MONA_ZH_CN_LOCALE = {
6
6
  direction: "ltr",
7
7
  id: "zh-CN",
8
8
  messages: {
9
+ alert: { dismissLabel: (title) => title ? `关闭${title}` : "关闭提示" },
9
10
  autoComplete: { clear: "清除" },
11
+ avatar: { moreLabel: (count) => `还有 ${localizeNumber(count)} 个` },
10
12
  breadcrumb: {
11
13
  breadcrumb: "面包屑导航",
12
14
  showFullPath: "显示完整路径"
@@ -543,6 +545,7 @@ const MONA_ZH_CN_LOCALE = {
543
545
  set: "设置",
544
546
  timeSelector: "时间选择器"
545
547
  },
548
+ toolbar: { moreLabel: "更多" },
546
549
  treeView: {
547
550
  collapse: "折叠",
548
551
  expand: "展开",
@@ -6,7 +6,9 @@ const MONA_ZH_TW_LOCALE = {
6
6
  direction: "ltr",
7
7
  id: "zh-TW",
8
8
  messages: {
9
+ alert: { dismissLabel: (title) => title ? `關閉${title}` : "關閉提示" },
9
10
  autoComplete: { clear: "清除" },
11
+ avatar: { moreLabel: (count) => `還有 ${localizeNumber(count)} 個` },
10
12
  breadcrumb: {
11
13
  breadcrumb: "階層連結導航",
12
14
  showFullPath: "顯示完整路徑"
@@ -543,6 +545,7 @@ const MONA_ZH_TW_LOCALE = {
543
545
  set: "設定",
544
546
  timeSelector: "時間選取器"
545
547
  },
548
+ toolbar: { moreLabel: "更多" },
546
549
  treeView: {
547
550
  collapse: "摺疊",
548
551
  expand: "展開",