lileeei
aba296c6b8
M6: transliterate non-ASCII layer names into code-export class names ( #1235 )
...
class_name runs layer names through deunicode (new dependency: pure Rust
tables, zero deps, BSD-3-Clause, the slug crate's base) before its ASCII
filter, so Korean, Cyrillic, Latin-diacritic and CJK names become
readable ASCII classes in HTML/CSS/React/Leptos output, component roots
and data-* variant attributes: 로그인 화면 → rogeuin-hwamyeon, кнопка →
knopka, über → uber, 按钮 → an-niu (before, every one came out layer-,
layer--2, ...). Symbols-only names take the node's kind (.text, .frame)
instead of layer-, the 40-character cut lands on a word boundary, and a
leading digit keeps the layer- prefix. SwiftUI/Compose type names are
unchanged (their own sanitizer); ASCII-only names are byte-identical.
html_codegen_tests updated and extended.
2026-10-26 12:23:06 +08:00
..
2026-10-25 02:21:44 +00:00
2026-10-23 23:28:13 -04:00
2026-10-24 10:31:10 +07:00
2026-10-24 13:01:46 +07:00
2026-10-24 02:56:55 +07:00
2026-10-20 20:43:51 +02:00
2026-10-24 04:18:55 +07:00
2026-10-24 04:18:55 +07:00
2026-10-24 04:18:55 +07:00
2026-10-24 10:30:49 +07:00
2026-10-24 04:18:55 +07:00
2026-10-24 02:56:55 +07:00
2026-10-26 12:23:06 +08:00
2026-10-26 12:23:06 +08:00
2026-10-22 09:33:12 +02:00
2026-10-22 13:41:56 +02:00
2026-10-21 11:27:46 -07:00
2026-10-24 14:16:37 +07:00
2026-10-24 11:37:47 -07:00
2026-10-24 13:01:47 +07:00
2026-10-24 13:01:55 +07:00
2026-10-24 04:41:31 -04:00
2026-10-24 13:33:26 +07:00
2026-10-24 13:33:26 +07:00
2026-10-24 02:56:55 +07:00
2026-10-24 02:56:55 +07:00
2026-10-24 02:56:55 +07:00
2026-10-24 13:47:22 +07:00
2026-10-24 13:02:11 +07:00
2026-10-24 02:56:55 +07:00
2026-10-24 13:33:26 +07:00
2026-10-25 02:40:12 +00:00
2026-10-24 15:53:33 -07:00
2026-10-22 23:04:57 +08:00
2026-10-23 04:08:48 +02:00
2026-10-23 23:28:13 -04:00
2026-10-26 12:23:06 +08:00
2026-10-24 13:33:26 +07:00
2026-10-22 13:41:56 +02:00
2026-10-21 17:41:30 +02:00
2026-10-24 09:13:43 +07:00
2026-10-24 14:10:41 -07:00
2026-10-22 23:46:52 +02:00
2026-10-22 13:41:56 +02:00
2026-10-22 13:41:56 +02:00
2026-10-24 11:15:53 +07:00
2026-10-24 13:01:55 +07:00
2026-10-22 11:26:04 +02:00
2026-10-20 15:41:47 +00:00
2026-10-24 05:26:27 -04:00
2026-10-21 11:03:08 -07:00
2026-10-21 19:47:01 -05:00
2026-10-20 04:58:32 +07:00
2026-10-24 05:24:05 -04:00
2026-10-24 05:24:05 -04:00
2026-10-24 04:39:12 -04:00
2026-10-22 09:37:35 +02:00
2026-10-22 00:19:13 +02:00
2026-10-25 01:09:29 -04:00
2026-10-24 07:22:36 -07:00
2026-10-24 09:13:43 +07:00
2026-10-24 05:24:51 -07:00
2026-10-24 05:24:51 -07:00
2026-10-22 11:11:59 +02:00
2026-10-23 23:28:13 -04:00
2026-10-25 02:21:07 +00:00
2026-10-23 13:50:42 -04:00
2026-10-24 11:37:47 -07:00
2026-10-24 13:01:47 +07:00
2026-10-24 13:01:48 +07:00
2026-10-24 12:57:42 +07:00
2026-10-25 02:40:12 +00:00
2026-10-24 00:43:59 +01:00
2026-10-20 16:18:13 +11:00
2026-10-22 23:37:49 +02:00
2026-10-21 11:21:24 -07:00
2026-10-22 23:37:49 +02:00
2026-10-24 05:24:29 -04:00