@jiaozhiye/qm-design-react 1.9.18 → 1.9.19
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/_utils/dom.d.ts +1 -0
- package/lib/anchor/style/index.less +101 -101
- package/lib/antd/index.less +19 -19
- package/lib/collapse/src/_util/motion.less +13 -13
- package/lib/collapse/style/index.less +24 -24
- package/lib/copy-to-clipboard/style/index.less +12 -12
- package/lib/countup/style/index.less +22 -22
- package/lib/cropper/style/index.less +13 -13
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/print/style/index.less +175 -175
- package/lib/range-table-helper/style/index.less +18 -18
- package/lib/scrollbar/src/scrollbar.d.ts +2 -2
- package/lib/scrollbar/style/index.less +72 -72
- package/lib/search-helper/style/index.less +14 -14
- package/lib/search-tree/style/index.less +34 -34
- package/lib/spin/style/index.less +16 -16
- package/lib/split/style/index.less +83 -83
- package/lib/style/compact.less +10 -10
- package/lib/style/mixins/reset.less +34 -34
- package/lib/style/reset.less +132 -132
- package/lib/style/var.less +9 -9
- package/lib/table/src/table/types.d.ts +2 -2
- package/lib/table/style/expandable.less +64 -64
- package/lib/table/style/index.less +29 -29
- package/lib/tabs/style/index.less +32 -32
- package/lib/tree-helper/style/index.less +21 -21
- package/lib/tree-table-helper/style/index.less +24 -24
- package/package.json +1 -1
package/lib/_utils/dom.d.ts
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2021-07-31 22:38:07
|
|
6
|
-
*/
|
|
7
|
-
@import '../../style/common';
|
|
8
|
-
|
|
9
|
-
@prefix-anchor: ~'@{qm-prefix}-anchor';
|
|
10
|
-
|
|
11
|
-
.@{prefix-anchor} {
|
|
12
|
-
.reset-container;
|
|
13
|
-
display: flex;
|
|
14
|
-
.anchor-nav {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex: none;
|
|
17
|
-
.item {
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
height: @--height-md;
|
|
21
|
-
position: relative;
|
|
22
|
-
cursor: pointer;
|
|
23
|
-
&.actived {
|
|
24
|
-
color: @--primary-color;
|
|
25
|
-
&::after {
|
|
26
|
-
content: '';
|
|
27
|
-
position: absolute;
|
|
28
|
-
background-color: @--primary-color;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
span {
|
|
32
|
-
.text-overflow-cut();
|
|
33
|
-
display: block;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
&-left {
|
|
38
|
-
flex-direction: row;
|
|
39
|
-
.anchor-nav {
|
|
40
|
-
flex-direction: column;
|
|
41
|
-
margin-right: @--margin-md;
|
|
42
|
-
border-right: 1px solid @--border-color-base;
|
|
43
|
-
.item {
|
|
44
|
-
justify-content: flex-end;
|
|
45
|
-
padding: 0 @--padding-md;
|
|
46
|
-
&.actived {
|
|
47
|
-
&::after {
|
|
48
|
-
width: 2px;
|
|
49
|
-
right: -2px;
|
|
50
|
-
top: 0;
|
|
51
|
-
bottom: 0;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
&-top {
|
|
58
|
-
flex-direction: column;
|
|
59
|
-
.anchor-nav {
|
|
60
|
-
flex-direction: row;
|
|
61
|
-
margin-bottom: @--margin-md;
|
|
62
|
-
border-bottom: 1px solid @--border-color-base;
|
|
63
|
-
.item {
|
|
64
|
-
justify-content: center;
|
|
65
|
-
padding: 0 @--padding-md + 2px;
|
|
66
|
-
&.actived {
|
|
67
|
-
&::after {
|
|
68
|
-
height: 2px;
|
|
69
|
-
bottom: -2px;
|
|
70
|
-
left: @--padding-md;
|
|
71
|
-
right: @--padding-md;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
.anchor-container {
|
|
78
|
-
flex: auto;
|
|
79
|
-
min-width: 0;
|
|
80
|
-
min-height: 0;
|
|
81
|
-
overflow-y: auto;
|
|
82
|
-
overflow-x: hidden;
|
|
83
|
-
}
|
|
84
|
-
// ------ size ------
|
|
85
|
-
// 40 32 24
|
|
86
|
-
&--lg {
|
|
87
|
-
.anchor-nav {
|
|
88
|
-
.item {
|
|
89
|
-
height: @--height-lg;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
&--sm {
|
|
94
|
-
.anchor-nav {
|
|
95
|
-
.item {
|
|
96
|
-
height: @--height-sm + 2px;
|
|
97
|
-
font-size: 13px;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2021-07-31 22:38:07
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-anchor: ~'@{qm-prefix}-anchor';
|
|
10
|
+
|
|
11
|
+
.@{prefix-anchor} {
|
|
12
|
+
.reset-container;
|
|
13
|
+
display: flex;
|
|
14
|
+
.anchor-nav {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex: none;
|
|
17
|
+
.item {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
height: @--height-md;
|
|
21
|
+
position: relative;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
&.actived {
|
|
24
|
+
color: @--primary-color;
|
|
25
|
+
&::after {
|
|
26
|
+
content: '';
|
|
27
|
+
position: absolute;
|
|
28
|
+
background-color: @--primary-color;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
span {
|
|
32
|
+
.text-overflow-cut();
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&-left {
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
.anchor-nav {
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
margin-right: @--margin-md;
|
|
42
|
+
border-right: 1px solid @--border-color-base;
|
|
43
|
+
.item {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
padding: 0 @--padding-md;
|
|
46
|
+
&.actived {
|
|
47
|
+
&::after {
|
|
48
|
+
width: 2px;
|
|
49
|
+
right: -2px;
|
|
50
|
+
top: 0;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
&-top {
|
|
58
|
+
flex-direction: column;
|
|
59
|
+
.anchor-nav {
|
|
60
|
+
flex-direction: row;
|
|
61
|
+
margin-bottom: @--margin-md;
|
|
62
|
+
border-bottom: 1px solid @--border-color-base;
|
|
63
|
+
.item {
|
|
64
|
+
justify-content: center;
|
|
65
|
+
padding: 0 @--padding-md + 2px;
|
|
66
|
+
&.actived {
|
|
67
|
+
&::after {
|
|
68
|
+
height: 2px;
|
|
69
|
+
bottom: -2px;
|
|
70
|
+
left: @--padding-md;
|
|
71
|
+
right: @--padding-md;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
.anchor-container {
|
|
78
|
+
flex: auto;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
min-height: 0;
|
|
81
|
+
overflow-y: auto;
|
|
82
|
+
overflow-x: hidden;
|
|
83
|
+
}
|
|
84
|
+
// ------ size ------
|
|
85
|
+
// 40 32 24
|
|
86
|
+
&--lg {
|
|
87
|
+
.anchor-nav {
|
|
88
|
+
.item {
|
|
89
|
+
height: @--height-lg;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
&--sm {
|
|
94
|
+
.anchor-nav {
|
|
95
|
+
.item {
|
|
96
|
+
height: @--height-sm + 2px;
|
|
97
|
+
font-size: 13px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
package/lib/antd/index.less
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:41:37
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2023-03-28 11:50:55
|
|
6
|
-
*/
|
|
7
|
-
@import 'antd/dist/antd.variable.less';
|
|
8
|
-
|
|
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
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:41:37
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2023-03-28 11:50:55
|
|
6
|
+
*/
|
|
7
|
+
@import 'antd/dist/antd.variable.less';
|
|
8
|
+
|
|
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
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2022-06-01 20:17:51
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2022-06-01 20:17:51
|
|
6
|
-
*/
|
|
7
|
-
@prefixCls: rc-collapse;
|
|
8
|
-
|
|
9
|
-
.@{prefixCls} {
|
|
10
|
-
&-motion {
|
|
11
|
-
transition: height 0.3s, opacity 0.3s;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2022-06-01 20:17:51
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2022-06-01 20:17:51
|
|
6
|
+
*/
|
|
7
|
+
@prefixCls: rc-collapse;
|
|
8
|
+
|
|
9
|
+
.@{prefixCls} {
|
|
10
|
+
&-motion {
|
|
11
|
+
transition: height 0.3s, opacity 0.3s;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2022-06-01 20:04:55
|
|
6
|
-
*/
|
|
7
|
-
@import '../../style/common';
|
|
8
|
-
@import '../src/_util/motion.less';
|
|
9
|
-
|
|
10
|
-
@prefix-collapse: ~'@{qm-prefix}-collapse';
|
|
11
|
-
|
|
12
|
-
.@{prefix-collapse} {
|
|
13
|
-
&-content {
|
|
14
|
-
padding: 0 2px;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
background-color: #fff;
|
|
17
|
-
& > &-box {
|
|
18
|
-
margin-top: 8px;
|
|
19
|
-
}
|
|
20
|
-
&-hidden {
|
|
21
|
-
display: none;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2022-06-01 20:04:55
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
@import '../src/_util/motion.less';
|
|
9
|
+
|
|
10
|
+
@prefix-collapse: ~'@{qm-prefix}-collapse';
|
|
11
|
+
|
|
12
|
+
.@{prefix-collapse} {
|
|
13
|
+
&-content {
|
|
14
|
+
padding: 0 2px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
background-color: #fff;
|
|
17
|
+
& > &-box {
|
|
18
|
+
margin-top: 8px;
|
|
19
|
+
}
|
|
20
|
+
&-hidden {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2021-07-31 22:38:07
|
|
6
|
-
*/
|
|
7
|
-
@import '../../style/common';
|
|
8
|
-
|
|
9
|
-
@prefix-clipboard: ~'@{qm-prefix}-clipboard';
|
|
10
|
-
|
|
11
|
-
.@{prefix-clipboard} {
|
|
12
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2021-07-31 22:38:07
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-clipboard: ~'@{qm-prefix}-clipboard';
|
|
10
|
+
|
|
11
|
+
.@{prefix-clipboard} {
|
|
12
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2021-08-01 21:58:46
|
|
6
|
-
*/
|
|
7
|
-
@import '../../style/common';
|
|
8
|
-
|
|
9
|
-
@prefix-countup: ~'@{qm-prefix}-countup';
|
|
10
|
-
|
|
11
|
-
.@{prefix-countup} {
|
|
12
|
-
.reset-container;
|
|
13
|
-
font-size: @--font-size-base;
|
|
14
|
-
// ------ size ------
|
|
15
|
-
// 40 32 24
|
|
16
|
-
&--lg {
|
|
17
|
-
font-size: @--font-size-base;
|
|
18
|
-
}
|
|
19
|
-
&--sm {
|
|
20
|
-
font-size: @--font-size-sm;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2021-08-01 21:58:46
|
|
6
|
+
*/
|
|
7
|
+
@import '../../style/common';
|
|
8
|
+
|
|
9
|
+
@prefix-countup: ~'@{qm-prefix}-countup';
|
|
10
|
+
|
|
11
|
+
.@{prefix-countup} {
|
|
12
|
+
.reset-container;
|
|
13
|
+
font-size: @--font-size-base;
|
|
14
|
+
// ------ size ------
|
|
15
|
+
// 40 32 24
|
|
16
|
+
&--lg {
|
|
17
|
+
font-size: @--font-size-base;
|
|
18
|
+
}
|
|
19
|
+
&--sm {
|
|
20
|
+
font-size: @--font-size-sm;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 19:05:57
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2022-04-16 09:25:12
|
|
6
|
-
*/
|
|
7
|
-
@import (less) 'cropperjs/dist/cropper.css';
|
|
8
|
-
@import '../../style/common';
|
|
9
|
-
|
|
10
|
-
@prefix-cropper: ~'@{qm-prefix}-cropper';
|
|
11
|
-
|
|
12
|
-
.@{prefix-cropper} {
|
|
13
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 19:05:57
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2022-04-16 09:25:12
|
|
6
|
+
*/
|
|
7
|
+
@import (less) 'cropperjs/dist/cropper.css';
|
|
8
|
+
@import '../../style/common';
|
|
9
|
+
|
|
10
|
+
@prefix-cropper: ~'@{qm-prefix}-cropper';
|
|
11
|
+
|
|
12
|
+
.@{prefix-cropper} {
|
|
13
|
+
}
|