Bug: Incorrect px units on z-index calc expressions and missing calculator memoization
Bug: Incorrect px units on z-index calc expressions and missing calculator memoization: a task in LegoFlow-SWE (Harbor dataset). When antd components are used with CSS variables enabled (cssVar mode), the calculated z-index values incorrectly include px units, breaking the z-index property…
The task
When antd components are used with CSS variables enabled (cssVar mode), the calculated `z-index` values incorrectly include `px` units, breaking the `z-index` property. Additionally, the calculator instances are not memoized, leading to performance degradation due to redundant computations.
Part of Lego-X/LegoFlow-SWE.