@iyulab/chat-components 0.17.2 → 0.17.3

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.17.3] - 2026-10-06
4
+
5
+ ### Fixed
6
+
7
+ - **`u-ref-block`'s default title follows the locale.** Without a `title` it showed a fixed English
8
+ "References" in every language; it now comes from the locale (new key `references`, English and
9
+ Korean built in).
10
+
3
11
  ## [0.17.2] - 2026-10-06
4
12
 
5
13
  ### Fixed
@@ -1,5 +1,6 @@
1
1
  import __decorateMetadata from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorateMetadata.js";
2
2
  import __decorate from "../../_virtual/_@oxc-project_runtime@0.152.0/helpers/esm/decorate.js";
3
+ import { messages } from "../../utilities/messages.js";
3
4
  import "../references/URefCard.js";
4
5
  import { styles } from "./URefBlock.styles.js";
5
6
  import { html } from "lit";
@@ -25,7 +26,7 @@ var URefBlock = class URefBlock extends UElement {
25
26
  name="chevron-down"
26
27
  ></u-icon>
27
28
  <div class="title">
28
- ${this.title || "References"}
29
+ ${this.title || messages.text("references")}
29
30
  </div>
30
31
  <div style="flex: 1;"></div>
31
32
  <div class="count">
@@ -5,5 +5,5 @@
5
5
  * 이 리포가 채택한 표준이 *"영어 기본 **+ 레지스트리**"* 이기 때문이다 — 영어 리터럴만으로는
6
6
  * 한국어 앱이 그 문구를 되돌릴 방법이 없다. 다음 문자열은 여기로 온다.
7
7
  */
8
- export type ChatMessageKey = 'canvasUnavailable' | 'previousReference' | 'nextReference' | 'closePreview' | 'closeLightbox' | 'previousImage' | 'nextImage' | 'sendMessage' | 'stopGenerating' | 'fullScreen' | 'remove' | 'pngDownload' | 'jsonDownload' | 'search' | 'rowCount' | 'excelDownload' | 'csvDownload' | 'openImage' | 'previewFile' | 'imageBlocked' | 'imageBlockedNamed' | 'opensInNewTab' | 'textBlock';
8
+ export type ChatMessageKey = 'canvasUnavailable' | 'previousReference' | 'nextReference' | 'closePreview' | 'closeLightbox' | 'previousImage' | 'nextImage' | 'sendMessage' | 'stopGenerating' | 'fullScreen' | 'remove' | 'pngDownload' | 'jsonDownload' | 'search' | 'rowCount' | 'excelDownload' | 'csvDownload' | 'openImage' | 'previewFile' | 'imageBlocked' | 'imageBlockedNamed' | 'opensInNewTab' | 'textBlock' | 'references';
9
9
  export declare const messages: import('@iyulab/components/dist/utilities/Locale.js').LocaleNamespace<ChatMessageKey>;
@@ -17,6 +17,7 @@ messages.register("en", {
17
17
  jsonDownload: "JSON Download",
18
18
  search: "Search...",
19
19
  textBlock: "Text",
20
+ references: "References",
20
21
  rowCount: "{shown} / {total} Rows",
21
22
  excelDownload: "Excel Download",
22
23
  csvDownload: "CSV Download",
@@ -42,6 +43,7 @@ messages.register("ko", {
42
43
  jsonDownload: "JSON 다운로드",
43
44
  search: "검색...",
44
45
  textBlock: "텍스트",
46
+ references: "참조",
45
47
  rowCount: "{shown} / {total} 행",
46
48
  excelDownload: "Excel 다운로드",
47
49
  csvDownload: "CSV 다운로드",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iyulab/chat-components",
3
3
  "description": "llm chat components for building chat interfaces",
4
- "version": "0.17.2",
4
+ "version": "0.17.3",
5
5
  "author": "iyulab",
6
6
  "license": "MIT",
7
7
  "keywords": [