Skip to content

Commit

Permalink
fix: Add info to upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel.carrera committed Dec 6, 2024
1 parent b1084e4 commit a643134
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions modules/docs/mdx/11.0-UPGRADE-GUIDE.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ A note to the reader:
- [Styling API and CSS Tokens](#styling-api-and-css-tokens)
- [CountBadge](#count-badge)
- [Form Field Preview](#form-field-preview)
- [Graphic](#graphic)
- [Icons](#icons)
- [Image](#image)
- [Status Indicator (Preview)](#status-indicator-preview)
- [Table](#table)
- [Text](#text)
Expand Down Expand Up @@ -636,6 +638,12 @@ to check your logic to make sure it sets the appropaite value to the prop.
> **Note:** If you use your own custom `input` you will need to handle the styling for error and
> alert states.
### Graphic

**PR:** [#3062](https://github.com/Workday/canvas-kit/pull/3062)

We've updated `Graphic` and its `src` prop to accept a `string` value to support images loaded from a CDN or SAS. The previous API is still supported.

### Icons

<div style={{display: 'inline-flex', gap: '.5rem'}}>
Expand Down Expand Up @@ -809,6 +817,13 @@ const MyComponent = StyledRadioButton('div')({
</MyComponent>;
```

### Image

**PR:** [#3062](https://github.com/Workday/canvas-kit/pull/3062)

We've added a new `Image` component under the `@workday/canvas-kit-react/icon` package. This component renders an `img` element and is meant to be used when you need more control over the image attributes like aspect ratio or object fit.


### Status Indicator (Preview)

<StatusIndicator variant="red" emphasis="low">
Expand Down

0 comments on commit a643134

Please sign in to comment.