Discussed in #62576
Originally posted by mogmarsh October 5, 2022
@types/wordpress__components/color-picker/index.d.ts references deprecated properties and does not support new properties.
See WordPress/gutenberg@d2363e7 and WordPress/gutenberg#35220
From the changelog:
The ColorPicker component property onChangeComplete, a function accepting a color object, was replaced with the property onChange, a function accepting a string on (#35220).
The property disableAlpha, was removed from the ColorPicker component. Use the new opposite property enableAlpha instead (#35220).
Discussed in #62576
Originally posted by mogmarsh October 5, 2022
@types/wordpress__components/color-picker/index.d.ts references deprecated properties and does not support new properties.
See WordPress/gutenberg@d2363e7 and WordPress/gutenberg#35220
From the changelog: