react-magma-dom 5.0.1-rc.1 → 5.0.1-rc.2

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.
@@ -2398,7 +2398,9 @@ function buildAIActiveColor(initialProps) {
2398
2398
  return props.theme.colors.neutral100;
2399
2399
  }
2400
2400
  function buildBoxShadow(props) {
2401
- return "0 1px 6px " + polished.transparentize(0.5, props.theme.colors.primary400);
2401
+ if (!props.disabled) {
2402
+ return props.isInverse ? "0 2px 6px 0 " + polished.transparentize(0.82, props.theme.colors.neutral900) : "0 1px 6px " + polished.transparentize(0.5, props.theme.colors.primary400);
2403
+ }
2402
2404
  }
2403
2405
 
2404
2406
  var _templateObject;