@zmzai/theme 0.9.5 → 0.9.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zmzai/theme",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "zmzai 全品牌设计系统 — Radix UI + framer-motion + Tailwind v4 + MiSans",
@@ -13,6 +13,8 @@
13
13
  * · page 一律 text-2xl + 内联图标,不再区分公开页与控制台
14
14
  * · 图标取 currentColor,不引入新色;hero 徽章用 accent 载体(墨底白图)
15
15
  * · 描述统一 text-sm text-ink-2 —— ink-3 只有 3.69:1,副文案不用它
16
+ *
17
+ * v0.9.5 追加 centered(居中 Hero,/quill 首页用)。
16
18
  */
17
19
 
18
20
  import type { ReactNode } from "react";
@@ -95,7 +97,7 @@ export function PageHeader({
95
97
  {eyebrow}
96
98
  </small>
97
99
  ) : null}
98
- <div className="flex items-center gap-2">
100
+ <div className="flex min-w-0 items-center gap-2">
99
101
  {icon ? <Icon name={icon} size={20} className="shrink-0 text-ink" /> : null}
100
102
  <h1
101
103
  className={`font-serif text-2xl font-semibold tracking-tight text-ink ${titleClassName}`}
@@ -24,6 +24,7 @@
24
24
  * v0.9.3 底色纯白化——暖纸退役,卡片层次交给 surface 灰阶与边框
25
25
  * v0.9.4 PageHeader 统一组件——内页 text-2xl 内联图标、落地页 44px 墨底徽章
26
26
  * v0.9.5 PageHeader 支持 centered(居中 Hero);Icon 支持 strokeWidth
27
+ * v0.9.6 标题行补 min-w-0,truncate 在详情页长标题下才生效
27
28
  */
28
29
 
29
30
  @theme {