@nanahoshi/mona-ui 0.24.10 → 0.25.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 (165) hide show
  1. package/README.md +9 -0
  2. package/chart/README.md +223 -77
  3. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +11 -10
  4. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +37 -20
  5. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +239 -47
  6. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +184 -31
  7. package/fesm2022/nanahoshi-mona-ui-button.mjs +47 -11
  8. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +17 -13
  9. package/fesm2022/nanahoshi-mona-ui-card.mjs +54 -30
  10. package/fesm2022/nanahoshi-mona-ui-chart.mjs +1909 -666
  11. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +112 -31
  12. package/fesm2022/nanahoshi-mona-ui-chip.mjs +131 -89
  13. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +59 -19
  14. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +118 -41
  15. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +243 -212
  16. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +155 -86
  17. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +161 -131
  18. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +12 -11
  19. package/fesm2022/nanahoshi-mona-ui-common.mjs +18 -1
  20. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +10 -9
  21. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +10 -9
  22. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +2 -2
  23. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +2 -2
  24. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +10 -9
  25. package/fesm2022/nanahoshi-mona-ui-editor.mjs +25 -24
  26. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +202 -33
  27. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +31 -10
  28. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1 -1
  29. package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs} +2 -2
  30. package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs → nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs} +4 -4
  31. package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs → nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs} +7 -7
  32. package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs} +4 -4
  33. package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs} +27 -29
  34. package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
  35. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +146 -5
  36. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +2 -2
  37. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +1 -1
  38. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +5 -5
  39. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +7 -7
  40. package/fesm2022/nanahoshi-mona-ui-internal.mjs +183 -47
  41. package/fesm2022/nanahoshi-mona-ui-label.mjs +111 -15
  42. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1 -1
  43. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1 -1
  44. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +111 -5
  45. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +103 -5
  46. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +103 -5
  47. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +100 -6
  48. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +90 -5
  49. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +103 -5
  50. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +90 -5
  51. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +90 -5
  52. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +103 -5
  53. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +105 -5
  54. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +103 -5
  55. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +90 -5
  56. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +90 -5
  57. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +2 -2
  58. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +14 -13
  59. package/fesm2022/nanahoshi-mona-ui-notification.mjs +1 -1
  60. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +13 -12
  61. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +192 -56
  62. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1 -1
  63. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -1
  64. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2 -2
  65. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +60 -29
  66. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +334 -37
  67. package/fesm2022/nanahoshi-mona-ui-rating.mjs +84 -30
  68. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +274 -108
  69. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +127 -37
  70. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +2 -2
  71. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +595 -170
  72. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -2
  73. package/fesm2022/nanahoshi-mona-ui-slider.mjs +323 -166
  74. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +167 -82
  75. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +3 -3
  76. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +273 -165
  77. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +219 -132
  78. package/fesm2022/nanahoshi-mona-ui-switch.mjs +84 -32
  79. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +337 -116
  80. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +10 -12
  81. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +21 -8
  82. package/fesm2022/nanahoshi-mona-ui-theme.mjs +444 -88
  83. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +10 -9
  84. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +15 -14
  85. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +17 -3
  86. package/fesm2022/nanahoshi-mona-ui-window.mjs +1 -1
  87. package/i18n/catalogs/en-US.messages.json +90 -5
  88. package/locales/ar-sa/ar-sa.messages.json +90 -5
  89. package/locales/de-de/de-de.messages.json +90 -5
  90. package/locales/es-es/es-es.messages.json +90 -5
  91. package/locales/fr-fr/fr-fr.messages.json +91 -6
  92. package/locales/id-id/id-id.messages.json +90 -5
  93. package/locales/it-it/it-it.messages.json +90 -5
  94. package/locales/ja-jp/ja-jp.messages.json +90 -5
  95. package/locales/ko-kr/ko-kr.messages.json +90 -5
  96. package/locales/pt-br/pt-br.messages.json +90 -5
  97. package/locales/ru-ru/ru-ru.messages.json +90 -5
  98. package/locales/tr-tr/tr-tr.messages.json +90 -5
  99. package/locales/zh-cn/zh-cn.messages.json +90 -5
  100. package/locales/zh-tw/zh-tw.messages.json +90 -5
  101. package/package.json +2 -1
  102. package/styles.css +156 -0
  103. package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -0
  104. package/types/nanahoshi-mona-ui-avatar.d.ts +18 -11
  105. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +62 -14
  106. package/types/nanahoshi-mona-ui-button-group.d.ts +86 -16
  107. package/types/nanahoshi-mona-ui-button.d.ts +26 -3
  108. package/types/nanahoshi-mona-ui-calendar.d.ts +1 -0
  109. package/types/nanahoshi-mona-ui-card.d.ts +22 -6
  110. package/types/nanahoshi-mona-ui-chart.d.ts +519 -527
  111. package/types/nanahoshi-mona-ui-check-box.d.ts +54 -13
  112. package/types/nanahoshi-mona-ui-chip.d.ts +31 -18
  113. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +21 -5
  114. package/types/nanahoshi-mona-ui-collapsible.d.ts +20 -11
  115. package/types/nanahoshi-mona-ui-color-gradient.d.ts +62 -36
  116. package/types/nanahoshi-mona-ui-color-palette.d.ts +65 -27
  117. package/types/nanahoshi-mona-ui-color-picker.d.ts +64 -23
  118. package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -0
  119. package/types/nanahoshi-mona-ui-common.d.ts +28 -2
  120. package/types/nanahoshi-mona-ui-date-picker.d.ts +1 -0
  121. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +1 -0
  122. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +1 -0
  123. package/types/nanahoshi-mona-ui-editor.d.ts +1 -0
  124. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +51 -7
  125. package/types/nanahoshi-mona-ui-fieldset.d.ts +18 -4
  126. package/types/nanahoshi-mona-ui-grid.d.ts +0 -1
  127. package/types/nanahoshi-mona-ui-i18n.d.ts +130 -3
  128. package/types/nanahoshi-mona-ui-internal.d.ts +95 -14
  129. package/types/nanahoshi-mona-ui-label.d.ts +17 -2
  130. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +85 -0
  131. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +85 -0
  132. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +85 -0
  133. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +85 -0
  134. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +85 -0
  135. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +85 -0
  136. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +85 -0
  137. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +85 -0
  138. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +85 -0
  139. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +85 -0
  140. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +85 -0
  141. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +85 -0
  142. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +85 -0
  143. package/types/nanahoshi-mona-ui-multi-select.d.ts +1 -0
  144. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -0
  145. package/types/nanahoshi-mona-ui-otp-input.d.ts +49 -12
  146. package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -1
  147. package/types/nanahoshi-mona-ui-progress-bar.d.ts +21 -9
  148. package/types/nanahoshi-mona-ui-radio-button.d.ts +165 -20
  149. package/types/nanahoshi-mona-ui-rating.d.ts +21 -6
  150. package/types/nanahoshi-mona-ui-scroll-view.d.ts +59 -27
  151. package/types/nanahoshi-mona-ui-segmented.d.ts +52 -24
  152. package/types/nanahoshi-mona-ui-sidebar.d.ts +104 -41
  153. package/types/nanahoshi-mona-ui-skeleton.d.ts +1 -1
  154. package/types/nanahoshi-mona-ui-slider.d.ts +99 -35
  155. package/types/nanahoshi-mona-ui-spinner.d.ts +9 -5
  156. package/types/nanahoshi-mona-ui-splitter.d.ts +31 -10
  157. package/types/nanahoshi-mona-ui-stepper.d.ts +58 -12
  158. package/types/nanahoshi-mona-ui-switch.d.ts +32 -10
  159. package/types/nanahoshi-mona-ui-tabs.d.ts +75 -20
  160. package/types/nanahoshi-mona-ui-text-area.d.ts +7 -7
  161. package/types/nanahoshi-mona-ui-text-box.d.ts +2 -0
  162. package/types/nanahoshi-mona-ui-theme.d.ts +392 -15
  163. package/types/nanahoshi-mona-ui-time-picker.d.ts +1 -0
  164. package/types/nanahoshi-mona-ui-time-selector.d.ts +1 -0
  165. package/types/nanahoshi-mona-ui-tooltip.d.ts +7 -1
