Skip to content

Components: replace legacy ColorPicker with new version #34287

Closed

Description

Part of #34284

Why

The new ColorPicker should replace the legacy version of the component

What

This effectively means moving the code of the g2 component over to the src folder of the @wordpress/components package, completely replacing the legacy component.

We need to ensure that usages of the ColorPicker keep working as expected, despite the changes.

A/C

  • The new ColorPicker is promoted to the src folder, replacing the legacy component (a legacy adapter has already been created in components: Add deprecated props adapter for ColorPicker #34014)
    • The code of the legacy ColorPicker is deleted
  • Asses any potential breaking change introduced
  • Test that the component works as expected, in continuity with the previous version:
    • In storybook
    • In the usages across the Gutenberg repository
  • Introduce a changelog entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions