@elementor/editor-variables 3.35.0-330 → 3.35.0-331

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.mjs CHANGED
@@ -1953,7 +1953,7 @@ import { bindPopover, bindTrigger as bindTrigger3, Box as Box4, Popover, usePopu
1953
1953
  function transformValueBeforeUnlink(variable, propTypeKey) {
1954
1954
  const { valueTransformer } = getVariableType(propTypeKey);
1955
1955
  if (valueTransformer) {
1956
- return valueTransformer(variable);
1956
+ return valueTransformer(variable.value, variable.type);
1957
1957
  }
1958
1958
  return variable.value;
1959
1959
  }