@ehfuse/taskbox 0.11.28 → 0.11.30
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/dist/atoms/LinkifiedText.d.ts +4 -0
- package/dist/index.esm.js +12 -12
- package/dist/index.esm.js.map +4 -4
- package/dist/index.js +23 -23
- package/dist/index.js.map +4 -4
- package/dist/utils/linkifyDom.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* 링크는 소비처 주입(openExternalUrl — 앱 웹뷰는 외부 브라우저) 우선, 없으면 새 탭으로 연다.
|
|
4
4
|
*/
|
|
5
5
|
import type { ReactNode } from "react";
|
|
6
|
+
/** URL 판별 정규식이다 — 공백·꺾쇠·따옴표 전까지를 한 덩어리로 본다(뒤따르는 닫는 괄호·구두점은 잘라낸다). */
|
|
7
|
+
export declare const URL_PATTERN: RegExp;
|
|
8
|
+
/** URL 끝에 붙은 닫는 괄호·구두점(문장부호)을 떼어 낸다 — "(https://a.b/)" 처럼 괄호로 감싼 표기 대응. */
|
|
9
|
+
export declare function splitTrailingPunctuation(raw: string): [string, string];
|
|
6
10
|
/**
|
|
7
11
|
* 글 속 "@이름" 을 파랗게(2026-10-16) — 이름 목록(언급 후보)에 있는 이름만, 긴 이름부터. "@" 앞이 영문 · 숫자면(메일 주소) 아니다.
|
|
8
12
|
* 이름 목록이 비면 글을 그대로 돌려준다.
|