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.
package/dist/esm/index.js CHANGED
@@ -3218,7 +3218,9 @@ function buildAIActiveColor(initialProps) {
3218
3218
  return props.theme.colors.neutral100;
3219
3219
  }
3220
3220
  function buildBoxShadow(props) {
3221
- return "0 1px 6px " + curriedTransparentize(0.5, props.theme.colors.primary400);
3221
+ if (!props.disabled) {
3222
+ return props.isInverse ? "0 2px 6px 0 " + curriedTransparentize(0.82, props.theme.colors.neutral900) : "0 1px 6px " + curriedTransparentize(0.5, props.theme.colors.primary400);
3223
+ }
3222
3224
  }
3223
3225
 
3224
3226
  var _templateObject;