The CustomGradientPicker component fails to parse gradients using size keywords (e.g., closest-side, farthest-corner) in theme.json. When selecting such a gradient, the picker shows correctly in the UI but the subcomponents don't populate and an error appears in the console.
The root cause is the outdated version of the gradient-parser library (0.1.5) currently used in the components package. This bug has been fixed in version 1.0.0 of the gradient-parser library, and we need to update to the latest version (1.0.2).
Related