trepur_components 0.3.36 → 0.3.39

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,10 +76,14 @@ 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);
84
+ console.log({
85
+ imageProps
86
+ });
83
87
  return /*#__PURE__*/_react.default.createElement("div", {
84
88
  className: classList
85
89
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageName) && /*#__PURE__*/_react.default.createElement("div", {
@@ -93,8 +97,8 @@ const Image = _ref => {
93
97
  }, imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageName)), /*#__PURE__*/_react.default.createElement("img", _extends({}, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.id) && {
94
98
  id: imageProps === null || imageProps === void 0 ? void 0 : imageProps.id
95
99
  }, {
96
- src: imageProps === null || imageProps === void 0 ? void 0 : imageProps.image,
97
- className: "".concat(widthClassList, " ").concat(heightClassList)
100
+ className: "".concat(widthClassList, " ").concat(heightClassList, " ").concat(rounded),
101
+ src: imageProps === null || imageProps === void 0 ? void 0 : imageProps.image
98
102
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText) && {
99
103
  alt: imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText
100
104
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.title) && {
@@ -198,7 +198,8 @@ const Timeline = _ref => {
198
198
  classes: imageClassList,
199
199
  title: item.logoTitle,
200
200
  image: item.logo,
201
- altText: "".concat(item.logoAltText, " center logo")
201
+ altText: "".concat(item.logoAltText, " center logo"),
202
+ rounded: true
202
203
  }
203
204
  })) : /*#__PURE__*/_react.default.createElement("p", {
204
205
  id: circlePos,
@@ -236,7 +237,8 @@ const Timeline = _ref => {
236
237
  classes: imageClassList,
237
238
  title: item.logoTitle,
238
239
  image: item.logo,
239
- altText: "".concat(item.logoAltText, " center logo")
240
+ altText: "".concat(item.logoAltText, " center logo"),
241
+ rounded: true
240
242
  }
241
243
  }), /*#__PURE__*/_react.default.createElement("span", {
242
244
  style: verticalCircleStylesAfter
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.36",
5
+ "version": "0.3.39",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",