@@ -10,7 +10,8 @@ const JA_JP_MESSAGES = {
10
10
  clear: "クリア"
11
11
  },
12
12
  breadcrumb: {
13
- breadcrumb: "パンくずリスト"
13
+ breadcrumb: "パンくずリスト",
14
+ showFullPath: "パス全体を表示"
14
15
  },
15
16
  buttonGroup: {
16
17
  buttonGroup: "ボタングループ"
@@ -36,59 +37,129 @@ const JA_JP_MESSAGES = {
36
37
  actionsLabel: "カードのアクション"
37
38
  },
38
39
  chart: {
40
+ announcementSeparator: "、",
41
+ brushApplied: (count) => `範囲選択を適用しました、${localizeNumber(count)} 点`,
42
+ brushCleared: "範囲選択を解除しました",
43
+ brushRange: (from, to) => `${from} から ${to} までを範囲選択`,
44
+ category: "カテゴリ",
45
+ categoryFallbackName: (index) => `カテゴリ ${localizeNumber(index)}`,
46
+ categoryRange: (from, to) => `${from} から ${to} まで。`,
39
47
  change: "変化",
48
+ changeValue: (change) => `変化 ${change}`,
40
49
  chart: "チャート",
41
50
  chartLegend: "凡例",
51
+ chartRoleDescription: "グラフ",
42
52
  close: "終値",
43
53
  closeAbbreviation: "終",
44
54
  colorScale: "カラースケール",
45
55
  conversion: "コンバージョン",
56
+ conversionOfPrevious: (rate) => `前の段階からのコンバージョン ${rate}`,
57
+ dataTableTruncated: (shown, total) => `${localizeNumber(total)} 行のうち最初の ${localizeNumber(shown)} 行を表示しています。`,
58
+ decrease: "減少",
59
+ decreaseAnnouncement: (delta, from, to) => `減少 ${delta}、累計 ${from} から ${to}`,
46
60
  divergingRangeDescription: (title, minimum, midpoint, maximum) => `${title}、${minimum}から${maximum}まで、中間点${midpoint}`,
47
61
  dropOff: "離脱",
62
+ dropOffValue: (value) => `離脱 ${value}`,
48
63
  falling: "下降",
64
+ gaugeRange: (minimum, maximum) => `範囲 ${minimum} から ${maximum}`,
49
65
  high: "高値",
50
66
  highAbbreviation: "高",
67
+ increase: "増加",
68
+ increaseAnnouncement: (delta, from, to) => `増加 ${delta}、累計 ${from} から ${to}`,
69
+ itemDeselected: (item) => `${item}、選択解除`,
70
+ itemFallbackName: (index) => `項目 ${localizeNumber(index)}`,
71
+ itemSelected: (item) => `${item}、選択済み`,
72
+ keyboardHelp: "矢印キーでデータポイント間を移動、Home と End で最初と最後に移動、Enter または Space で実行、Escape でクリアします。",
51
73
  labelValueSeparator: ":",
74
+ labeledValue: (label, value) => `${label}:${value}`,
52
75
  low: "安値",
53
76
  lowAbbreviation: "安",
77
+ noChange: "変化なし",
78
+ noChangeAnnouncement: (value) => `変化なし、累計 ${value}`,
54
79
  noData: "データがありません",
80
+ ohlcValues: (open, high, low, close) => `始値 ${open}、高値 ${high}、安値 ${low}、終値 ${close}`,
55
81
  open: "始値",
56
82
  openAbbreviation: "始",
57
83
  overall: "全体",
84
+ overallConversion: (rate) => `全体のコンバージョン ${rate}`,
85
+ pannedDown: "下に移動しました",
86
+ pannedLeft: "左に移動しました",
87
+ pannedRight: "右に移動しました",
88
+ pannedUp: "上に移動しました",
89
+ pathSeparator: " / ",
90
+ pointPosition: (position, total) => `${localizeNumber(position)}/${localizeNumber(total)}`,
58
91
  range: "範囲",
59
92
  rangeDescription: (title, minimum, maximum) => `${title}、${minimum}から${maximum}まで`,
93
+ rangeValue: (from, to) => `${from} から ${to}`,
60
94
  rising: "上昇",
61
95
  runningTotal: "累計",
96
+ seriesFallbackName: (index) => `系列 ${localizeNumber(index)}`,
97
+ seriesHidden: (series) => `${series} を非表示`,
98
+ seriesShown: (series) => `${series} を表示`,
99
+ seriesSummary: (count, names) => `${localizeNumber(count)} 系列:${names}。`,
100
+ seriesValueRange: (series, minimum, maximum) => `${series}:最小 ${minimum}、最大 ${maximum}。`,
101
+ shareOfTotal: (share) => `合計の ${share}`,
62
102
  size: "サイズ",
103
+ sizeValue: (size) => `サイズ ${size}`,
104
+ stackShare: (share) => `積み上げ比率 ${share}`,
105
+ stageFallbackName: (index) => `段階 ${localizeNumber(index)}`,
106
+ stagePosition: (position, total) => `段階 ${localizeNumber(position)}/${localizeNumber(total)}`,
107
+ stepFallbackName: (index) => `ステップ ${localizeNumber(index)}`,
108
+ stepPosition: (position, total) => `ステップ ${localizeNumber(position)}/${localizeNumber(total)}`,
109
+ subtotal: "小計",
110
+ subtotalAnnouncement: (value) => `小計 ${value}`,
111
+ total: "合計",
112
+ totalAnnouncement: (value) => `合計 ${value}`,
113
+ treemapGroup: (count) => `グループ (子 ${localizeNumber(count)} 個)`,
114
+ treemapLeaf: "リーフ",
63
115
  unchanged: "変化なし",
64
116
  value: "値",
65
- visualIndicatorClamped: "視覚インジケーターが制限されています"
117
+ valueRange: (from, to) => `${from} – ${to}`,
118
+ viewportResetToDefault: "表示範囲を既定の範囲にリセットしました",
119
+ viewportResetToFull: "表示範囲を全範囲にリセットしました",
120
+ visualIndicatorClamped: "視覚インジケーターが制限されています",
121
+ zoomedIn: "拡大しました",
122
+ zoomedOut: "縮小しました"
66
123
  },
67
124
  chip: {
68
125
  removeLabel: (label) => (label ? `${label}を削除` : "項目を削除")
69
126
  },
70
127
  colorGradient: {
128
+ alpha: "アルファ",
129
+ alphaText: (opacity) => `不透明度${localizeNumber(opacity)}%`,
71
130
  apply: "適用",
131
+ blue: "青",
72
132
  cancel: "キャンセル",
73
133
  clearColor: "色をクリア",
134
+ colorCopied: "色をコピーしました",
135
+ colorGradient: "カラーグラデーション",
74
136
  copyAsHex: "HEXとしてコピー",
75
137
  copyAsRgb: "RGBとしてコピー",
76
138
  copyColor: "色をコピー",
139
+ copyFailed: "色をコピーできませんでした",
77
140
  currentColor: "現在の色",
141
+ green: "緑",
142
+ hexColor: "16進カラー",
143
+ hue: "色相",
78
144
  previousColor: "前の色",
145
+ red: "赤",
146
+ saturation: "彩度",
79
147
  saturationAndValue: "彩度と明度",
80
148
  saturationAndValueText: (saturation, value) => `彩度${localizeNumber(saturation)}%、明度${localizeNumber(value)}%`,
81
- switchColorMode: "カラーモードを切り替え"
149
+ switchColorMode: "カラーモードを切り替え",
150
+ value: "明度"
82
151
  },
83
152
  colorPalette: {
84
153
  color: (color) => `色: ${color}`,
85
- colorPalette: "カラーパレット"
154
+ colorPalette: "カラーパレット",
155
+ namedColor: (name, color) => `${name}、${color}`
86
156
  },
87
157
  colorPicker: {
88
158
  clearColor: "色をクリア",
89
159
  colorGradientPicker: "カラーグラデーションピッカー",
90
160
  colorPalettePicker: "カラーパレットピッカー",
91
- colorPicker: "カラーピッカー"
161
+ colorPicker: "カラーピッカー",
162
+ noColor: "色なし"
92
163
  },
93
164
  comboBox: {
94
165
  clear: "クリア"
@@ -278,6 +349,9 @@ const JA_JP_MESSAGES = {
278
349
  sortOrder: (position) => `並べ替え順 ${localizeNumber(position)}`,
279
350
  toolbar: "表のツールバー"
280
351
  },
352
+ label: {
353
+ optional: "任意"
354
+ },
281
355
  list: {
282
356
  filterList: "リストをフィルター",
283
357
  loading: "読み込み中",
@@ -343,6 +417,9 @@ const JA_JP_MESSAGES = {
343
417
  previousPageLabel: "前のページ",
344
418
  rangeStatus: (start, end, total) => `全${localizeNumber(total)}件中${localizeNumber(start)}~${localizeNumber(end)}件`
345
419
  },
420
+ progressBar: {
421
+ label: "進行状況"
422
+ },
346
423
  rating: {
347
424
  notRated: "未評価",
348
425
  valueText: (value, max) => `${localizeNumber(max)}段階中${localizeNumber(value)}`
@@ -352,6 +429,7 @@ const JA_JP_MESSAGES = {
352
429
  nextPage: "次のページ",
353
430
  page: (current) => `${localizeNumber(current)}ページ`,
354
431
  pageOf: (current, total) => `${localizeNumber(total)}ページ中${localizeNumber(current)}ページ`,
432
+ pages: "ページ",
355
433
  previousPage: "前のページ",
356
434
  scrollPagerNext: "ページャーを次へスクロール",
357
435
  scrollPagerPrevious: "ページャーを前へスクロール",
@@ -360,6 +438,10 @@ const JA_JP_MESSAGES = {
360
438
  sheet: {
361
439
  closeSheet: "シートを閉じる"
362
440
  },
441
+ sidebar: {
442
+ drawerLabel: "サイドバー",
443
+ rail: "サイドバーの表示を切り替え"
444
+ },
363
445
  slider: {
364
446
  maximumValue: "最大値",
365
447
  minimumValue: "最小値",
@@ -382,6 +464,9 @@ const JA_JP_MESSAGES = {
382
464
  resizer: "サイズ変更ハンドル"
383
465
  },
384
466
  stepper: {
467
+ stepCompleted: "完了",
468
+ stepInvalid: "エラーあり",
469
+ stepPosition: (current, total) => `ステップ ${localizeNumber(current)}/${localizeNumber(total)}`,
385
470
  stepProgress: "ステップの進行状況",
386
471
  stepper: "ステップ表示"
387
472
  },
@@ -10,7 +10,8 @@ const KO_KR_MESSAGES = {
10
10
  clear: "지우기"
11
11
  },
12
12
  breadcrumb: {
13
- breadcrumb: "이동 경로"
13
+ breadcrumb: "이동 경로",
14
+ showFullPath: "전체 경로 표시"
14
15
  },
15
16
  buttonGroup: {
16
17
  buttonGroup: "버튼 그룹"
@@ -36,59 +37,129 @@ const KO_KR_MESSAGES = {
36
37
  actionsLabel: "카드 작업"
37
38
  },
38
39
  chart: {
40
+ announcementSeparator: ", ",
41
+ brushApplied: (count) => `범위 선택 적용됨, ${localizeNumber(count)}개 지점`,
42
+ brushCleared: "범위 선택 해제됨",
43
+ brushRange: (from, to) => `${from}~${to} 범위 선택`,
44
+ category: "범주",
45
+ categoryFallbackName: (index) => `범주 ${localizeNumber(index)}`,
46
+ categoryRange: (from, to) => `${from}부터 ${to}까지.`,
39
47
  change: "변동",
48
+ changeValue: (change) => `변동 ${change}`,
40
49
  chart: "차트",
41
50
  chartLegend: "차트 범례",
51
+ chartRoleDescription: "차트",
42
52
  close: "종가",
43
53
  closeAbbreviation: "종",
44
54
  colorScale: "색상 스케일",
45
55
  conversion: "전환",
56
+ conversionOfPrevious: (rate) => `이전 단계 대비 전환율 ${rate}`,
57
+ dataTableTruncated: (shown, total) => `전체 ${localizeNumber(total)}개 행 중 처음 ${localizeNumber(shown)}개 표시.`,
58
+ decrease: "감소",
59
+ decreaseAnnouncement: (delta, from, to) => `감소 ${delta}, 누계 ${from}에서 ${to}(으)로`,
46
60
  divergingRangeDescription: (title, minimum, midpoint, maximum) => `${title}, ${minimum} ~ ${midpoint} ~ ${maximum}`,
47
61
  dropOff: "이탈",
62
+ dropOffValue: (value) => `이탈 ${value}`,
48
63
  falling: "하락",
64
+ gaugeRange: (minimum, maximum) => `범위 ${minimum}~${maximum}`,
49
65
  high: "고가",
50
66
  highAbbreviation: "고",
67
+ increase: "증가",
68
+ increaseAnnouncement: (delta, from, to) => `증가 ${delta}, 누계 ${from}에서 ${to}(으)로`,
69
+ itemDeselected: (item) => `${item}, 선택 해제됨`,
70
+ itemFallbackName: (index) => `항목 ${localizeNumber(index)}`,
71
+ itemSelected: (item) => `${item}, 선택됨`,
72
+ keyboardHelp: "화살표 키로 데이터 지점 사이를 이동하고, Home과 End로 처음과 끝으로 이동하며, Enter 또는 Space로 실행하고, Escape로 지웁니다.",
51
73
  labelValueSeparator: ":",
74
+ labeledValue: (label, value) => `${label}: ${value}`,
52
75
  low: "저가",
53
76
  lowAbbreviation: "저",
77
+ noChange: "변동 없음",
78
+ noChangeAnnouncement: (value) => `변동 없음, 누계 ${value}`,
54
79
  noData: "사용 가능한 데이터 없음",
80
+ ohlcValues: (open, high, low, close) => `시가 ${open}, 고가 ${high}, 저가 ${low}, 종가 ${close}`,
55
81
  open: "시가",
56
82
  openAbbreviation: "시",
57
83
  overall: "전체",
84
+ overallConversion: (rate) => `전체 전환율 ${rate}`,
85
+ pannedDown: "아래로 이동함",
86
+ pannedLeft: "왼쪽으로 이동함",
87
+ pannedRight: "오른쪽으로 이동함",
88
+ pannedUp: "위로 이동함",
89
+ pathSeparator: " / ",
90
+ pointPosition: (position, total) => `${localizeNumber(total)}개 중 ${localizeNumber(position)}번째`,
58
91
  range: "범위",
59
92
  rangeDescription: (title, minimum, maximum) => `${title}, ${minimum}~${maximum}`,
93
+ rangeValue: (from, to) => `${from}~${to}`,
60
94
  rising: "상승",
61
95
  runningTotal: "누계",
96
+ seriesFallbackName: (index) => `계열 ${localizeNumber(index)}`,
97
+ seriesHidden: (series) => `${series} 숨김`,
98
+ seriesShown: (series) => `${series} 표시`,
99
+ seriesSummary: (count, names) => `계열 ${localizeNumber(count)}개: ${names}.`,
100
+ seriesValueRange: (series, minimum, maximum) => `${series}: 최저 ${minimum}, 최고 ${maximum}.`,
101
+ shareOfTotal: (share) => `전체의 ${share}`,
62
102
  size: "크기",
103
+ sizeValue: (size) => `크기 ${size}`,
104
+ stackShare: (share) => `누적 비율 ${share}`,
105
+ stageFallbackName: (index) => `단계 ${localizeNumber(index)}`,
106
+ stagePosition: (position, total) => `${localizeNumber(total)}단계 중 ${localizeNumber(position)}단계`,
107
+ stepFallbackName: (index) => `스텝 ${localizeNumber(index)}`,
108
+ stepPosition: (position, total) => `${localizeNumber(total)}스텝 중 ${localizeNumber(position)}스텝`,
109
+ subtotal: "소계",
110
+ subtotalAnnouncement: (value) => `소계 ${value}`,
111
+ total: "합계",
112
+ totalAnnouncement: (value) => `합계 ${value}`,
113
+ treemapGroup: (count) => `그룹 (하위 항목 ${localizeNumber(count)}개)`,
114
+ treemapLeaf: "리프",
63
115
  unchanged: "변동 없음",
64
116
  value: "값",
65
- visualIndicatorClamped: "시각 표시기가 제한됨"
117
+ valueRange: (from, to) => `${from} – ${to}`,
118
+ viewportResetToDefault: "보기가 기본 범위로 재설정됨",
119
+ viewportResetToFull: "보기가 전체 범위로 재설정됨",
120
+ visualIndicatorClamped: "시각 표시기가 제한됨",
121
+ zoomedIn: "확대됨",
122
+ zoomedOut: "축소됨"
66
123
  },
67
124
  chip: {
68
125
  removeLabel: (label) => (label ? `${label} 삭제` : "항목 삭제")
69
126
  },
70
127
  colorGradient: {
128
+ alpha: "알파",
129
+ alphaText: (opacity) => `불투명도 ${localizeNumber(opacity)}%`,
71
130
  apply: "적용",
131
+ blue: "파랑",
72
132
  cancel: "취소",
73
133
  clearColor: "색상 지우기",
134
+ colorCopied: "색상을 복사했습니다",
135
+ colorGradient: "색상 그라데이션",
74
136
  copyAsHex: "HEX로 복사",
75
137
  copyAsRgb: "RGB로 복사",
76
138
  copyColor: "색상 복사",
139
+ copyFailed: "색상을 복사할 수 없습니다",
77
140
  currentColor: "현재 색상",
141
+ green: "초록",
142
+ hexColor: "16진수 색상",
143
+ hue: "색조",
78
144
  previousColor: "이전 색상",
145
+ red: "빨강",
146
+ saturation: "채도",
79
147
  saturationAndValue: "채도 및 명도",
80
148
  saturationAndValueText: (saturation, value) => `채도 ${localizeNumber(saturation)}%, 명도 ${localizeNumber(value)}%`,
81
- switchColorMode: "색상 모드 전환"
149
+ switchColorMode: "색상 모드 전환",
150
+ value: "명도"
82
151
  },
83
152
  colorPalette: {
84
153
  color: (color) => `색상: ${color}`,
85
- colorPalette: "색상표"
154
+ colorPalette: "색상표",
155
+ namedColor: (name, color) => `${name}, ${color}`
86
156
  },
87
157
  colorPicker: {
88
158
  clearColor: "색상 지우기",
89
159
  colorGradientPicker: "그라데이션 색상 선택기",
90
160
  colorPalettePicker: "색상표 선택기",
91
- colorPicker: "색상 선택기"
161
+ colorPicker: "색상 선택기",
162
+ noColor: "색상 없음"
92
163
  },
93
164
  comboBox: {
94
165
  clear: "지우기"
@@ -278,6 +349,9 @@ const KO_KR_MESSAGES = {
278
349
  sortOrder: (position) => `정렬 순서 ${localizeNumber(position)}`,
279
350
  toolbar: "표 도구 모음"
280
351
  },
352
+ label: {
353
+ optional: "선택 사항"
354
+ },
281
355
  list: {
282
356
  filterList: "목록 필터",
283
357
  loading: "로드 중",
@@ -343,6 +417,9 @@ const KO_KR_MESSAGES = {
343
417
  previousPageLabel: "이전 페이지",
344
418
  rangeStatus: (start, end, total) => `전체 ${localizeNumber(total)}개 중 ${localizeNumber(start)}~${localizeNumber(end)}`
345
419
  },
420
+ progressBar: {
421
+ label: "진행률"
422
+ },
346
423
  rating: {
347
424
  notRated: "평가되지 않음",
348
425
  valueText: (value, max) => `${localizeNumber(max)}점 만점에 ${localizeNumber(value)}점`
@@ -352,6 +429,7 @@ const KO_KR_MESSAGES = {
352
429
  nextPage: "다음 페이지",
353
430
  page: (current) => `${localizeNumber(current)}페이지`,
354
431
  pageOf: (current, total) => `전체 ${localizeNumber(total)}페이지 중 ${localizeNumber(current)}페이지`,
432
+ pages: "페이지",
355
433
  previousPage: "이전 페이지",
356
434
  scrollPagerNext: "페이지 표시기 다음으로 스크롤",
357
435
  scrollPagerPrevious: "페이지 표시기 이전으로 스크롤",
@@ -360,6 +438,10 @@ const KO_KR_MESSAGES = {
360
438
  sheet: {
361
439
  closeSheet: "시트 닫기"
362
440
  },
441
+ sidebar: {
442
+ drawerLabel: "사이드바",
443
+ rail: "사이드바 표시 또는 숨기기"
444
+ },
363
445
  slider: {
364
446
  maximumValue: "최댓값",
365
447
  minimumValue: "최솟값",
@@ -382,6 +464,9 @@ const KO_KR_MESSAGES = {
382
464
  resizer: "크기 조정 핸들"
383
465
  },
384
466
  stepper: {
467
+ stepCompleted: "완료됨",
468
+ stepInvalid: "오류 있음",
469
+ stepPosition: (current, total) => `${localizeNumber(total)}단계 중 ${localizeNumber(current)}단계`,
385
470
  stepProgress: "단계 진행률",
386
471
  stepper: "단계 표시기"
387
472
  },
@@ -5,12 +5,17 @@ import { formatNumber } from '@nanahoshi/mona-ui/i18n';
5
5
  function localizeNumber(value, options) {
6
6
  return formatNumber(value, "pt-BR", options);
7
7
  }
8
+ const PLURAL_RULES = new Intl.PluralRules("pt-BR");
9
+ function plural(category, forms) {
10
+ return (forms[category] ?? forms.other)();
11
+ }
8
12
  const PT_BR_MESSAGES = {
9
13
  autoComplete: {
10
14
  clear: "Limpar"
11
15
  },
12
16
  breadcrumb: {
13
- breadcrumb: "Trilha de navegação"
17
+ breadcrumb: "Trilha de navegação",
18
+ showFullPath: "Mostrar caminho completo"
14
19
  },
15
20
  buttonGroup: {
16
21
  buttonGroup: "Grupo de botões"
@@ -36,59 +41,138 @@ const PT_BR_MESSAGES = {
36
41
  actionsLabel: "Ações do cartão"
37
42
  },
38
43
  chart: {
44
+ announcementSeparator: ", ",
45
+ brushApplied: (count) => plural(PLURAL_RULES.select(count), {
46
+ one: () => `Seleção aplicada, ${localizeNumber(count)} ponto`,
47
+ other: () => `Seleção aplicada, ${localizeNumber(count)} pontos`
48
+ }),
49
+ brushCleared: "Seleção removida",
50
+ brushRange: (from, to) => `Seleção de ${from} a ${to}`,
51
+ category: "Categoria",
52
+ categoryFallbackName: (index) => `Categoria ${localizeNumber(index)}`,
53
+ categoryRange: (from, to) => `De ${from} a ${to}.`,
39
54
  change: "Variação",
55
+ changeValue: (change) => `variação ${change}`,
40
56
  chart: "Gráfico",
41
57
  chartLegend: "Legenda do gráfico",
58
+ chartRoleDescription: "gráfico",
42
59
  close: "Fechamento",
43
60
  closeAbbreviation: "F",
44
61
  colorScale: "Escala de cores",
45
62
  conversion: "Conversão",
63
+ conversionOfPrevious: (rate) => `Conversão de ${rate} em relação à etapa anterior`,
64
+ dataTableTruncated: (shown, total) => `Mostrando as primeiras ${localizeNumber(shown)} de ${localizeNumber(total)} linhas.`,
65
+ decrease: "Diminuição",
66
+ decreaseAnnouncement: (delta, from, to) => `diminuição de ${delta}, total acumulado de ${from} a ${to}`,
46
67
  divergingRangeDescription: (title, minimum, midpoint, maximum) => `${title}, de ${minimum} a ${maximum}, ponto médio ${midpoint}`,
47
68
  dropOff: "Abandono",
69
+ dropOffValue: (value) => `Abandono ${value}`,
48
70
  falling: "Em queda",
71
+ gaugeRange: (minimum, maximum) => `intervalo de ${minimum} a ${maximum}`,
49
72
  high: "Máxima",
50
73
  highAbbreviation: "Máx",
74
+ increase: "Aumento",
75
+ increaseAnnouncement: (delta, from, to) => `aumento de ${delta}, total acumulado de ${from} a ${to}`,
76
+ itemDeselected: (item) => `${item}, desmarcado`,
77
+ itemFallbackName: (index) => `Elemento ${localizeNumber(index)}`,
78
+ itemSelected: (item) => `${item}, selecionado`,
79
+ keyboardHelp: "Use as setas para navegar entre os pontos de dados, Home e End para ir ao primeiro e ao último, Enter ou Espaço para ativar e Esc para limpar.",
51
80
  labelValueSeparator: ":",
81
+ labeledValue: (label, value) => `${label}: ${value}`,
52
82
  low: "Mínima",
53
83
  lowAbbreviation: "Mín",
84
+ noChange: "Sem alteração",
85
+ noChangeAnnouncement: (value) => `sem alteração, total acumulado ${value}`,
54
86
  noData: "Nenhum dado disponível",
87
+ ohlcValues: (open, high, low, close) => `Abertura ${open}, máxima ${high}, mínima ${low}, fechamento ${close}`,
55
88
  open: "Abertura",
56
89
  openAbbreviation: "A",
57
90
  overall: "Geral",
91
+ overallConversion: (rate) => `Conversão geral ${rate}`,
92
+ pannedDown: "Movido para baixo",
93
+ pannedLeft: "Movido para a esquerda",
94
+ pannedRight: "Movido para a direita",
95
+ pannedUp: "Movido para cima",
96
+ pathSeparator: " / ",
97
+ pointPosition: (position, total) => `${localizeNumber(position)} de ${localizeNumber(total)}`,
58
98
  range: "Intervalo",
59
99
  rangeDescription: (title, minimum, maximum) => `${title}, de ${minimum} a ${maximum}`,
100
+ rangeValue: (from, to) => `de ${from} a ${to}`,
60
101
  rising: "Em alta",
61
102
  runningTotal: "Total acumulado",
103
+ seriesFallbackName: (index) => `Série ${localizeNumber(index)}`,
104
+ seriesHidden: (series) => `${series} oculta`,
105
+ seriesShown: (series) => `${series} exibida`,
106
+ seriesSummary: (count, names) => plural(PLURAL_RULES.select(count), {
107
+ one: () => `Uma série: ${names}.`,
108
+ other: () => `${localizeNumber(count)} séries: ${names}.`
109
+ }),
110
+ seriesValueRange: (series, minimum, maximum) => `${series}: mínimo ${minimum}, máximo ${maximum}.`,
111
+ shareOfTotal: (share) => `${share} do total`,
62
112
  size: "tamanho",
113
+ sizeValue: (size) => `tamanho ${size}`,
114
+ stackShare: (share) => `participação na pilha ${share}`,
115
+ stageFallbackName: (index) => `Etapa ${localizeNumber(index)}`,
116
+ stagePosition: (position, total) => `etapa ${localizeNumber(position)} de ${localizeNumber(total)}`,
117
+ stepFallbackName: (index) => `Passo ${localizeNumber(index)}`,
118
+ stepPosition: (position, total) => `passo ${localizeNumber(position)} de ${localizeNumber(total)}`,
119
+ subtotal: "Total parcial",
120
+ subtotalAnnouncement: (value) => `total parcial ${value}`,
121
+ total: "Soma total",
122
+ totalAnnouncement: (value) => `soma total ${value}`,
123
+ treemapGroup: (count) => plural(PLURAL_RULES.select(count), {
124
+ one: () => `Grupo (${localizeNumber(count)} filho)`,
125
+ other: () => `Grupo (${localizeNumber(count)} filhos)`
126
+ }),
127
+ treemapLeaf: "Folha",
63
128
  unchanged: "Sem alteração",
64
129
  value: "Valor",
65
- visualIndicatorClamped: "Indicador visual limitado"
130
+ valueRange: (from, to) => `${from} – ${to}`,
131
+ viewportResetToDefault: "Visualização redefinida para o intervalo padrão",
132
+ viewportResetToFull: "Visualização redefinida para o intervalo completo",
133
+ visualIndicatorClamped: "Indicador visual limitado",
134
+ zoomedIn: "Ampliado",
135
+ zoomedOut: "Reduzido"
66
136
  },
67
137
  chip: {
68
138
  removeLabel: (label) => (label ? `Remover ${label}` : "Remover item")
69
139
  },
70
140
  colorGradient: {
141
+ alpha: "Canal alfa",
142
+ alphaText: (opacity) => `Opacidade ${localizeNumber(opacity)}%`,
71
143
  apply: "Aplicar",
144
+ blue: "Azul",
72
145
  cancel: "Cancelar",
73
146
  clearColor: "Limpar cor",
147
+ colorCopied: "Cor copiada",
148
+ colorGradient: "Gradiente de cor",
74
149
  copyAsHex: "Copiar como HEX",
75
150
  copyAsRgb: "Copiar como RGB",
76
151
  copyColor: "Copiar cor",
152
+ copyFailed: "Não foi possível copiar a cor",
77
153
  currentColor: "Cor atual",
154
+ green: "Verde",
155
+ hexColor: "Cor hexadecimal",
156
+ hue: "Matiz",
78
157
  previousColor: "Cor anterior",
158
+ red: "Vermelho",
159
+ saturation: "Saturação",
79
160
  saturationAndValue: "Saturação e valor da cor",
80
161
  saturationAndValueText: (saturation, value) => `Saturação ${localizeNumber(saturation)}%, valor ${localizeNumber(value)}%`,
81
- switchColorMode: "Alternar modo de cor"
162
+ switchColorMode: "Alternar modo de cor",
163
+ value: "Valor"
82
164
  },
83
165
  colorPalette: {
84
166
  color: (color) => `Cor: ${color}`,
85
- colorPalette: "Paleta de cores"
167
+ colorPalette: "Paleta de cores",
168
+ namedColor: (name, color) => `${name}, ${color}`
86
169
  },
87
170
  colorPicker: {
88
171
  clearColor: "Limpar cor",
89
172
  colorGradientPicker: "Seletor de gradiente de cores",
90
173
  colorPalettePicker: "Seletor de paleta de cores",
91
- colorPicker: "Seletor de cores"
174
+ colorPicker: "Seletor de cores",
175
+ noColor: "Sem cor"
92
176
  },
93
177
  comboBox: {
94
178
  clear: "Limpar"
@@ -278,6 +362,9 @@ const PT_BR_MESSAGES = {
278
362
  sortOrder: (position) => `Ordem de classificação ${localizeNumber(position)}`,
279
363
  toolbar: "Barra de ferramentas da tabela"
280
364
  },
365
+ label: {
366
+ optional: "Opcional"
367
+ },
281
368
  list: {
282
369
  filterList: "Filtrar lista",
283
370
  loading: "Carregando",
@@ -349,6 +436,9 @@ const PT_BR_MESSAGES = {
349
436
  ? `${localizeNumber(start)} - ${localizeNumber(end)} de ${localizeNumber(total)} item`
350
437
  : `${localizeNumber(start)} - ${localizeNumber(end)} de ${localizeNumber(total)} itens`
351
438
  },
439
+ progressBar: {
440
+ label: "Progresso"
441
+ },
352
442
  rating: {
353
443
  notRated: "Não avaliado",
354
444
  valueText: (value, max) => `${localizeNumber(value)} de ${localizeNumber(max)}`
@@ -358,6 +448,7 @@ const PT_BR_MESSAGES = {
358
448
  nextPage: "Próxima página",
359
449
  page: (current) => `Página ${localizeNumber(current)}`,
360
450
  pageOf: (current, total) => `Página ${localizeNumber(current)} de ${localizeNumber(total)}`,
451
+ pages: "Páginas",
361
452
  previousPage: "Página anterior",
362
453
  scrollPagerNext: "Rolar opções do paginador para a frente",
363
454
  scrollPagerPrevious: "Rolar opções do paginador para trás",
@@ -366,6 +457,10 @@ const PT_BR_MESSAGES = {
366
457
  sheet: {
367
458
  closeSheet: "Fechar painel"
368
459
  },
460
+ sidebar: {
461
+ drawerLabel: "Barra lateral",
462
+ rail: "Mostrar ou ocultar a barra lateral"
463
+ },
369
464
  slider: {
370
465
  maximumValue: "Valor máximo",
371
466
  minimumValue: "Valor mínimo",
@@ -388,6 +483,9 @@ const PT_BR_MESSAGES = {
388
483
  resizer: "Separador de painéis"
389
484
  },
390
485
  stepper: {
486
+ stepCompleted: "Concluída",
487
+ stepInvalid: "Contém erros",
488
+ stepPosition: (current, total) => `Etapa ${localizeNumber(current)} de ${localizeNumber(total)}`,
391
489
  stepProgress: "Progresso das etapas",
392
490
  stepper: "Progresso"
393
491
  },