@iyulab/chat-components 0.17.1 → 0.17.2

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.2] - 2026-10-06
4
+
5
+ ### Fixed
6
+
7
+ - **`u-text-block`'s text area is named.** It had only its placeholder, which disappears as soon as
8
+ text is typed. It now takes the host's `aria-label`, or "Text" from the locale (new key
9
+ `textBlock`, English and Korean built in).
10
+
3
11
  ## [0.17.1] - 2026-10-05
4
12
 
5
13
  ### Changed
@@ -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 { styles } from "./UTextBlock.styles.js";
4
5
  import { html } from "lit";
5
6
  import { customElement, property, query } from "lit/decorators.js";
@@ -51,6 +52,7 @@ var UTextBlock = class UTextBlock extends UElement {
51
52
  <div class="container">
52
53
  <textarea
53
54
  name="message"
55
+ aria-label=${this.getAttribute("aria-label") ?? messages.text("textBlock")}
54
56
  placeholder=${this.placeholder || ""}
55
57
  spellcheck=${this.spellcheck}
56
58
  .readOnly=${!this.editable}
@@ -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';
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';
9
9
  export declare const messages: import('@iyulab/components/dist/utilities/Locale.js').LocaleNamespace<ChatMessageKey>;
@@ -16,6 +16,7 @@ messages.register("en", {
16
16
  pngDownload: "PNG Download",
17
17
  jsonDownload: "JSON Download",
18
18
  search: "Search...",
19
+ textBlock: "Text",
19
20
  rowCount: "{shown} / {total} Rows",
20
21
  excelDownload: "Excel Download",
21
22
  csvDownload: "CSV Download",
@@ -40,6 +41,7 @@ messages.register("ko", {
40
41
  pngDownload: "PNG 다운로드",
41
42
  jsonDownload: "JSON 다운로드",
42
43
  search: "검색...",
44
+ textBlock: "텍스트",
43
45
  rowCount: "{shown} / {total} 행",
44
46
  excelDownload: "Excel 다운로드",
45
47
  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.1",
4
+ "version": "0.17.2",
5
5
  "author": "iyulab",
6
6
  "license": "MIT",
7
7
  "keywords": [