@kayak-sj/design 1.0.63 → 1.0.65
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/dist/components/k-form/composables/useKFormFields.d.ts +1 -1
- package/dist/components/k-form/types.d.ts +7 -3
- package/dist/index.js +314 -307
- package/package.json +4 -4
- package/src/styles/components/_k-form.scss +46 -4
- package/src/styles/tokens/_css-vars.scss +2 -2
- package/src/styles/tokens/_semantic.scss +3 -3
|
@@ -39,10 +39,14 @@ export interface KFormConfigItem {
|
|
|
39
39
|
rules?: FormItemRule[];
|
|
40
40
|
/** false 时不渲染该项 */
|
|
41
41
|
display?: boolean;
|
|
42
|
-
/**
|
|
42
|
+
/** 布局:另起一行(标准控件占第 1 列;宽内容/自定义整行) */
|
|
43
43
|
newLineStart?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
|
|
44
|
+
/**
|
|
45
|
+
* 覆盖栅格统一控件宽度(仅本字段)。
|
|
46
|
+
* - `'full'`:整行铺满,取消 max-width
|
|
47
|
+
* - number / string:如 `480` / `'480px'`,作为控件 max-width(建议配合 newLineStart)
|
|
48
|
+
*/
|
|
49
|
+
controlWidth?: 'full' | number | string;
|
|
46
50
|
/** 表头 label 旁提示(支持 HTML) */
|
|
47
51
|
toolTip?: string;
|
|
48
52
|
/** 只读态,渲染为纯文本展示(跳过校验) */
|