trepur_components 0.3.38 → 0.3.41
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.
|
@@ -94,8 +94,8 @@ const Image = _ref => {
|
|
|
94
94
|
}, imageProps === null || imageProps === void 0 ? void 0 : imageProps.imageName)), /*#__PURE__*/_react.default.createElement("img", _extends({}, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.id) && {
|
|
95
95
|
id: imageProps === null || imageProps === void 0 ? void 0 : imageProps.id
|
|
96
96
|
}, {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
className: "".concat(widthClassList, " ").concat(heightClassList, " ").concat(rounded),
|
|
98
|
+
src: imageProps === null || imageProps === void 0 ? void 0 : imageProps.image
|
|
99
99
|
}, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText) && {
|
|
100
100
|
alt: imageProps === null || imageProps === void 0 ? void 0 : imageProps.altText
|
|
101
101
|
}, (imageProps === null || imageProps === void 0 ? void 0 : imageProps.title) && {
|
|
@@ -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.string || _propTypes.default.object,
|
|
54
|
+
textLineThree: _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("
|
|
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("
|
|
273
|
+
}, componentData.textLineTwo.text), /*#__PURE__*/_react.default.createElement("div", {
|
|
274
274
|
id: "textLineThree",
|
|
275
275
|
className: textClassList
|
|
276
276
|
}, componentData.textLineThree.text))));
|
|
@@ -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
|