labsense-ui-kit 1.4.51 → 1.4.52
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 +4 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8529,12 +8529,10 @@ var ButtonComponent = function ButtonComponent(_ref21) {
|
|
|
8529
8529
|
icon: icon,
|
|
8530
8530
|
weight: iconWeight,
|
|
8531
8531
|
size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
|
|
8532
|
-
onClick: function
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
}
|
|
8537
|
-
},
|
|
8532
|
+
onClick: iconClick ? function (e) {
|
|
8533
|
+
e.stopPropagation();
|
|
8534
|
+
iconClick();
|
|
8535
|
+
} : undefined,
|
|
8538
8536
|
cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default',
|
|
8539
8537
|
color: getIconColor()
|
|
8540
8538
|
}), text && React__default.createElement(ButtonText, {
|