@tfdesign/b-end 1.0.20 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tfdesign/b-end",
3
- "version": "1.0.20",
3
+ "version": "1.1.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "TFDS B-end React components + Tailwind v4 theme.css; self-contained npm install (no monorepo clone required).",
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: tfds
3
- description: "体服DesignSystem,一键调用TFDS组件生成符合体服设计规范的UI组件与页面"
3
+ description: "体服B端设计系统 v1.1.1,支持一键调用TFDS组件生成符合体服设计规范的UI组件与页面。"
4
4
  disable-model-invocation: true
5
5
  metadata:
6
6
  version: "3"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "system": "b-end",
3
3
  "skill": "tfds",
4
- "generatedAt": "2026-05-14T13:46:15.358Z",
4
+ "generatedAt": "2026-05-14T17:28:11.539Z",
5
5
  "summary": "B 端 COMPONENTS 37 条 + 列表页模板 4 + PATTERNS 6;import 一律来自 @tfdesign/b-end。",
6
6
  "components": [
7
7
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "system": "b-end",
3
3
  "skill": "tfds",
4
- "generatedAt": "2026-05-14T13:46:15.358Z",
4
+ "generatedAt": "2026-05-14T17:28:11.539Z",
5
5
  "purpose": "轻量组件与页面模板目录。AI 先读本文件做选型;确定命中组件后,再到 components.index.json 按 id 读取 props / rules / examples。",
6
6
  "counts": {
7
7
  "total": 47,
@@ -408,28 +408,15 @@ function TopBarLead({ copilotOpen, onToggleCopilot }) {
408
408
  variant="outline-black"
409
409
  radius="full"
410
410
  onClick={onToggleCopilot}
411
- className="shrink-0 border-transparent bg-[image:var(--gradient-ai-fill-2)] p-[1.5px] hover:bg-[image:var(--gradient-ai-fill-2)] active:bg-[image:var(--gradient-ai-fill-2)] focus-visible:outline-[var(--color-brand-200)]"
411
+ className="shrink-0 !h-[40px] !gap-2 !border-transparent !px-4 !py-0 hover:!border-transparent active:!scale-100 focus-visible:outline-[var(--color-brand-200)]"
412
412
  style={{
413
+ border: '1.5px solid transparent',
414
+ background: 'var(--gradient-ai-fill-1) padding-box, var(--gradient-ai-fill-2) border-box',
413
415
  boxShadow: '0 0 0 1px rgba(255,255,255,0.6) inset',
414
416
  }}
415
417
  >
416
- <span
417
- className="inline-flex items-center gap-2 rounded-full"
418
- style={{
419
- height: '34px',
420
- padding: '0 14px',
421
- borderRadius: '999px',
422
- background: 'var(--gradient-ai-fill-1)',
423
- fontSize: '14px',
424
- fontWeight: 600,
425
- color: 'var(--foreground, #0F1C35)',
426
- fontFamily: 'inherit',
427
- userSelect: 'none',
428
- }}
429
- >
430
- <img src={catcatSvg} alt="OLA AI" style={{ width: '20px', height: '20px', display: 'block' }} />
431
- <span>OLA AI</span>
432
- </span>
418
+ <img src={catcatSvg} alt="OLA AI" style={{ width: '20px', height: '20px', display: 'block' }} />
419
+ <span>OLA AI</span>
433
420
  </Button>
434
421
  )}
435
422
  </>