@jiaozhiye/qm-design-react 1.5.13 → 1.5.14

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.
@@ -1,11 +1,11 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2023-01-07 14:07:04
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2023-01-07 14:07:27
6
- */
7
- @import 'antd/dist/antd.compact.less';
8
-
9
- #__compact__ {
10
- background-color: transparent;
11
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2023-01-07 14:07:04
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2023-01-07 14:07:27
6
+ */
7
+ @import 'antd/dist/antd.compact.less';
8
+
9
+ #__compact__ {
10
+ background-color: transparent;
11
+ }
@@ -2,8 +2,18 @@
2
2
  * @Author: 焦质晔
3
3
  * @Date: 2021-07-23 19:41:37
4
4
  * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-11-26 23:32:46
5
+ * @Last Modified time: 2023-03-28 11:50:55
6
6
  */
7
7
  @import 'antd/dist/antd.variable.less';
8
8
 
9
9
  @root-entry-name: variable;
10
+
11
+ // Antd Reset
12
+ .ant-select {
13
+ &-disabled {
14
+ .ant-select-selection-item,
15
+ .ant-select-selection-item-content {
16
+ color: @--text-color-secondary-dark;
17
+ }
18
+ }
19
+ }
@@ -34,6 +34,7 @@ declare class QmForm extends Component<IProps, IState> {
34
34
  labelAlign: import("prop-types").Requireable<string>;
35
35
  labelWrap: import("prop-types").Requireable<boolean>;
36
36
  formType: import("prop-types").Requireable<string>;
37
+ disabled: import("prop-types").Requireable<boolean>;
37
38
  uniqueKey: import("prop-types").Requireable<string>;
38
39
  defaultRows: import("prop-types").Requireable<number>;
39
40
  searchButtonCols: import("prop-types").Requireable<number>;
@@ -259,6 +259,7 @@ export declare type IFormProps = {
259
259
  labelAlign?: ILabelAlign;
260
260
  labelWrap?: boolean;
261
261
  formType?: IFormType;
262
+ disabled?: boolean;
262
263
  uniqueKey?: string;
263
264
  defaultRows?: number;
264
265
  searchButtonCols?: number;
@@ -293,6 +294,7 @@ export declare const propTypes: {
293
294
  labelAlign: PropTypes.Requireable<string>;
294
295
  labelWrap: PropTypes.Requireable<boolean>;
295
296
  formType: PropTypes.Requireable<string>;
297
+ disabled: PropTypes.Requireable<boolean>;
296
298
  uniqueKey: PropTypes.Requireable<string>;
297
299
  defaultRows: PropTypes.Requireable<number>;
298
300
  searchButtonCols: PropTypes.Requireable<number>;