@tfdesign/b-end 1.0.7 → 1.0.8

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.7",
3
+ "version": "1.0.8",
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,7 +1,7 @@
1
1
  {
2
2
  "system": "b-end",
3
3
  "skill": "tfds",
4
- "generatedAt": "2026-05-10T14:01:13.258Z",
4
+ "generatedAt": "2026-05-10T15:23:05.199Z",
5
5
  "summary": "B 端 COMPONENTS 36 条 + 列表页模板 4 + PATTERNS 6;import 一律来自 @tf-designsystem/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-10T14:01:13.258Z",
4
+ "generatedAt": "2026-05-10T15:23:05.199Z",
5
5
  "purpose": "轻量组件与页面模板目录。AI 先读本文件做选型;确定命中组件后,再到 components.index.json 按 id 读取 props / rules / examples。",
6
6
  "counts": {
7
7
  "total": 46,
@@ -27,7 +27,7 @@ export const TEXTAREA_TOKEN_MAP = {
27
27
  { label: '上内边距', cssProp: 'padding-top', value: '2px' },
28
28
  ],
29
29
  容器: [
30
- { label: '默认宽度', cssProp: 'width', token: '--size-input-width', value: '300px' },
30
+ { label: '默认宽度', cssProp: 'width', token: '--size-input-width', value: '100%' },
31
31
  { label: '背景色', cssProp: 'background', token: '--color-surface', value: '#FFFFFF', semanticRef: 'bg-surface' },
32
32
  { label: '边框色', cssProp: 'border-color', token: '--color-border-default', value: '#E4E7EC', semanticRef: 'border-default' },
33
33
  { label: '圆角', cssProp: 'border-radius', token: '--radius-md', value: '8px' },
@@ -110,7 +110,7 @@ export const TOKEN_SIZE = {
110
110
  'icon-14': '14px',
111
111
  'control-sm': '24px',
112
112
  'control-md': '36px',
113
- 'input-width': '300px',
113
+ 'input-width': '100%',
114
114
  };
115
115
 
116
116
  export const TOKEN_LETTER_SPACING = {
package/theme.css CHANGED
@@ -317,7 +317,7 @@
317
317
  --size-icon-14: 14px;
318
318
  --size-control-sm: 24px;
319
319
  --size-control-md: 36px;
320
- --size-input-width: 300px;
320
+ --size-input-width: 100%;
321
321
 
322
322
  /* ── Shadows ── */
323
323
  --shadow-none: 0 0 #0000;