datastake-daf 0.6.202 → 0.6.204
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/dist/components/index.js +429 -411
- package/dist/utils/index.js +422 -410
- package/package.json +1 -1
- package/src/@daf/core/components/Dashboard/Widget/WidgetCard/index.js +4 -2
- package/src/@daf/core/components/Icon/configs/LinkChain.js +16 -0
- package/src/@daf/core/components/Icon/configs/index.js +3 -1
package/package.json
CHANGED
|
@@ -70,7 +70,9 @@ const WidgetCard = ({
|
|
|
70
70
|
flex: 1,
|
|
71
71
|
display: "flex",
|
|
72
72
|
alignItems: "flex-start",
|
|
73
|
-
minHeight: "0"
|
|
73
|
+
minHeight: "0",
|
|
74
|
+
color: '#6C737F',
|
|
75
|
+
fontSize: '14px'
|
|
74
76
|
}}>
|
|
75
77
|
{description}
|
|
76
78
|
</p>
|
|
@@ -84,7 +86,7 @@ const WidgetCard = ({
|
|
|
84
86
|
{data.map((item) => (
|
|
85
87
|
<div key={item} style={{display: "flex", justifyContent: "space-between"}}>
|
|
86
88
|
{item.isTag ? <Tag style={{width: '90px', textAlign: 'center', borderRadius: '10px'}} color={item.tagColor || 'default'}>{item.label}</Tag> : <span>{item.label}</span>}
|
|
87
|
-
<span>{item.value}</span>
|
|
89
|
+
<span style={{fontSize: '12px', color: '#6C737F'}}>{item.value}</span>
|
|
88
90
|
</div>
|
|
89
91
|
))}
|
|
90
92
|
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
viewBox: '0 0 16 17',
|
|
3
|
+
children: (
|
|
4
|
+
<path
|
|
5
|
+
d="M8.47171 12.8984L7.5289 13.8412C6.22716 15.1429 4.11661 15.1429 2.81486 13.8412C1.51311 12.5394 1.51311 10.4289 2.81486 9.12712L3.75767 8.18431M12.2429 9.12712L13.1858 8.18431C14.4875 6.88257 14.4875 4.77202 13.1858 3.47027C11.884 2.16852 9.77346 2.16852 8.47171 3.47027L7.5289 4.41308M5.66697 10.989L10.3336 6.32237"
|
|
6
|
+
stroke="currentColor"
|
|
7
|
+
strokeWidth="1.5"
|
|
8
|
+
strokeLinecap="round"
|
|
9
|
+
strokeLinejoin="round"
|
|
10
|
+
/>
|
|
11
|
+
),
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export default config;
|
|
15
|
+
|
|
16
|
+
|
|
@@ -203,6 +203,7 @@ import WaterDrop from "./WaterDrop";
|
|
|
203
203
|
import SchoolHat from "./SchoolHat";
|
|
204
204
|
import Briefcase from "./Briefcase";
|
|
205
205
|
import Certificate from "./Certificate";
|
|
206
|
+
import LinkChain from "./LinkChain";
|
|
206
207
|
|
|
207
208
|
const config = {
|
|
208
209
|
Right,
|
|
@@ -409,7 +410,8 @@ const config = {
|
|
|
409
410
|
WaterDrop,
|
|
410
411
|
SchoolHat,
|
|
411
412
|
Briefcase,
|
|
412
|
-
Certificate
|
|
413
|
+
Certificate,
|
|
414
|
+
LinkChain
|
|
413
415
|
};
|
|
414
416
|
|
|
415
417
|
export default config;
|