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