@botiverse/raft-ui 0.10.0 → 0.10.1

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,3 +1,9 @@
1
+ ## [0.10.1](https://github.com/botiverse/raft-design/compare/v0.10.0...v0.10.1) (2026-10-20)
2
+
3
+ ### Fixed
4
+
5
+ - A page in Japanese or Korean (`<html lang="ja">` / `"ko"`, including regional tags like `ja-JP`) falls back to its own system faces (Hiragino Sans, Yu Gothic UI, Meiryo, Noto Sans JP; Apple SD Gothic Neo, Malgun Gothic, Noto Sans KR) before the Chinese ones, so kanji keep Japanese glyph shapes and Hangul gets a Korean face. Chinese and default pages are unchanged. ([#603](https://github.com/botiverse/raft-design/pull/603))
6
+
1
7
  ## [0.10.0](https://github.com/botiverse/raft-design/compare/v0.9.6...v0.10.0) (2026-10-20)
2
8
 
3
9
  ### Breaking Changes
package/dist/fonts.css CHANGED
@@ -1,7 +1,9 @@
1
1
  @import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&family=Space+Mono:wght@400;700&display=swap");
2
2
 
3
3
  /* Raft Design System: Space Grotesk is what people say, Space Mono is what
4
- machines write. CJK falls back to PingFang / Source Han Sans. */
4
+ machines write. CJK falls back to PingFang / Source Han Sans; a Japanese or
5
+ Korean page (<html lang="ja|ko">) falls back to its own faces first, so kanji
6
+ keep Japanese glyph shapes and Hangul a Korean face. */
5
7
  :where(:root) {
6
8
  --heading-font:
7
9
  "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
@@ -11,3 +13,21 @@
11
13
  system-ui, sans-serif;
12
14
  --mono-font: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
13
15
  }
16
+
17
+ :where(:root:lang(ja)) {
18
+ --heading-font:
19
+ "Space Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo,
20
+ "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
21
+ --sans-font:
22
+ "Space Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo,
23
+ "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
24
+ }
25
+
26
+ :where(:root:lang(ko)) {
27
+ --heading-font:
28
+ "Space Grotesk", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR",
29
+ system-ui, sans-serif;
30
+ --sans-font:
31
+ "Space Grotesk", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR",
32
+ system-ui, sans-serif;
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botiverse/raft-ui",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "React components and CSS foundations for the Raft Design System.",
5
5
  "keywords": [
6
6
  "agent-skills",