iter(g65): verify 校验文档 props 落到实现,并补齐漏记字段
This commit is contained in:
+24
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "ui-arch-registry-index/0.1",
|
||||
"generatedAt": "2026-10-26T04:28:43.453Z",
|
||||
"generatedAt": "2026-10-26T04:31:57.320Z",
|
||||
"repoRoot": ".",
|
||||
"packages": [
|
||||
{
|
||||
@@ -283,6 +283,12 @@
|
||||
"n": "width",
|
||||
"t": "number",
|
||||
"d": "缩略图宽度像素,高度自适应;缺省走样式默认"
|
||||
},
|
||||
{
|
||||
"n": "fallback",
|
||||
"t": "string",
|
||||
"df": "'图片加载失败'",
|
||||
"d": "加载失败时缩略图内显示的占位文案;缺省「图片加载失败」"
|
||||
}
|
||||
],
|
||||
"example": "image({ src: '/a.png', alt: '架构图', width: 160 })",
|
||||
@@ -370,6 +376,12 @@
|
||||
"n": "suffix",
|
||||
"t": "string | HTMLElement",
|
||||
"d": "后置附加块(textField/inputNumber 在输入框内侧后、textarea 在下方);缺省不渲染"
|
||||
},
|
||||
{
|
||||
"n": "clearable",
|
||||
"t": "boolean",
|
||||
"df": "false",
|
||||
"d": "开启后有值即显示一键清空按钮;缺省 false"
|
||||
}
|
||||
],
|
||||
"example": "const name = signal(''); const el = textField({ value: name, placeholder: '输入名字…', onInput: (v) => console.log(v) })",
|
||||
@@ -478,6 +490,11 @@
|
||||
"n": "suffix",
|
||||
"t": "string | HTMLElement",
|
||||
"d": "后置附加块(textField/inputNumber 在输入框内侧后、textarea 在下方);缺省不渲染"
|
||||
},
|
||||
{
|
||||
"n": "maxCount",
|
||||
"t": "number",
|
||||
"d": "字数上限:同时设原生 maxlength,并在下方附加块显示实时计数;缺省不限"
|
||||
}
|
||||
],
|
||||
"example": "const bio = signal(''); textarea({ value: bio, rows: 4, placeholder: '一句话介绍…' })",
|
||||
@@ -1400,6 +1417,12 @@
|
||||
"k": 1,
|
||||
"d": "翻页回调"
|
||||
},
|
||||
{
|
||||
"n": "jumpable",
|
||||
"t": "boolean",
|
||||
"df": "false",
|
||||
"d": "末尾显示跳页输入框(总页数 > 1 才出现);缺省 false"
|
||||
},
|
||||
{
|
||||
"n": "pageSizes",
|
||||
"t": "number[]",
|
||||
|
||||
Reference in New Issue
Block a user