trepur_components 0.4.6 → 0.4.8
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.
|
@@ -125,7 +125,7 @@ const TextAndTitle = _ref => {
|
|
|
125
125
|
[textAndTitleProps.titleColor]: textAndTitleProps === null || textAndTitleProps === void 0 ? void 0 : textAndTitleProps.titleColor,
|
|
126
126
|
'text-black': !(textAndTitleProps !== null && textAndTitleProps !== void 0 && textAndTitleProps.titleColor),
|
|
127
127
|
[borderClasses]: (textAndTitleProps === null || textAndTitleProps === void 0 ? void 0 : textAndTitleProps.withLiveUpdates) && !isInEditingMode
|
|
128
|
-
}, 'text-md
|
|
128
|
+
}, 'text-md break-words');
|
|
129
129
|
const textClassList = (0, _classnames.default)({
|
|
130
130
|
'text-center': textAndTitleProps === null || textAndTitleProps === void 0 ? void 0 : textAndTitleProps.textCenter,
|
|
131
131
|
[textAndTitleProps.textClasses]: textAndTitleProps === null || textAndTitleProps === void 0 ? void 0 : textAndTitleProps.textClasses,
|
|
@@ -29,8 +29,6 @@ const Timeline = _ref => {
|
|
|
29
29
|
let {
|
|
30
30
|
id,
|
|
31
31
|
classes,
|
|
32
|
-
verticalImageProps,
|
|
33
|
-
horizontalImageProps,
|
|
34
32
|
isHorizontal,
|
|
35
33
|
items,
|
|
36
34
|
reverse,
|
|
@@ -198,7 +196,7 @@ const Timeline = _ref => {
|
|
|
198
196
|
id: circlePos,
|
|
199
197
|
className: isHorizontal ? 'horizontal py-0 my-0' : 'vertical'
|
|
200
198
|
}, /*#__PURE__*/_react.default.createElement(_Image.default, {
|
|
201
|
-
imageProps: _objectSpread({},
|
|
199
|
+
imageProps: _objectSpread({}, item.centerImageProps)
|
|
202
200
|
})) : /*#__PURE__*/_react.default.createElement("p", {
|
|
203
201
|
id: circlePos,
|
|
204
202
|
className: circle
|
|
@@ -231,7 +229,7 @@ const Timeline = _ref => {
|
|
|
231
229
|
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
232
230
|
style: verticalCircleStylesBefore
|
|
233
231
|
}), /*#__PURE__*/_react.default.createElement(_Image.default, {
|
|
234
|
-
imageProps: _objectSpread({},
|
|
232
|
+
imageProps: _objectSpread({}, item.centerImageProps)
|
|
235
233
|
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
236
234
|
style: verticalCircleStylesAfter
|
|
237
235
|
})) : /*#__PURE__*/_react.default.createElement("p", {
|