datastake-daf 0.6.174 → 0.6.176

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.
@@ -15284,7 +15284,8 @@ function Widget(_ref) {
15284
15284
  children: /*#__PURE__*/jsxRuntime.jsx("h1", {
15285
15285
  children: title
15286
15286
  })
15287
- }), /*#__PURE__*/jsxRuntime.jsx("p", {
15287
+ }), description && /*#__PURE__*/jsxRuntime.jsx("p", {
15288
+ className: "description",
15288
15289
  children: description
15289
15290
  })]
15290
15291
  }), tooltip && /*#__PURE__*/jsxRuntime.jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.174",
3
+ "version": "0.6.176",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -63,6 +63,12 @@
63
63
  }
64
64
  }
65
65
 
66
+ .description {
67
+ font-size: 14px;
68
+ color: var(--base-gray-90);
69
+ margin-top: 12px;
70
+ }
71
+
66
72
  .cont {
67
73
  display: flex;
68
74
  flex-direction: column;
@@ -82,7 +82,7 @@ export default function Widget({
82
82
  <div className="title cont">
83
83
  <h1>{title}</h1>
84
84
  </div>
85
- <p>{description}</p>
85
+ {description && <p className="description">{description}</p>}
86
86
  </div>
87
87
 
88
88
  {tooltip && (