datastake-daf 0.6.157 → 0.6.159
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
CHANGED
|
@@ -20655,8 +20655,7 @@ const WidgetCard = _ref => {
|
|
|
20655
20655
|
className: "widget-card-logo-icon",
|
|
20656
20656
|
href: link,
|
|
20657
20657
|
children: /*#__PURE__*/jsxRuntime.jsx(CustomIcon, {
|
|
20658
|
-
|
|
20659
|
-
name: "Link",
|
|
20658
|
+
name: buttonIcon,
|
|
20660
20659
|
size: 16,
|
|
20661
20660
|
color: iconColor || antd.theme.colorPrimary
|
|
20662
20661
|
})
|
package/package.json
CHANGED
|
@@ -22,7 +22,8 @@ export const Primary = {
|
|
|
22
22
|
"link": "/app/mines/summary/LOC-00000000271",
|
|
23
23
|
"logoIcon": "Kobo",
|
|
24
24
|
"description": "This is a description of the widget card. It can be long and scrollable.",
|
|
25
|
-
"buttonIcon": '
|
|
25
|
+
"buttonIcon": 'ArrowUpRight',
|
|
26
|
+
"iconColor": "#ff0000",
|
|
26
27
|
"data": [
|
|
27
28
|
{
|
|
28
29
|
"label": "Type",
|
|
@@ -33,7 +33,7 @@ const WidgetCard = ({
|
|
|
33
33
|
addedHeader={
|
|
34
34
|
<>
|
|
35
35
|
<div className="flex-1" /><a className="widget-card-logo-icon" href={link}>
|
|
36
|
-
<CustomIcon
|
|
36
|
+
<CustomIcon name={buttonIcon} size={16} color={iconColor || theme.colorPrimary} />
|
|
37
37
|
</a>
|
|
38
38
|
</>
|
|
39
39
|
}
|