ui-kit-ck-consultant 0.5.171 → 0.5.174
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 +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -1290,6 +1290,11 @@ var TabsCustomItem = /*#__PURE__*/function (_React$Component) {
|
|
1290
1290
|
var _classNames;
|
1291
1291
|
|
1292
1292
|
var tabsItemClass = classNames$1((_classNames = {}, _classNames[style$f.tabs_custom_item] = true, _classNames[style$f.active] = !!this.props.active, _classNames[this.props.className] = !!this.props.className, _classNames));
|
1293
|
+
|
1294
|
+
if (!this.props.active) {
|
1295
|
+
return null;
|
1296
|
+
}
|
1297
|
+
|
1293
1298
|
return /*#__PURE__*/React.createElement("div", {
|
1294
1299
|
className: tabsItemClass
|
1295
1300
|
}, this.props.children);
|
@@ -1456,9 +1461,7 @@ var TabsEditHeader = /*#__PURE__*/function (_React$Component) {
|
|
1456
1461
|
|
1457
1462
|
return /*#__PURE__*/React.createElement("div", {
|
1458
1463
|
className: classNames$1(style$h.tabs_edit_header, this.props.className)
|
1459
|
-
}, /*#__PURE__*/React.createElement("div", null, this.props.children), /*#__PURE__*/React.createElement("div", {
|
1460
|
-
cl: true
|
1461
|
-
}, /*#__PURE__*/React.createElement("div", {
|
1464
|
+
}, /*#__PURE__*/React.createElement("div", null, this.props.children), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
1462
1465
|
className: "cursor-pointer",
|
1463
1466
|
style: {
|
1464
1467
|
backgroundColor: 'var(--secondary-color)',
|
@@ -2247,6 +2250,7 @@ var PieChart = /*#__PURE__*/function (_React$Component) {
|
|
2247
2250
|
var dataValue = {
|
2248
2251
|
labels: [],
|
2249
2252
|
datasets: [{
|
2253
|
+
percentage: [],
|
2250
2254
|
data: [],
|
2251
2255
|
backgroundColor: [],
|
2252
2256
|
hoverBackgroundColor: []
|