labsense-ui-kit 1.0.26 → 1.0.27

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 CHANGED
@@ -2304,7 +2304,7 @@ var LoaderWrapper = styled__default.div(_templateObject3$1 || (_templateObject3$
2304
2304
  var loaderPosition = _ref6.loaderPosition;
2305
2305
  return loaderPosition === 'left' ? '4px' : '0';
2306
2306
  });
2307
- var Container = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n \n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
2307
+ var Container = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n svg {\n cursor: ", ";\n }\n"])), function (_ref7) {
2308
2308
  var iconPosition = _ref7.iconPosition;
2309
2309
  return iconPosition === 'right' ? 'row-reverse' : 'row';
2310
2310
  }, function (_ref8) {
@@ -2425,7 +2425,7 @@ var ButtonComponent = function ButtonComponent(_ref20) {
2425
2425
  }, React__default.createElement(Container, {
2426
2426
  iconPosition: iconPos,
2427
2427
  gap: gap,
2428
- cursor: !disabled && onclick ? 'pointer' : 'default'
2428
+ cursor: !disabled && typeof onClick === 'function' ? 'pointer' : 'default'
2429
2429
  }, icon && React__default.createElement(Icon, {
2430
2430
  icon: icon,
2431
2431
  weight: iconWeight,