Skip to content

Commit 0aa87ba

Browse files
BaseControl: Add changelog entry to clarify that the component doesn't support the 'as' prop
1 parent 0698c12 commit 0aa87ba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/components/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- `Icon`: Merge a consumer-supplied `style` prop with the icon's intrinsic styles instead of replacing them, so styles like `fill: none` on stroke-based icons survive unless the consumer overrides the same property explicitly. ([#78808](https://github.com/WordPress/gutenberg/pull/78808))
1919
- `ItemGroup`: Drop the blanket `path { fill: currentColor }` rule that was overriding stroke-based icons' intended fill via inheritance bypass. Paths without an explicit fill still inherit `currentColor` from the surrounding SVG. Custom paths that specify a fill now retain it instead of being overridden by ItemGroup. ([#78808](https://github.com/WordPress/gutenberg/pull/78808))
2020
- `Tip`: Preserve the intended yellow color after its icon became stroke-based. ([#78808](https://github.com/WordPress/gutenberg/pull/78808))
21+
- `BaseControl`: Fix documentation to clarify that the component doesn't support the `as` prop ([#70064](https://github.com/WordPress/gutenberg/pull/70064)).
2122

2223
### Internal
2324

0 commit comments

Comments
 (0)