@sia.soul/sia-react-ui 0.1.104 → 0.1.105
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/core.css +3 -0
- package/dist/index.css +3 -0
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/core.css
CHANGED
|
@@ -7973,6 +7973,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7973
7973
|
gap: 5px;
|
|
7974
7974
|
min-width: 0;
|
|
7975
7975
|
}
|
|
7976
|
+
.sia-form-item > .sia-form-item__control:only-child {
|
|
7977
|
+
grid-column: 1 / -1;
|
|
7978
|
+
}
|
|
7976
7979
|
.sia-form-item__input-wrap {
|
|
7977
7980
|
position: relative;
|
|
7978
7981
|
min-width: 0;
|
package/dist/index.css
CHANGED
|
@@ -7973,6 +7973,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
7973
7973
|
gap: 5px;
|
|
7974
7974
|
min-width: 0;
|
|
7975
7975
|
}
|
|
7976
|
+
.sia-form-item > .sia-form-item__control:only-child {
|
|
7977
|
+
grid-column: 1 / -1;
|
|
7978
|
+
}
|
|
7976
7979
|
.sia-form-item__input-wrap {
|
|
7977
7980
|
position: relative;
|
|
7978
7981
|
min-width: 0;
|
package/dist/index.d.cts
CHANGED
|
@@ -814,7 +814,7 @@ declare function FormRoot({ form, initialValues, layout, size: sizeProp, placeho
|
|
|
814
814
|
interface FormItemProps {
|
|
815
815
|
/** 绑定到表单值的字段名或嵌套路径,例如 ["user", "name"]。 */
|
|
816
816
|
name?: NamePath;
|
|
817
|
-
/** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form
|
|
817
|
+
/** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form 内最宽的可见标签对齐,测量包含必填标记。未渲染标签时,控件占据表单项整行宽度。 */
|
|
818
818
|
label?: ReactNode;
|
|
819
819
|
/**
|
|
820
820
|
* 字段的校验规则,按配置执行。
|
package/dist/index.d.ts
CHANGED
|
@@ -814,7 +814,7 @@ declare function FormRoot({ form, initialValues, layout, size: sizeProp, placeho
|
|
|
814
814
|
interface FormItemProps {
|
|
815
815
|
/** 绑定到表单值的字段名或嵌套路径,例如 ["user", "name"]。 */
|
|
816
816
|
name?: NamePath;
|
|
817
|
-
/** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form
|
|
817
|
+
/** 字段标签,支持文本或 React 节点;横向及行内布局未指定标签列宽时,与同一 Form 内最宽的可见标签对齐,测量包含必填标记。未渲染标签时,控件占据表单项整行宽度。 */
|
|
818
818
|
label?: ReactNode;
|
|
819
819
|
/**
|
|
820
820
|
* 字段的校验规则,按配置执行。
|