@sia.soul/sia-react-ui 0.1.101 → 0.1.102
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 +10 -0
- package/dist/index.css +10 -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
|
@@ -5167,6 +5167,16 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5167
5167
|
min-width: 0;
|
|
5168
5168
|
width: 0;
|
|
5169
5169
|
}
|
|
5170
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + .sia-field:last-child > .sia-input-control) > .sia-select {
|
|
5171
|
+
flex: 4 1 0;
|
|
5172
|
+
min-width: 0;
|
|
5173
|
+
width: 0;
|
|
5174
|
+
}
|
|
5175
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + .sia-field:last-child > .sia-input-control) > .sia-field {
|
|
5176
|
+
flex: 6 1 0;
|
|
5177
|
+
min-width: 0;
|
|
5178
|
+
width: 0;
|
|
5179
|
+
}
|
|
5170
5180
|
.sia-query-form__actions {
|
|
5171
5181
|
display: flex;
|
|
5172
5182
|
align-items: center;
|
package/dist/index.css
CHANGED
|
@@ -5167,6 +5167,16 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5167
5167
|
min-width: 0;
|
|
5168
5168
|
width: 0;
|
|
5169
5169
|
}
|
|
5170
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + .sia-field:last-child > .sia-input-control) > .sia-select {
|
|
5171
|
+
flex: 4 1 0;
|
|
5172
|
+
min-width: 0;
|
|
5173
|
+
width: 0;
|
|
5174
|
+
}
|
|
5175
|
+
.sia-query-form__field .sia-space-compact--horizontal:has(> .sia-select:first-child + .sia-field:last-child > .sia-input-control) > .sia-field {
|
|
5176
|
+
flex: 6 1 0;
|
|
5177
|
+
min-width: 0;
|
|
5178
|
+
width: 0;
|
|
5179
|
+
}
|
|
5170
5180
|
.sia-query-form__actions {
|
|
5171
5181
|
display: flex;
|
|
5172
5182
|
align-items: center;
|
package/dist/index.d.cts
CHANGED
|
@@ -3178,7 +3178,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3178
3178
|
* @defaultValue undefined
|
|
3179
3179
|
*/
|
|
3180
3180
|
showSettings?: boolean;
|
|
3181
|
-
/** 也可直接放入 Form.Item 或 Space.Compact
|
|
3181
|
+
/** 也可直接放入 Form.Item 或 Space.Compact,每个直接子项视为一个查询字段。横向 Space.Compact 仅包含左侧 Select 和右侧 Input 时,默认按 40% / 60% 分配宽度;Form.Item noStyle 包裹时同样适用。 */
|
|
3182
3182
|
children?: ReactNode;
|
|
3183
3183
|
/** 表单校验通过后执行查询。values 是完整条件;info.source 区分 submit(查询)、reset(重置)、quick(顶部预设)和 saved(已保存条件)。返回 Promise 时自动显示加载状态并阻止重复提交。 */
|
|
3184
3184
|
onSearch: (values: T, info: QueryFormSearchInfo) => void | Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -3178,7 +3178,7 @@ interface QueryFormProps<T extends FormValues = FormValues> extends Omit<FormPro
|
|
|
3178
3178
|
* @defaultValue undefined
|
|
3179
3179
|
*/
|
|
3180
3180
|
showSettings?: boolean;
|
|
3181
|
-
/** 也可直接放入 Form.Item 或 Space.Compact
|
|
3181
|
+
/** 也可直接放入 Form.Item 或 Space.Compact,每个直接子项视为一个查询字段。横向 Space.Compact 仅包含左侧 Select 和右侧 Input 时,默认按 40% / 60% 分配宽度;Form.Item noStyle 包裹时同样适用。 */
|
|
3182
3182
|
children?: ReactNode;
|
|
3183
3183
|
/** 表单校验通过后执行查询。values 是完整条件;info.source 区分 submit(查询)、reset(重置)、quick(顶部预设)和 saved(已保存条件)。返回 Promise 时自动显示加载状态并阻止重复提交。 */
|
|
3184
3184
|
onSearch: (values: T, info: QueryFormSearchInfo) => void | Promise<void>;
|