datastake-daf 0.6.176 → 0.6.178

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.
@@ -12390,7 +12390,7 @@ function Loading(_ref) {
12390
12390
  }
12391
12391
 
12392
12392
  const {
12393
- Paragraph
12393
+ Paragraph: Paragraph$1
12394
12394
  } = antd.Typography;
12395
12395
  const useHeader = _ref => {
12396
12396
  let {
@@ -12549,7 +12549,7 @@ const useHeader = _ref => {
12549
12549
  marginLeft: goBackTo ? "33px" : 0
12550
12550
  },
12551
12551
  className: "support-text",
12552
- children: /*#__PURE__*/jsxRuntime.jsx(Paragraph, {
12552
+ children: /*#__PURE__*/jsxRuntime.jsx(Paragraph$1, {
12553
12553
  ellipsis: {
12554
12554
  tooltip: supportText,
12555
12555
  rows: 1
@@ -15221,6 +15221,9 @@ Loader.propTypes = {
15221
15221
  style: PropTypes__default["default"].any
15222
15222
  };
15223
15223
 
15224
+ const {
15225
+ Paragraph
15226
+ } = antd.Typography;
15224
15227
  function Widget(_ref) {
15225
15228
  let {
15226
15229
  title = "",
@@ -15284,7 +15287,7 @@ function Widget(_ref) {
15284
15287
  children: /*#__PURE__*/jsxRuntime.jsx("h1", {
15285
15288
  children: title
15286
15289
  })
15287
- }), description && /*#__PURE__*/jsxRuntime.jsx("p", {
15290
+ }), description && /*#__PURE__*/jsxRuntime.jsx(Paragraph, {
15288
15291
  className: "description",
15289
15292
  children: description
15290
15293
  })]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastake-daf",
3
- "version": "0.6.176",
3
+ "version": "0.6.178",
4
4
  "dependencies": {
5
5
  "@ant-design/icons": "^5.2.5",
6
6
  "@antv/g2": "^5.1.1",
@@ -65,7 +65,7 @@
65
65
 
66
66
  .description {
67
67
  font-size: 14px;
68
- color: var(--base-gray-90);
68
+ color: var(--base-gray-70);
69
69
  margin-top: 12px;
70
70
  }
71
71
 
@@ -1,6 +1,6 @@
1
1
  import { useEffect, useState } from "react";
2
2
  import PropTypes from "prop-types";
3
- import { Button, Tooltip } from "antd";
3
+ import { Button, Tooltip, Typography } from "antd";
4
4
  import {
5
5
  InfoCircleOutlined,
6
6
  MinusOutlined,
@@ -16,6 +16,9 @@ import { formatClassname } from "../../../../../helpers/ClassesHelper";
16
16
  import TabsHeader from "../../Header/TabsHeader/index.jsx";
17
17
  import { useCollapse } from "react-collapsed";
18
18
 
19
+ const { Paragraph } = Typography
20
+
21
+
19
22
  export default function Widget({
20
23
  title = "",
21
24
  noTitle = false,
@@ -82,7 +85,7 @@ export default function Widget({
82
85
  <div className="title cont">
83
86
  <h1>{title}</h1>
84
87
  </div>
85
- {description && <p className="description">{description}</p>}
88
+ {description && <Paragraph className="description">{description}</Paragraph>}
86
89
  </div>
87
90
 
88
91
  {tooltip && (