ls-pro-common 3.0.4 → 3.0.5

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.
@@ -1,90 +1,49 @@
1
1
  body {
2
2
 
3
- --bg-color:#F9FAFB;
4
-
5
-
6
- --ant-primary-color : #0E55CB;
7
- --ant-primary-color-hover : #3277d9;
8
- --ant-primary-color-active : #033ca6;
9
- --ant-primary-color-outline : rgba(14, 85, 203, 0.2);
10
- --ant-primary-1 : #e6f4ff;
11
- --ant-primary-2 : #b5dbff;
12
- --ant-primary-3 : #85baf2;
13
- --ant-primary-4 : #5a99e6;
14
- --ant-primary-5 : #3277d9;
15
- --ant-primary-6 : #0E55CB;
16
- --ant-primary-7 : #033ca6;
17
- --ant-primary-color-deprecated-pure : #94b9f8;
18
- --ant-primary-color-deprecated-l-35 : #94b9f8;
19
- --ant-primary-color-deprecated-l-20 : #4c8bf3;
20
- --ant-primary-color-deprecated-t-20 : #3e77d5;
21
- --ant-primary-color-deprecated-t-50 : #87aae5;
22
- --ant-primary-color-deprecated-f-12 : rgba(14, 85, 203, 0.12);
3
+ --bg-color: #F9FAFB;
4
+
5
+
6
+ --ant-primary-color: #1869ED;
7
+ --ant-primary-color-hover: #418efa;
8
+ --ant-primary-color-active: #0a4cc7;
9
+ --ant-primary-color-outline: rgba(24, 105, 237, 0.2);
10
+ --ant-primary-1: #e6f4ff;
11
+ --ant-primary-2: #bddfff;
12
+ --ant-primary-3: #94c8ff;
13
+ --ant-primary-4: #6baeff;
14
+ --ant-primary-5: #418efa;
15
+ --ant-primary-6: #1869ED;
16
+ --ant-primary-7: #0a4cc7;
17
+ --ant-primary-color-deprecated-pure: #bed5fa;
18
+ --ant-primary-color-deprecated-l-35: #bed5fa;
19
+ --ant-primary-color-deprecated-l-20: #77a6f4;
20
+ --ant-primary-color-deprecated-t-20: #4687f1;
21
+ --ant-primary-color-deprecated-t-50: #8cb4f6;
22
+ --ant-primary-color-deprecated-f-12: rgba(24, 105, 237, 0.12);
23
23
  --ant-primary-color-active-deprecated-f-30: rgba(230, 244, 255, 0.3);
24
24
  --ant-primary-color-active-deprecated-d-02: #dcf0ff;
25
- --ant-success-color : #52c41a;
26
- --ant-success-color-hover : #73d13d;
27
- --ant-success-color-active : #389e0d;
28
- --ant-success-color-outline : rgba(82, 196, 26, 0.2);
29
- --ant-success-color-deprecated-bg : #f6ffed;
30
- --ant-success-color-deprecated-border : #b7eb8f;
31
- --ant-error-color : #ff4d4f;
32
- --ant-error-color-hover : #ff7875;
33
- --ant-error-color-active : #d9363e;
34
- --ant-error-color-outline : rgba(255, 77, 79, 0.2);
35
- --ant-error-color-deprecated-bg : #fff2f0;
36
- --ant-error-color-deprecated-border : #ffccc7;
37
- --ant-warning-color : #faad14;
38
- --ant-warning-color-hover : #ffc53d;
39
- --ant-warning-color-active : #d48806;
40
- --ant-warning-color-outline : rgba(250, 173, 20, 0.2);
41
- --ant-warning-color-deprecated-bg : #fffbe6;
42
- --ant-warning-color-deprecated-border : #ffe58f;
43
- --ant-info-color : #0E55CB;
44
- --ant-info-color-deprecated-bg : #e6f4ff;
45
- --ant-info-color-deprecated-border : #85baf2;
46
-
47
-
48
- // --ant-primary-color : #4997E6;
49
- // --ant-primary-color-hover : #74b7f2;
50
- // --ant-primary-color-active : #3475bf;
51
- // --ant-primary-color-outline : rgba(73, 151, 230, 0.2);
52
- // --ant-primary-1 : #f0faff;
53
- // --ant-primary-2 : #f0f9ff;
54
- // --ant-primary-3 : #ccebff;
55
- // --ant-primary-4 : #a3d7ff;
56
- // --ant-primary-5 : #74b7f2;
57
- // --ant-primary-6 : #4997E6;
58
- // --ant-primary-7 : #3475bf;
59
- // --ant-primary-color-deprecated-pure : #e6f1fc;
60
- // --ant-primary-color-deprecated-l-35 : #e6f1fc;
61
- // --ant-primary-color-deprecated-l-20 : #a3caf2;
62
- // --ant-primary-color-deprecated-t-20 : #6daceb;
63
- // --ant-primary-color-deprecated-t-50 : #a4cbf3;
64
- // --ant-primary-color-deprecated-f-12 : rgba(73, 151, 230, 0.12);
65
- // --ant-primary-color-active-deprecated-f-30: rgba(240, 250, 255, 0.3);
66
- // --ant-primary-color-active-deprecated-d-02: #e6f7ff;
67
- // --ant-success-color : #52c41a;
68
- // --ant-success-color-hover : #73d13d;
69
- // --ant-success-color-active : #389e0d;
70
- // --ant-success-color-outline : rgba(82, 196, 26, 0.2);
71
- // --ant-success-color-deprecated-bg : #f6ffed;
72
- // --ant-success-color-deprecated-border : #b7eb8f;
73
- // --ant-error-color : #ff4d4f;
74
- // --ant-error-color-hover : #ff7875;
75
- // --ant-error-color-active : #d9363e;
76
- // --ant-error-color-outline : rgba(255, 77, 79, 0.2);
77
- // --ant-error-color-deprecated-bg : #fff2f0;
78
- // --ant-error-color-deprecated-border : #ffccc7;
79
- // --ant-warning-color : #faad14;
80
- // --ant-warning-color-hover : #ffc53d;
81
- // --ant-warning-color-active : #d48806;
82
- // --ant-warning-color-outline : rgba(250, 173, 20, 0.2);
83
- // --ant-warning-color-deprecated-bg : #fffbe6;
84
- // --ant-warning-color-deprecated-border : #ffe58f;
85
- // --ant-info-color : #4997E6;
86
- // --ant-info-color-deprecated-bg : #f0faff;
87
- // --ant-info-color-deprecated-border : #ccebff;
25
+ --ant-success-color: #52c41a;
26
+ --ant-success-color-hover: #73d13d;
27
+ --ant-success-color-active: #389e0d;
28
+ --ant-success-color-outline: rgba(82, 196, 26, 0.2);
29
+ --ant-success-color-deprecated-bg: #f6ffed;
30
+ --ant-success-color-deprecated-border: #b7eb8f;
31
+ --ant-error-color: #ff4d4f;
32
+ --ant-error-color-hover: #ff7875;
33
+ --ant-error-color-active: #d9363e;
34
+ --ant-error-color-outline: rgba(255, 77, 79, 0.2);
35
+ --ant-error-color-deprecated-bg: #fff2f0;
36
+ --ant-error-color-deprecated-border: #ffccc7;
37
+ --ant-warning-color: #faad14;
38
+ --ant-warning-color-hover: #ffc53d;
39
+ --ant-warning-color-active: #d48806;
40
+ --ant-warning-color-outline: rgba(250, 173, 20, 0.2);
41
+ --ant-warning-color-deprecated-bg: #fffbe6;
42
+ --ant-warning-color-deprecated-border: #ffe58f;
43
+ --ant-info-color: #1869ED;
44
+ --ant-info-color-deprecated-bg: #e6f4ff;
45
+ --ant-info-color-deprecated-border: #94c8ff;
46
+
88
47
  }
