trepur_components 0.3.37 → 0.3.38

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.
@@ -76,9 +76,10 @@ const Image = _ref => {
76
76
  'h-40': imageProps.height === 10,
77
77
  'h-44': imageProps.height === 11
78
78
  });
79
+ const rounded = imageProps !== null && imageProps !== void 0 && imageProps.rounded ? 'rounded-full' : '';
79
80
  const classList = (0, _classnames.default)({
80
81
  [imageProps === null || imageProps === void 0 ? void 0 : imageProps.classes]: imageProps === null || imageProps === void 0 ? void 0 : imageProps.classes,
81
- 'rounded-full': imageProps === null || imageProps === void 0 ? void 0 : imageProps.rounded
82
+ [rounded]: imageProps === null || imageProps === void 0 ? void 0 : imageProps.rounded
82
83
  }, widthClassList, heightClassList);
83
84
  return /*#__PURE__*/_react.default.createElement("div", {
84
85
  className: classList
@@ -94,7 +95,7 @@ const Image = _ref => {
94
95
  id: imageProps === null || imageProps === void 0 ? void 0 : imageProps.id
95
96
  }, {
96
97
  src: imageProps === null || imageProps === void 0 ? void 0 : imageProps.image,
97
- className: "".concat(widthClassList, " ").concat(heightClassList, " ").concat(imageProps !== null && imageProps !== void 0 && imageProps.rounded ? 'rounded-full' : '')
98
+ className: "".concat(widthClassList, " ").concat(heightClassList, " ").concat(rounded)
98
99
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText) && {
99
100
  alt: imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText
100
101
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.title) && {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "trepur_components",
3
3
  "description": "component lib",
4
4
  "author": "trepur_ttenneb",
5
- "version": "0.3.37",
5
+ "version": "0.3.38",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",