@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 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
  * 字段的校验规则,按配置执行。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sia.soul/sia-react-ui",
3
- "version": "0.1.104",
3
+ "version": "0.1.105",
4
4
  "description": "Sia Design components and tokens for React",
5
5
  "publishConfig": {
6
6
  "access": "public",