dcp-design-react 1.9.18 → 1.9.20

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.
Files changed (36) hide show
  1. package/lib/_utils/dom.d.ts +1 -0
  2. package/lib/anchor/style/index.less +101 -101
  3. package/lib/antd/index.less +19 -19
  4. package/lib/collapse/src/_util/motion.less +13 -13
  5. package/lib/collapse/style/index.less +24 -24
  6. package/lib/copy-to-clipboard/style/index.less +12 -12
  7. package/lib/countup/style/index.less +22 -22
  8. package/lib/cropper/style/index.less +13 -13
  9. package/lib/index.esm.js +1 -1
  10. package/lib/index.full.js +1 -1
  11. package/lib/index.js +1 -1
  12. package/lib/print/style/index.less +175 -175
  13. package/lib/range-table-helper/style/index.less +18 -18
  14. package/lib/scrollbar/src/scrollbar.d.ts +2 -2
  15. package/lib/scrollbar/style/index.less +72 -72
  16. package/lib/search-helper/style/index.less +14 -14
  17. package/lib/search-tree/style/index.less +34 -34
  18. package/lib/spin/style/index.less +16 -16
  19. package/lib/split/style/index.less +83 -83
  20. package/lib/style/compact.less +10 -10
  21. package/lib/style/mixins/reset.less +34 -34
  22. package/lib/style/reset.less +132 -132
  23. package/lib/style/var.less +9 -9
  24. package/lib/table/src/context/index.d.ts +1 -0
  25. package/lib/table/src/hooks/useTableCore.d.ts +2 -0
  26. package/lib/table/src/hooks/useTableLayout.d.ts +0 -2
  27. package/lib/table/src/hooks/useTableRef.d.ts +3 -0
  28. package/lib/table/src/table/props.d.ts +3 -0
  29. package/lib/table/src/table/types.d.ts +6 -2
  30. package/lib/table/src/utils/index.d.ts +1 -0
  31. package/lib/table/style/expandable.less +64 -64
  32. package/lib/table/style/index.less +29 -29
  33. package/lib/tabs/style/index.less +32 -32
  34. package/lib/tree-helper/style/index.less +21 -21
  35. package/lib/tree-table-helper/style/index.less +24 -24
  36. package/package.json +1 -1
