@ehfuse/taskbox 0.7.48 → 0.7.50

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.
@@ -2,6 +2,12 @@
2
2
  * 평문 안의 URL(http/https)을 링크로 바꿔 그린다 — 댓글처럼 서식 없는 텍스트용(오토링크).
3
3
  * 링크는 소비처 주입(openExternalUrl — 앱 웹뷰는 외부 브라우저) 우선, 없으면 새 탭으로 연다.
4
4
  */
5
+ import type { ReactNode } from "react";
6
+ /**
7
+ * 글 속 "@이름" 을 파랗게(2026-10-16) — 이름 목록(언급 후보)에 있는 이름만, 긴 이름부터. "@" 앞이 영문 · 숫자면(메일 주소) 아니다.
8
+ * 이름 목록이 비면 글을 그대로 돌려준다.
9
+ */
10
+ export declare function highlightMentions(text: string, names: string[], keyPrefix?: string): ReactNode[];
5
11
  /** 오토링크 텍스트 props 다. */
6
12
  export interface LinkifiedTextProps {
7
13
  text: string;