@sia.soul/sia-react-ui 0.1.41 → 0.1.42

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
@@ -4865,7 +4865,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
4865
4865
  display: flex;
4866
4866
  flex-wrap: wrap;
4867
4867
  align-items: center;
4868
- gap: var(--sia-query-field-gap, 12px);
4868
+ gap: var(--sia-query-field-gap, 6px);
4869
4869
  padding-top: 8px;
4870
4870
  }
4871
4871
  .sia-query-form__field {
@@ -4876,7 +4876,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
4876
4876
  max-width: 100%;
4877
4877
  }
4878
4878
  .sia-query-form__field:has(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical) > :nth-child(2)) {
4879
- --sia-query-item-width: calc(var(--sia-query-field-width, 220px) + var(--sia-query-field-width, 220px) + var(--sia-query-field-gap, 12px));
4879
+ --sia-query-item-width: calc(var(--sia-query-field-width, 220px) + var(--sia-query-field-width, 220px) + var(--sia-query-field-gap, 6px));
4880
4880
  }
4881
4881
  .sia-query-form__field :is(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical)) {
4882
4882
  width: 100%;
package/dist/index.css CHANGED
@@ -4865,7 +4865,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
4865
4865
  display: flex;
4866
4866
  flex-wrap: wrap;
4867
4867
  align-items: center;
4868
- gap: var(--sia-query-field-gap, 12px);
4868
+ gap: var(--sia-query-field-gap, 6px);
4869
4869
  padding-top: 8px;
4870
4870
  }
4871
4871
  .sia-query-form__field {
@@ -4876,7 +4876,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
4876
4876
  max-width: 100%;
4877
4877
  }
4878
4878
  .sia-query-form__field:has(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical) > :nth-child(2)) {
4879
- --sia-query-item-width: calc(var(--sia-query-field-width, 220px) + var(--sia-query-field-width, 220px) + var(--sia-query-field-gap, 12px));
4879
+ --sia-query-item-width: calc(var(--sia-query-field-width, 220px) + var(--sia-query-field-width, 220px) + var(--sia-query-field-gap, 6px));
4880
4880
  }
4881
4881
  .sia-query-form__field :is(.sia-picker-range-control, .sia-time-range, .sia-select-date-range, .sia-space-compact:not(.sia-space-compact--vertical)) {
4882
4882
  width: 100%;
package/dist/index.d.cts CHANGED
@@ -3080,7 +3080,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
3080
3080
  */
3081
3081
  loading?: boolean;
3082
3082
  /**
3083
- * 单列查询字段的默认宽度,数值单位为像素,可传 CSS 尺寸字符串。区间及横向组合控件默认为两倍此宽度加列间距;列间距可通过 --sia-query-field-gap 调整(默认 12px)。
3083
+ * 单列查询字段的默认宽度,数值单位为像素,可传 CSS 尺寸字符串。区间及横向组合控件默认为两倍此宽度加列间距;行列间距可通过 --sia-query-field-gap 调整(默认 6px)。
3084
3084
  * @defaultValue 220
3085
3085
  */
3086
3086
  fieldWidth?: number | string;
package/dist/index.d.ts CHANGED
@@ -3080,7 +3080,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
3080
3080
  */
3081
3081
  loading?: boolean;
3082
3082
  /**
3083
- * 单列查询字段的默认宽度,数值单位为像素,可传 CSS 尺寸字符串。区间及横向组合控件默认为两倍此宽度加列间距;列间距可通过 --sia-query-field-gap 调整(默认 12px)。
3083
+ * 单列查询字段的默认宽度,数值单位为像素,可传 CSS 尺寸字符串。区间及横向组合控件默认为两倍此宽度加列间距;行列间距可通过 --sia-query-field-gap 调整(默认 6px)。
3084
3084
  * @defaultValue 220
3085
3085
  */
3086
3086
  fieldWidth?: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sia.soul/sia-react-ui",
3
- "version": "0.1.41",
3
+ "version": "0.1.42",
4
4
  "description": "Sia Design components and tokens for React",
5
5
  "publishConfig": {
6
6
  "access": "public",