@jiaozhiye/qm-design-react 2.0.1 → 2.0.3
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/lib/form/src/types.d.ts +3 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/index.css +12 -5
- package/lib/style/index.min.css +1 -1
- package/lib/table/style/body.less +77 -77
- package/lib/upload-file/src/upload-file.d.ts +1 -0
- package/lib/upload-file/style/index.less +7 -1
- package/lib/upload-img/style/index.less +6 -1
- package/package.json +1 -1
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2020-02-28 22:13:54
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
6
|
-
*/
|
|
7
|
-
.body--column {
|
|
8
|
-
.cell--edit {
|
|
9
|
-
margin: 0 -1 * (@v-module-distance - 1px);
|
|
10
|
-
// placeholder
|
|
11
|
-
input::placeholder {
|
|
12
|
-
text-align: left;
|
|
13
|
-
}
|
|
14
|
-
// search
|
|
15
|
-
.ant-input-search {
|
|
16
|
-
width: calc(100% + 1px);
|
|
17
|
-
& > .ant-input-group > .ant-input-group-addon {
|
|
18
|
-
line-height: 1;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
// search-helper-multiple
|
|
22
|
-
.search-helper-multiple {
|
|
23
|
-
.ant-input-group > .ant-select:first-child {
|
|
24
|
-
z-index: 1;
|
|
25
|
-
.ant-select-selector {
|
|
26
|
-
border-top-right-radius: 0;
|
|
27
|
-
border-bottom-right-radius: 0;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.ant-select-multiple {
|
|
31
|
-
.ant-select-selection-overflow-item-rest {
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
// textArea
|
|
37
|
-
textarea[class='ant-input'] {
|
|
38
|
-
resize: none;
|
|
39
|
-
}
|
|
40
|
-
&.is-error {
|
|
41
|
-
position: relative;
|
|
42
|
-
.ant-input
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
& + .cell-error {
|
|
50
|
-
right: 38px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.cell-error {
|
|
54
|
-
position: absolute;
|
|
55
|
-
top: calc(50% - 9px);
|
|
56
|
-
font-size: @v-font-size-small;
|
|
57
|
-
color: @v-danger-color;
|
|
58
|
-
right: 8px;
|
|
59
|
-
pointer-events: none;
|
|
60
|
-
z-index: 1;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
&.col--center {
|
|
65
|
-
.cell--edit .ant-input {
|
|
66
|
-
text-align: center;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
&.col--right {
|
|
70
|
-
.cell--edit .ant-input {
|
|
71
|
-
text-align: right;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
&.selected {
|
|
75
|
-
background-color: @v-table-row-selected-background-color !important;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2020-02-28 22:13:54
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2023-10-15 12:47:18
|
|
6
|
+
*/
|
|
7
|
+
.body--column {
|
|
8
|
+
.cell--edit {
|
|
9
|
+
margin: 0 -1 * (@v-module-distance - 1px);
|
|
10
|
+
// placeholder
|
|
11
|
+
input::placeholder {
|
|
12
|
+
text-align: left;
|
|
13
|
+
}
|
|
14
|
+
// search
|
|
15
|
+
.ant-input-search {
|
|
16
|
+
width: calc(100% + 1px);
|
|
17
|
+
& > .ant-input-group > .ant-input-group-addon {
|
|
18
|
+
line-height: 1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
// search-helper-multiple
|
|
22
|
+
.search-helper-multiple {
|
|
23
|
+
.ant-input-group > .ant-select:first-child {
|
|
24
|
+
z-index: 1;
|
|
25
|
+
.ant-select-selector {
|
|
26
|
+
border-top-right-radius: 0;
|
|
27
|
+
border-bottom-right-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.ant-select-multiple {
|
|
31
|
+
.ant-select-selection-overflow-item-rest {
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
// textArea
|
|
37
|
+
textarea[class='ant-input'] {
|
|
38
|
+
resize: none;
|
|
39
|
+
}
|
|
40
|
+
&.is-error {
|
|
41
|
+
position: relative;
|
|
42
|
+
.ant-input,
|
|
43
|
+
.ant-input-affix-wrapper {
|
|
44
|
+
border-color: @v-danger-color;
|
|
45
|
+
box-shadow: none;
|
|
46
|
+
z-index: 1;
|
|
47
|
+
}
|
|
48
|
+
.ant-input-search {
|
|
49
|
+
& + .cell-error {
|
|
50
|
+
right: 38px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.cell-error {
|
|
54
|
+
position: absolute;
|
|
55
|
+
top: calc(50% - 9px);
|
|
56
|
+
font-size: @v-font-size-small;
|
|
57
|
+
color: @v-danger-color;
|
|
58
|
+
right: 8px;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
&.col--center {
|
|
65
|
+
.cell--edit .ant-input {
|
|
66
|
+
text-align: center;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
&.col--right {
|
|
70
|
+
.cell--edit .ant-input {
|
|
71
|
+
text-align: right;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
&.selected {
|
|
75
|
+
background-color: @v-table-row-selected-background-color !important;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -2,11 +2,17 @@
|
|
|
2
2
|
* @Author: 焦质晔
|
|
3
3
|
* @Date: 2021-07-23 19:05:57
|
|
4
4
|
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time:
|
|
5
|
+
* @Last Modified time: 2023-10-18 09:35:59
|
|
6
6
|
*/
|
|
7
7
|
@import '../../style/common';
|
|
8
8
|
|
|
9
9
|
@prefix-upload-file: ~'@{qm-prefix}-upload-file';
|
|
10
10
|
|
|
11
11
|
.@{prefix-upload-file} {
|
|
12
|
+
&.disabled {
|
|
13
|
+
.ant-upload-list-item-name {
|
|
14
|
+
color: @--disabled-color;
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
12
18
|
}
|
|
@@ -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:
|
|
5
|
+
* @Last Modified time: 2023-10-15 12:14:45
|
|
6
6
|
*/
|
|
7
7
|
@import '../../style/common';
|
|
8
8
|
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
@prefix-cropper-preview: ~'@{qm-prefix}-cropper-preview';
|
|
11
11
|
|
|
12
12
|
.@{prefix-upload-img} {
|
|
13
|
+
.ant-upload-list-item-actions {
|
|
14
|
+
.ant-btn {
|
|
15
|
+
margin-left: 15px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
.@{prefix-cropper-preview} {
|