@@ -1,64 +1,64 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2020-03-30 16:36:41
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2021-12-28 19:56:04
6
- */
7
- @prefix-expand: ~'@{qm-prefix}-expand';
8
-
9
- .@{prefix-expand}--icon {
10
- position: relative;
11
- display: inline-flex;
12
- margin-right: 5px;
13
- width: 17px;
14
- height: 17px;
15
- color: @v-font-secondary-color;
16
- vertical-align: -4px;
17
- background: #fff;
18
- border: 1px solid rgba(0, 0, 0, 0.085);
19
- border-radius: @v-border-radius;
20
- transform: scale(0.94117647);
21
- outline: none;
22
- user-select: none;
23
- cursor: pointer;
24
- transition: all 0.3s ease;
25
- .box-sizing-content();
26
- &:hover {
27
- color: @v-primary-color;
28
- border-color: @v-primary-color;
29
- }
30
- &::before,
31
- &::after {
32
- position: absolute;
33
- background: currentColor;
34
- transition: transform 0.3s ease-out;
35
- content: '';
36
- }
37
- &::before {
38
- top: 7px;
39
- right: 3px;
40
- left: 3px;
41
- height: 1px;
42
- }
43
- &::after {
44
- top: 3px;
45
- bottom: 3px;
46
- left: 7px;
47
- width: 1px;
48
- transform: rotate(90deg);
49
- }
50
- &.collapsed::before {
51
- transform: rotate(-180deg);
52
- }
53
- &.collapsed::after {
54
- transform: rotate(0deg);
55
- }
56
- &.disabled {
57
- cursor: not-allowed;
58
- color: rgba(0, 0, 0, 0.1);
59
- background: @--background-color-cecondary;
60
- &:hover {
61
- border-color: currentColor;
62
- }
63
- }
64
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2020-03-30 16:36:41
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2021-12-28 19:56:04
6
+ */
7
+ @prefix-expand: ~'@{qm-prefix}-expand';
8
+
9
+ .@{prefix-expand}--icon {
10
+ position: relative;
11
+ display: inline-flex;
12
+ margin-right: 5px;
13
+ width: 17px;
14
+ height: 17px;
15
+ color: @v-font-secondary-color;
16
+ vertical-align: -4px;
17
+ background: #fff;
18
+ border: 1px solid rgba(0, 0, 0, 0.085);
19
+ border-radius: @v-border-radius;
20
+ transform: scale(0.94117647);
21
+ outline: none;
22
+ user-select: none;
23
+ cursor: pointer;
24
+ transition: all 0.3s ease;
25
+ .box-sizing-content();
26
+ &:hover {
27
+ color: @v-primary-color;
28
+ border-color: @v-primary-color;
29
+ }
30
+ &::before,
31
+ &::after {
32
+ position: absolute;
33
+ background: currentColor;
34
+ transition: transform 0.3s ease-out;
35
+ content: '';
36
+ }
37
+ &::before {
38
+ top: 7px;
39
+ right: 3px;
40
+ left: 3px;
41
+ height: 1px;
42
+ }
43
+ &::after {
44
+ top: 3px;
45
+ bottom: 3px;
46
+ left: 7px;
47
+ width: 1px;
48
+ transform: rotate(90deg);
49
+ }
50
+ &.collapsed::before {
51
+ transform: rotate(-180deg);
52
+ }
53
+ &.collapsed::after {
54
+ transform: rotate(0deg);
55
+ }
56
+ &.disabled {
57
+ cursor: not-allowed;
58
+ color: rgba(0, 0, 0, 0.1);
59
+ background: @--background-color-cecondary;
60
+ &:hover {
61
+ border-color: currentColor;
62
+ }
63
+ }
64
+ }
@@ -1,29 +1,29 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2021-07-23 19:05:57
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-03-16 19:06:00
6
- */
7
- @import './variable.less';
8
- @import './toper.less';
9
- @import './alert.less';
10
- @import './full-screen.less';
11
- @import './reload.less';
12
- @import './print.less';
13
- @import './import.less';
14
- @import './export.less';
15
- @import './clipboard.less';
16
- @import './tollbox.less';
17
- @import './select-collection.less';
18
- @import './group-summary.less';
19
- @import './super-search.less';
20
- @import './fast-search.less';
21
- @import './column-filter.less';
22
- @import './table.less';
23
- @import './header.less';
24
- @import './body.less';
25
- @import './footer.less';
26
- @import './pager.less';
27
- @import './empty.less';
28
- @import './expandable.less';
29
- @import './size.less';
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2021-07-23 19:05:57
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-03-16 19:06:00
6
+ */
7
+ @import './variable.less';
8
+ @import './toper.less';
9
+ @import './alert.less';
10
+ @import './full-screen.less';
11
+ @import './reload.less';
12
+ @import './print.less';
13
+ @import './import.less';
14
+ @import './export.less';
15
+ @import './clipboard.less';
16
+ @import './tollbox.less';
17
+ @import './select-collection.less';
18
+ @import './group-summary.less';
19
+ @import './super-search.less';
20
+ @import './fast-search.less';
21
+ @import './column-filter.less';
22
+ @import './table.less';
23
+ @import './header.less';
24
+ @import './body.less';
25
+ @import './footer.less';
26
+ @import './pager.less';
27
+ @import './empty.less';
28
+ @import './expandable.less';
29
+ @import './size.less';
@@ -1,32 +1,32 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2021-07-23 19:05:57
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2023-06-04 10:46:23
6
- */
7
- @import '../../style/common';
8
-
9
- @prefix-tabs: ~'@{qm-prefix}-tabs';
10
-
11
- .@{prefix-tabs} {
12
- .ant-tabs-nav {
13
- margin-bottom: @--margin-md;
14
- }
15
- // &.ant-tabs-top .ant-tabs-tab {
16
- // padding-left: @--padding-md;
17
- // padding-right: @--padding-md;
18
- // }
19
- // ------ size ------
20
- // 40 32 24
21
- &--lg {
22
- }
23
- &--sm {
24
- }
25
- }
26
-
27
- // 重置 antd Tabs 样式
28
- .ant-tabs {
29
- &-content:not(&-content-animated) {
30
- position: static;
31
- }
32
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2021-07-23 19:05:57
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2023-06-04 10:46:23
6
+ */
7
+ @import '../../style/common';
8
+
9
+ @prefix-tabs: ~'@{qm-prefix}-tabs';
10
+
11
+ .@{prefix-tabs} {
12
+ .ant-tabs-nav {
13
+ margin-bottom: @--margin-md;
14
+ }
15
+ // &.ant-tabs-top .ant-tabs-tab {
16
+ // padding-left: @--padding-md;
17
+ // padding-right: @--padding-md;
18
+ // }
19
+ // ------ size ------
20
+ // 40 32 24
21
+ &--lg {
22
+ }
23
+ &--sm {
24
+ }
25
+ }
26
+
27
+ // 重置 antd Tabs 样式
28
+ .ant-tabs {
29
+ &-content:not(&-content-animated) {
30
+ position: static;
31
+ }
32
+ }
@@ -1,21 +1,21 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2022-01-11 18:01:20
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-09-04 17:07:07
6
- */
7
- @import '../../style/common';
8
-
9
- @prefix-tree-helper: ~'@{qm-prefix}-tree-helper';
10
-
11
- .@{prefix-tree-helper}--wrapper {
12
- .reset-container();
13
- height: 100%;
14
- .ant-tree {
15
- .filter-node {
16
- & > span:last-of-type {
17
- color: @--primary-color;
18
- }
19
- }
20
- }
21
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2022-01-11 18:01:20
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-09-04 17:07:07
6
+ */
7
+ @import '../../style/common';
8
+
9
+ @prefix-tree-helper: ~'@{qm-prefix}-tree-helper';
10
+
11
+ .@{prefix-tree-helper}--wrapper {
12
+ .reset-container();
13
+ height: 100%;
14
+ .ant-tree {
15
+ .filter-node {
16
+ & > span:last-of-type {
17
+ color: @--primary-color;
18
+ }
19
+ }
20
+ }
21
+ }
@@ -1,24 +1,24 @@
1
- /*
2
- * @Author: 焦质晔
3
- * @Date: 2022-01-11 18:01:20
4
- * @Last Modified by: 焦质晔
5
- * @Last Modified time: 2022-09-04 17:06:49
6
- */
7
- @import '../../style/common';
8
-
9
- @prefix-tree-table-helper: ~'@{qm-prefix}-tree-table-helper';
10
-
11
- .@{prefix-tree-table-helper}--wrapper {
12
- .reset-container();
13
- height: 100%;
14
- .split-pane {
15
- overflow: hidden;
16
- }
17
- .ant-tree {
18
- .filter-node {
19
- & > span:last-of-type {
20
- color: @--primary-color;
21
- }
22
- }
23
- }
24
- }
1
+ /*
2
+ * @Author: 焦质晔
3
+ * @Date: 2022-01-11 18:01:20
4
+ * @Last Modified by: 焦质晔
5
+ * @Last Modified time: 2022-09-04 17:06:49
6
+ */
7
+ @import '../../style/common';
8
+
9
+ @prefix-tree-table-helper: ~'@{qm-prefix}-tree-table-helper';
10
+
11
+ .@{prefix-tree-table-helper}--wrapper {
12
+ .reset-container();
13
+ height: 100%;
14
+ .split-pane {
15
+ overflow: hidden;
16
+ }
17
+ .ant-tree {
18
+ .filter-node {
19
+ & > span:last-of-type {
20
+ color: @--primary-color;
21
+ }
22
+ }
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-design-react",
3
- "version": "1.9.18",
3
+ "version": "1.9.20",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",