refactor: move wrap text multiline function into fmt module (#4572)

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
This commit is contained in:
Alexandr Garbuzov
2025-10-14 21:11:23 +03:00
committed by GitHub
co-authored by Alexandr
parent b9c3bf6251
commit ab53e3052d
8 changed files with 50 additions and 51 deletions
+1 -2
View File
@@ -2,7 +2,6 @@
import {
parseEmojis,
wrapTextMultiline,
encodeHTML,
measureText,
flexLayout,
@@ -11,7 +10,7 @@ import {
} from "../common/utils.js";
import Card from "../common/Card.js";
import { getCardColors } from "../common/color.js";
import { kFormatter } from "../common/fmt.js";
import { kFormatter, wrapTextMultiline } from "../common/fmt.js";
import { icons } from "../common/icons.js";
/** Import language colors.
+1 -2
View File
@@ -2,7 +2,7 @@
import { Card } from "../common/Card.js";
import { getCardColors } from "../common/color.js";
import { kFormatter } from "../common/fmt.js";
import { kFormatter, wrapTextMultiline } from "../common/fmt.js";
import { I18n } from "../common/I18n.js";
import { icons } from "../common/icons.js";
import {
@@ -10,7 +10,6 @@ import {
flexLayout,
measureText,
parseEmojis,
wrapTextMultiline,
iconWithLabel,
createLanguageNode,
clampValue,