trepur_components 0.3.39 → 0.3.42

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.
@@ -81,9 +81,6 @@ const Image = _ref => {
81
81
  [imageProps === null || imageProps === void 0 ? void 0 : imageProps.classes]: imageProps === null || imageProps === void 0 ? void 0 : imageProps.classes,
82
82
  [rounded]: imageProps === null || imageProps === void 0 ? void 0 : imageProps.rounded
83
83
  }, widthClassList, heightClassList);
84
- console.log({
85
- imageProps
86
- });
87
84
  return /*#__PURE__*/_react.default.createElement("div", {
88
85
  className: classList
89
86
  }, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageName) && /*#__PURE__*/_react.default.createElement("div", {
@@ -103,7 +103,6 @@ const SocialBlock = _ref => {
103
103
 
104
104
  const handleChange = e => {
105
105
  let id = e.target.id;
106
- console.log('id', id);
107
106
  id = id.split('-')[id.split('-').length - 1];
108
107
  setComponentData(_objectSpread(_objectSpread({}, componentData), {}, {
109
108
  [id]: {
@@ -50,8 +50,8 @@ const textAndTitleProps = {
50
50
  editInputClasses: _propTypes.default.string,
51
51
  textClasses: _propTypes.default.string,
52
52
  textLineOne: _propTypes.default.string,
53
- textLineTwo: _propTypes.default.string,
54
- textLineThree: _propTypes.default.string,
53
+ textLineTwo: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
54
+ textLineThree: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.object]),
55
55
  title: _propTypes.default.string,
56
56
  titleBold: _propTypes.default.bool,
57
57
  titleBgColor: _propTypes.default.string,
@@ -267,10 +267,10 @@ const TextAndTitle = _ref => {
267
267
  }, componentData.textLineOne.text) : /*#__PURE__*/_react.default.createElement("p", {
268
268
  id: "textLineOne",
269
269
  className: textClassList
270
- }, componentData.textLineOne.text), /*#__PURE__*/_react.default.createElement("p", {
270
+ }, componentData.textLineOne.text), /*#__PURE__*/_react.default.createElement("div", {
271
271
  id: "textLineTwo",
272
272
  className: textClassList
273
- }, componentData.textLineTwo.text), /*#__PURE__*/_react.default.createElement("p", {
273
+ }, componentData.textLineTwo.text), /*#__PURE__*/_react.default.createElement("div", {
274
274
  id: "textLineThree",
275
275
  className: textClassList
276
276
  }, componentData.textLineThree.text))));
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.39",
5
+ "version": "0.3.42",
6
6
  "private": false,
7
7
  "keywords": [
8
8
  "react",