diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index f19e7f7eae7ba..d71f6ba7ce142 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -6,6 +6,10 @@ - `ColorPalette`: prevent overflow of custom color button background ([#66152](https://github.com/WordPress/gutenberg/pull/66152)). +### Enhancements + +- `PaletteEdit`: use `Item` internally instead of custom styles ([#66164](https://github.com/WordPress/gutenberg/pull/66164)). + ## 28.10.0 (2024-10-16) ### Bug Fixes diff --git a/packages/components/src/palette-edit/index.tsx b/packages/components/src/palette-edit/index.tsx index 8bfcb7240b9ea..570613e5378c1 100644 --- a/packages/components/src/palette-edit/index.tsx +++ b/packages/components/src/palette-edit/index.tsx @@ -24,7 +24,7 @@ import Button from '../button'; import { ColorPicker } from '../color-picker'; import { FlexItem } from '../flex'; import { HStack } from '../h-stack'; -import { ItemGroup } from '../item-group'; +import { Item, ItemGroup } from '../item-group'; import { VStack } from '../v-stack'; import GradientPicker from '../gradient-picker'; import ColorPalette from '../color-palette'; @@ -35,7 +35,6 @@ import { PaletteEditStyles, PaletteHeading, IndicatorStyled, - PaletteItem, NameContainer, NameInputControl, DoneButton, @@ -213,7 +212,7 @@ function Option< T extends PaletteElement >( { ); return ( - +