ui-kit-ck-consultant 0.5.177 → 0.5.180
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/expertloupe~balyfBDB.svg +74 -0
- package/dist/index.css +2 -0
- package/dist/index.js +21 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -898,13 +898,26 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
898
898
|
_proto.render = function render() {
|
899
899
|
return /*#__PURE__*/React.createElement("div", {
|
900
900
|
className: classNames$1(style$b.card, this.props.className)
|
901
|
-
}, this.props.
|
901
|
+
}, this.props.imgLeft ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("img", {
|
902
|
+
style: {
|
903
|
+
height: '100%'
|
904
|
+
},
|
905
|
+
src: this.props.imgLeft,
|
906
|
+
alt: "left"
|
907
|
+
})) : null, this.props.isLoad ? /*#__PURE__*/React.createElement("div", {
|
902
908
|
className: style$b.card_loader_container
|
903
909
|
}, /*#__PURE__*/React.createElement("div", {
|
904
910
|
className: classNames$1(style$b.loader_element, this.props.classNameChildren)
|
905
911
|
}, /*#__PURE__*/React.createElement("div", {
|
906
912
|
className: style$b.loader
|
907
913
|
}, /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null), /*#__PURE__*/React.createElement("span", null)), this.props.loaderText ? /*#__PURE__*/React.createElement("p", null, this.props.loaderText) : null)) : null, /*#__PURE__*/React.createElement("div", {
|
914
|
+
style: {
|
915
|
+
position: 'relative',
|
916
|
+
width: '100%',
|
917
|
+
display: 'flex',
|
918
|
+
flexDirection: 'column'
|
919
|
+
}
|
920
|
+
}, /*#__PURE__*/React.createElement("div", {
|
908
921
|
className: style$b.card_top_border,
|
909
922
|
style: {
|
910
923
|
width: this.state.width
|
@@ -922,7 +935,13 @@ var Card = /*#__PURE__*/function (_React$Component) {
|
|
922
935
|
onClick: this.props.onClick
|
923
936
|
}, this.props.action))) : '', /*#__PURE__*/React.createElement("div", {
|
924
937
|
className: classNames$1(style$b.card_body, this.props.classNameChildren)
|
925
|
-
}, this.props.children))
|
938
|
+
}, this.props.children)), this.props.imgRight ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("img", {
|
939
|
+
style: {
|
940
|
+
height: '100%'
|
941
|
+
},
|
942
|
+
src: this.props.imgRight,
|
943
|
+
alt: "right"
|
944
|
+
})) : null);
|
926
945
|
};
|
927
946
|
|
928
947
|
return Card;
|