labsense-ui-kit 1.3.69 → 1.3.70
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7275,12 +7275,13 @@ var ButtonComponent = function ButtonComponent(_ref21) {
|
|
|
7275
7275
|
icon: icon,
|
|
7276
7276
|
weight: iconWeight,
|
|
7277
7277
|
size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
|
|
7278
|
-
onClick: function
|
|
7278
|
+
onClick: !disabled ? undefined : function (e) {
|
|
7279
7279
|
if (iconClick) {
|
|
7280
7280
|
e.stopPropagation();
|
|
7281
7281
|
iconClick === null || iconClick === void 0 ? void 0 : iconClick();
|
|
7282
7282
|
}
|
|
7283
7283
|
},
|
|
7284
|
+
cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default',
|
|
7284
7285
|
color: getIconColor()
|
|
7285
7286
|
}), text && React.createElement(ButtonText, {
|
|
7286
7287
|
"$size": size,
|