Skip to content

Commit b3e748f

Browse files
authored
update changeset
1 parent 89b1028 commit b3e748f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.changeset/early-balloons-carry.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
Refactored Image component and simplified its API.
66

7-
- Removed the (mostly non-functional) `aspectRatio` prop. Use the standard `aspect-ratio` CSS property going forward, or the `--brand-image-aspectRatio` CSS custom property.
8-
- Removed the `as`, `media`, and `sources` props, as well code paths which render a `<picture>` element. To use a `<picture>` element with the updated `Image` component, simply wrap the `Image` with a `picture` element, for example:
7+
- Removed the `as`, `media`, and `sources` props, as well code paths which render a `<picture>` element. To use a `<picture>` element with the updated `Image` component, wrap the `Image` with a `picture` element, for example:
98

109
```jsx
1110
<picture>
@@ -14,5 +13,4 @@ Refactored Image component and simplified its API.
1413
</picture>
1514
```
1615

17-
- Fixed the aspect ratio of images on the category page. They now respect the 16/9 aspect ratio that is set on the card.
1816
- Fixed an edge case with the border radius of the `Card.Image` component. It was previously possible for the div that wraps the image and the image itself to have different border radii.

0 commit comments

Comments
 (0)