ui-kit-ck-consultant 0.5.269 → 0.5.270
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.css +5 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -1208,7 +1208,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
|
|
1208
1208
|
return Header;
|
1209
1209
|
}(React.Component);
|
1210
1210
|
|
1211
|
-
var style$c = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_disabled":"_3BnES","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
|
1211
|
+
var style$c = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_disabled":"_3BnES","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_color_action":"_2hmw7","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
|
1212
1212
|
|
1213
1213
|
var Card = /*#__PURE__*/function (_React$Component) {
|
1214
1214
|
_inheritsLoose(Card, _React$Component);
|
@@ -1339,7 +1339,8 @@ var CardColor = /*#__PURE__*/function (_React$Component) {
|
|
1339
1339
|
|
1340
1340
|
_proto.render = function render() {
|
1341
1341
|
return /*#__PURE__*/React.createElement("div", {
|
1342
|
-
className: classNames$1(style$c.card_color, this.props.className)
|
1342
|
+
className: classNames$1(style$c.card_color, this.props.onClick ? style$c.card_color_action : {}, this.props.className),
|
1343
|
+
onClick: this.props.onClick
|
1343
1344
|
}, this.props.count === 0 || this.props.count ? /*#__PURE__*/React.createElement("div", {
|
1344
1345
|
className: style$c.card_color_left
|
1345
1346
|
}, /*#__PURE__*/React.createElement("span", null, this.props.count)) : /*#__PURE__*/React.createElement("div", {
|
@@ -1347,8 +1348,7 @@ var CardColor = /*#__PURE__*/function (_React$Component) {
|
|
1347
1348
|
}, /*#__PURE__*/React.createElement("span", null, this.props.image)), /*#__PURE__*/React.createElement("div", {
|
1348
1349
|
className: style$c.card_color_center
|
1349
1350
|
}, /*#__PURE__*/React.createElement("span", null, this.props.title), /*#__PURE__*/React.createElement("span", null, this.props.subtitle)), /*#__PURE__*/React.createElement("div", {
|
1350
|
-
className: style$c.card_color_right
|
1351
|
-
onClick: this.props.onClick
|
1351
|
+
className: style$c.card_color_right
|
1352
1352
|
}, this.props.icon ? this.props.icon : /*#__PURE__*/React.createElement(FontAwesomeIcon, {
|
1353
1353
|
icon: faArrowRight
|
1354
1354
|
})));
|