contentoh-components-library 21.3.88 → 21.3.89

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.
@@ -35,17 +35,25 @@ var ProgressBar = function ProgressBar(_ref) {
35
35
  children: "local_police"
36
36
  })
37
37
  }),
38
- classNameTooltip: "container-tooltip",
39
- position: undefined,
40
- addArrow: undefined,
41
- transitionType: undefined,
42
- followCursor: undefined
43
- })
44
- }) : "", /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
45
- className: "status-".concat(progressBarType),
46
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
47
- children: [percent, "%"]
38
+ classNameTooltip: "container-tooltip"
48
39
  })
40
+ }) : "", /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.Tooltip, {
41
+ componentTooltip: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
42
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
43
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("b", {
44
+ children: "Porcentaje de requeridos"
45
+ })
46
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("p", {
47
+ children: "Este porcentaje indica la completitud de los atributos requeridos para todos los servicios."
48
+ })]
49
+ }),
50
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Container, {
51
+ className: "status-".concat(progressBarType),
52
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("p", {
53
+ children: [percent, "%"]
54
+ })
55
+ }),
56
+ classNameTooltip: "container-tooltip"
49
57
  })]
50
58
  });
51
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contentoh-components-library",
3
- "version": "21.3.88",
3
+ "version": "21.3.89",
4
4
  "dependencies": {
5
5
  "@aws-amplify/auth": "^4.5.3",
6
6
  "@aws-amplify/datastore": "^3.11.0",
@@ -27,18 +27,27 @@ export const ProgressBar = ({ percent, progressBarType, percentRequired }) => {
27
27
  </ContainerIcon>
28
28
  }
29
29
  classNameTooltip={"container-tooltip"}
30
- position={undefined}
31
- addArrow={undefined}
32
- transitionType={undefined}
33
- followCursor={undefined}
34
- ></Tooltip>
30
+ />
35
31
  </>
36
32
  ) : (
37
33
  ""
38
34
  )}
39
- <Container className={`status-${progressBarType}`}>
40
- <p>{percent}%</p>
41
- </Container>
35
+ <Tooltip
36
+ componentTooltip={
37
+ <>
38
+ <p>
39
+ <b>Porcentaje de requeridos</b>
40
+ </p>
41
+ <p>Este porcentaje indica la completitud de los atributos requeridos para todos los servicios.</p>
42
+ </>
43
+ }
44
+ children={
45
+ <Container className={`status-${progressBarType}`}>
46
+ <p>{percent}%</p>
47
+ </Container>
48
+ }
49
+ classNameTooltip={"container-tooltip"}
50
+ />
42
51
  </>
43
52
  );
44
53
  };