@jiaozhiye/qm-design-react 1.3.0-beta.46 → 1.3.0-beta.48

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.
@@ -2,6 +2,8 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2021-07-23 19:41:37
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-09-27 14:22:05
5
+ * @Last Modified time: 2022-11-26 23:32:46
6
6
  */
7
7
  @import 'antd/dist/antd.variable.less';
8
+
9
+ @root-entry-name: variable;
@@ -2,7 +2,7 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2021-07-23 19:05:57
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-04-19 12:09:14
5
+ * @Last Modified time: 2022-11-26 20:25:11
6
6
  */
7
7
  @import '../../style/common';
8
8
 
@@ -27,6 +27,7 @@
27
27
  padding: @--padding-md 5px @--padding-md @--padding-md;
28
28
  color: @--text-color-secondary;
29
29
  line-height: 1;
30
+ font-size: @--font-size-lg;
30
31
  transition: all 0.3s ease;
31
32
  cursor: pointer;
32
33
  &:hover {
@@ -180,7 +180,7 @@ declare class QmForm extends Component<IProps, IState> {
180
180
  set_fields_other(values: IFormData): void;
181
181
  get_fields_other(fields?: string[]): IFormData;
182
182
  scrollToField: (fieldName?: string) => void;
183
- formValidate: () => Promise<IFormData>;
183
+ formValidate(): Promise<IFormData>;
184
184
  SET_FIELDS_VALUE(values: IFormData): void;
185
185
  GET_FIELDS_VALUE(fields?: string[]): IFormData;
186
186
  GET_FORM_DATA(): Promise<[any, any]>;
@@ -159,6 +159,7 @@ export declare type IFormItem = {
159
159
  maxCount?: number;
160
160
  fileTypes?: string[];
161
161
  fileSize?: number;
162
+ openCropper?: boolean;
162
163
  onRemove?: (file: any) => void;
163
164
  fixedSize?: [number, number] | undefined;
164
165
  quality?: number;
@@ -2,7 +2,7 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2021-07-23 19:05:57
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-09-13 10:21:00
5
+ * @Last Modified time: 2022-11-26 21:27:53
6
6
  */
7
7
  @import '../../style/common';
8
8
 
@@ -181,6 +181,7 @@
181
181
  }
182
182
  }
183
183
  &--sm {
184
+ padding: 5px 10px !important;
184
185
  .table {
185
186
  th,
186
187
  td {
@@ -234,19 +235,15 @@
234
235
  margin: 0;
235
236
  dt {
236
237
  float: left;
237
- font-size: 13px;
238
238
  font-weight: 700;
239
- line-height: 20px;
240
239
  }
241
240
  dd {
242
241
  white-space: normal;
243
242
  margin-inline-start: 50px;
244
243
  margin-bottom: 8px;
245
- line-height: 20px;
246
244
  li {
247
245
  display: inline-block;
248
246
  margin-right: 8px;
249
- font-size: 13px;
250
247
  cursor: pointer;
251
248
  &:hover {
252
249
  color: @--primary-color;
@@ -260,6 +257,12 @@
260
257
  }
261
258
  }
262
259
  }
260
+ // 40 32 24
261
+ &--lg {
262
+ }
263
+ &--sm {
264
+ padding: 10px 10px 5px !important;
265
+ }
263
266
  }
264
267
 
265
268
  // region-select
@@ -271,7 +274,6 @@
271
274
  display: flex;
272
275
  flex-wrap: wrap;
273
276
  width: 440px;
274
- line-height: @--line-height-base;
275
277
  &__item {
276
278
  margin: 0 5px;
277
279
  width: 100px;
@@ -286,6 +288,12 @@
286
288
  }
287
289
  }
288
290
  }
291
+ // 40 32 24
292
+ &--lg {
293
+ }
294
+ &--sm {
295
+ padding: 15px 10px 5px !important;
296
+ }
289
297
  }
290
298
 
291
299
  // fields-filter