datastake-daf 0.6.158 → 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.
@@ -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
- className: buttonIcon,
20659
- name: "Link",
20658
+ name: buttonIcon,
20660
20659
  size: 16,
20661
20660
  color: iconColor || antd.theme.colorPrimary
20662
20661
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.158",
3
+ "version": "0.6.159",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -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": 'cursor-pointer',
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 className={buttonIcon} name="Link" size={16} color={iconColor || theme.colorPrimary} />
36
+ <CustomIcon name={buttonIcon} size={16} color={iconColor || theme.colorPrimary} />
37
37
  </a>
38
38
  </>
39
39
  }