ui-kit-ck-consultant 0.5.298 → 0.5.300
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.
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1170,6 +1170,10 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1170
1170
|
};
|
1171
1171
|
|
1172
1172
|
_proto.render = function render() {
|
1173
|
+
if (this.props.noCard) {
|
1174
|
+
return this.props.children;
|
1175
|
+
}
|
1176
|
+
|
1173
1177
|
return /*#__PURE__*/React__default.createElement("div", {
|
1174
1178
|
style: this.props.border ? {
|
1175
1179
|
borderLeft: "solid " + this.props.border + " 16px"
|
@@ -1179,6 +1183,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1179
1183
|
className: classNames$1(style$c.card_disabled)
|
1180
1184
|
}) : null, this.props.imgLeft ? /*#__PURE__*/React__default.createElement("div", {
|
1181
1185
|
style: {
|
1186
|
+
position: 'relative',
|
1182
1187
|
overflow: 'hidden',
|
1183
1188
|
width: this.props.customWidthImgLeft || '100%',
|
1184
1189
|
flexGrow: 0,
|
@@ -1186,6 +1191,8 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1186
1191
|
}
|
1187
1192
|
}, /*#__PURE__*/React__default.createElement("img", {
|
1188
1193
|
style: {
|
1194
|
+
position: 'absolute',
|
1195
|
+
right: 0,
|
1189
1196
|
height: '100%'
|
1190
1197
|
},
|
1191
1198
|
src: this.props.imgLeft,
|
@@ -1226,6 +1233,7 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1226
1233
|
className: classNames$1(style$c.card_body, this.props.classNameChildren)
|
1227
1234
|
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React__default.createElement("div", {
|
1228
1235
|
style: {
|
1236
|
+
position: 'relative',
|
1229
1237
|
overflow: 'hidden',
|
1230
1238
|
width: this.props.customWidthImgRight || '100%',
|
1231
1239
|
flexGrow: 0,
|
@@ -1233,6 +1241,8 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
1233
1241
|
}
|
1234
1242
|
}, /*#__PURE__*/React__default.createElement("img", {
|
1235
1243
|
style: {
|
1244
|
+
position: 'absolute',
|
1245
|
+
left: 0,
|
1236
1246
|
height: '100%'
|
1237
1247
|
},
|
1238
1248
|
src: this.props.imgRight,
|