@jiaozhiye/qm-design-react 1.0.0-beta.2 → 1.0.0-beta.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/drawer/style/index.less +78 -77
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modal/style/index.less +90 -89
- package/lib/style/index.css +1 -1
- package/lib/table/src/context/index.d.ts +0 -1
- package/lib/table/src/hooks/useImperativeMethod.d.ts +1 -0
- package/lib/table/src/hooks/useTableEffect.d.ts +2 -0
- package/lib/table/src/hooks/useTableMemo.d.ts +1 -2
- package/lib/table/src/table/props.d.ts +1 -1
- package/lib/table/src/table/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,77 +1,78 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2021-08-05 15:57:45
|
|
6
|
-
*/
|
|
7
|
-
@import '../../style/common';
|
|
8
|
-
|
|
9
|
-
@prefix-drawer: ~'@{qm-prefix}-drawer';
|
|
10
|
-
|
|
11
|
-
.@{prefix-drawer} {
|
|
12
|
-
.ant-drawer-header {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
height: 44px;
|
|
17
|
-
padding: 0 15px;
|
|
18
|
-
border-bottom: 1px solid @--border-color-secondary;
|
|
19
|
-
.ant-drawer-title {
|
|
20
|
-
display: flex;
|
|
21
|
-
flex: 1;
|
|
22
|
-
align-items: center;
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
padding-right: 20px;
|
|
25
|
-
.full-screen {
|
|
26
|
-
padding: @--padding-md 5px @--padding-md @--padding-md;
|
|
27
|
-
color: @--text-color-secondary;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
//
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2021-08-05 15:57:45
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-drawer: ~'@{qm-prefix}-drawer';
|
|
10
|
+
|
|
11
|
+
.@{prefix-drawer} {
|
|
12
|
+
.ant-drawer-header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
height: 44px;
|
|
17
|
+
padding: 0 15px;
|
|
18
|
+
border-bottom: 1px solid @--border-color-secondary;
|
|
19
|
+
.ant-drawer-title {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex: 1;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
padding-right: 20px;
|
|
25
|
+
.full-screen {
|
|
26
|
+
padding: @--padding-md 5px @--padding-md @--padding-md;
|
|
27
|
+
color: @--text-color-secondary;
|
|
28
|
+
line-height: 1;
|
|
29
|
+
transition: all 0.3s ease;
|
|
30
|
+
&:hover {
|
|
31
|
+
color: @--text-color;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.ant-drawer-close {
|
|
36
|
+
top: auto;
|
|
37
|
+
font-size: 17px;
|
|
38
|
+
padding: @--padding-md 15px @--padding-md 5px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.ant-drawer-body {
|
|
42
|
+
padding: @--padding-md;
|
|
43
|
+
}
|
|
44
|
+
&-spin {
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 44px;
|
|
47
|
+
left: 0;
|
|
48
|
+
right: 0;
|
|
49
|
+
bottom: 0;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
align-items: center;
|
|
54
|
+
background-color: rgba(255, 255, 255, 0.65);
|
|
55
|
+
z-index: 9999;
|
|
56
|
+
.ant-spin-text {
|
|
57
|
+
margin-top: 4px;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
// ------ size ------
|
|
61
|
+
// 52 48 44
|
|
62
|
+
&--lg {
|
|
63
|
+
.ant-drawer-header {
|
|
64
|
+
height: 48px;
|
|
65
|
+
}
|
|
66
|
+
.qm-drawer-spin {
|
|
67
|
+
top: 48px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
&--sm {
|
|
71
|
+
.ant-drawer-header {
|
|
72
|
+
height: 40px;
|
|
73
|
+
}
|
|
74
|
+
.qm-drawer-spin {
|
|
75
|
+
top: 40px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|