dcp-design-react 1.12.15 → 1.12.16
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/anchor/style/index.less +101 -101
- package/lib/countup/style/index.less +22 -22
- package/lib/divider/style/index.less +68 -68
- package/lib/form/src/form.d.ts +1 -0
- package/lib/form/src/types.d.ts +2 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/style/mixins/reset.less +37 -43
- package/lib/table/src/table/props.d.ts +1 -0
- package/lib/table/src/table/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,43 +1,37 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 焦质晔
|
|
3
|
-
* @Date: 2021-07-23 18:58:43
|
|
4
|
-
* @Last Modified by: 焦质晔
|
|
5
|
-
* @Last Modified time: 2021-07-23 18:58:43
|
|
6
|
-
*/
|
|
7
|
-
@import '../themes/index';
|
|
8
|
-
|
|
9
|
-
.reset-container() {
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
margin: 0;
|
|
12
|
-
padding: 0;
|
|
13
|
-
color: @--text-color;
|
|
14
|
-
font-variant: @font-variant-base;
|
|
15
|
-
line-height: @--line-height-base;
|
|
16
|
-
list-style: none;
|
|
17
|
-
font-feature-settings: @font-feature-settings-base;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.box-sizing-content() {
|
|
21
|
-
box-sizing: border-box;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.text-overflow-cut() {
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
text-overflow: ellipsis;
|
|
27
|
-
white-space: nowrap;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.text-ellipsis-2 () {
|
|
31
|
-
display: -webkit-box;
|
|
32
|
-
-webkit-box-orient: vertical;
|
|
33
|
-
-webkit-line-clamp: 2;
|
|
34
|
-
line-clamp: 2;
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
text-overflow: ellipsis;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.user-select-none() {
|
|
40
|
-
-moz-user-select: none;
|
|
41
|
-
-webkit-user-select: none;
|
|
42
|
-
-ms-user-select: none;
|
|
43
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: 焦质晔
|
|
3
|
+
* @Date: 2021-07-23 18:58:43
|
|
4
|
+
* @Last Modified by: 焦质晔
|
|
5
|
+
* @Last Modified time: 2021-07-23 18:58:43
|
|
6
|
+
*/
|
|
7
|
+
@import '../themes/index';
|
|
8
|
+
|
|
9
|
+
.reset-container() {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
color: @--text-color;
|
|
14
|
+
font-variant: @font-variant-base;
|
|
15
|
+
line-height: @--line-height-base;
|
|
16
|
+
list-style: none;
|
|
17
|
+
font-feature-settings: @font-feature-settings-base;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.box-sizing-content() {
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.text-overflow-cut() {
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.text-ellipsis-2 () {
|
|
31
|
+
display: -webkit-box;
|
|
32
|
+
-webkit-box-orient: vertical;
|
|
33
|
+
-webkit-line-clamp: 2;
|
|
34
|
+
line-clamp: 2;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
text-overflow: ellipsis;
|
|
37
|
+
}
|
|
@@ -225,6 +225,7 @@ export declare const propTypes: {
|
|
|
225
225
|
ignorePageIndex: PropTypes.Requireable<boolean>;
|
|
226
226
|
multipleSort: PropTypes.Requireable<boolean>;
|
|
227
227
|
scrollPagination: PropTypes.Requireable<boolean>;
|
|
228
|
+
keepScrollOnDataChange: PropTypes.Requireable<boolean>;
|
|
228
229
|
webPagination: PropTypes.Requireable<boolean>;
|
|
229
230
|
paginationConfig: PropTypes.Requireable<PropTypes.InferProps<{
|
|
230
231
|
current: PropTypes.Requireable<number>;
|
|
@@ -389,6 +389,7 @@ export type ITableProps = {
|
|
|
389
389
|
ignorePageIndex?: boolean;
|
|
390
390
|
scrollPagination?: boolean;
|
|
391
391
|
webPagination?: boolean;
|
|
392
|
+
keepScrollOnDataChange?: boolean;
|
|
392
393
|
paginationConfig?: IPaginationConfig;
|
|
393
394
|
topSpaceAlign?: IAlign;
|
|
394
395
|
exportExcel?: IExportExcel;
|