89
48
 
90
49
  * ::-webkit-scrollbar-thumb {
@@ -176,7 +135,7 @@ body.theme-yellow {
176
135
  left : 0;
177
136
  right : 0;
178
137
  bottom : 0;
179
- background : var(--bg-color,#f9fafb);
138
+ background : var(--bg-color, #f9fafb);
180
139
  display : flex;
181
140
  flex-direction: column;
182
141
  z-index : 50;
@@ -400,6 +359,7 @@ a:hover {
400
359
  align-items : center;
401
360
  background : #fff;
402
361
  padding-bottom: 12px;
362
+
403
363
  .ls-group-divider {
404
364
  height : 14px;
405
365
  border-right: 2px solid var(--ant-primary-color);
@@ -503,6 +463,12 @@ a:hover {
503
463
  }
504
464
  }
505
465
 
466
+ .ls-input-table {
467
+ .ant-pro-table-list-toolbar {
468
+ padding-top: 0px;
469
+ }
470
+ }
471
+
506
472
 
507
473
  @import url('./antd-custom.less');
508
474
 
@@ -592,7 +592,6 @@ function useSingle(inParam) {
592
592
  var tableTools = (0, _react.useMemo)(function () {
593
593
  return [(toolConfig === null || toolConfig === void 0 ? void 0 : toolConfig.add) && canAdd ? /*#__PURE__*/_react.default.createElement(_button.default, {
594
594
  key: "add",
595
- type: "primary",
596
595
  onClick: function onClick() {
597
596
  return onAdd(null);
598
597
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ls-pro-common",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "description": "ls-pro-common",
5
5
  "keywords": [
6
6
  "antd",
@@ -27,8 +27,8 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "@ant-design/icons": "^4.3.0",
30
- "ls-pro-table": "^3.0.3",
31
- "ls-pro-form": "^3.0.1",
30
+ "ls-pro-table": "^3.0.4",
31
+ "ls-pro-form": "^3.0.4",
32
32
  "ls-pro-descriptions": "^3.0.1",
33
33
  "ls-pro-card": "^3.0.1",
34
34
  "@babel/runtime": "^7.16.3",