|
1 | 1 | # @primer/react-brand
|
2 | 2 |
|
| 3 | +## 0.45.1 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#880](https://github.com/primer/brand/pull/880) [`bfe40610`](https://github.com/primer/brand/commit/bfe4061068a8149fe8b6b7ec498fe61328729d05) Thanks [@rezrah](https://github.com/rezrah)! - Increased border radius of `Card` from `large` (`16px`) to `xlarge` (`24px`) |
| 8 | + |
| 9 | +- [#878](https://github.com/primer/brand/pull/878) [`d9183796`](https://github.com/primer/brand/commit/d918379698bacaeb856067107d9ac59615f146a2) Thanks [@rezrah](https://github.com/rezrah)! - Added `leadingComponent` slot to `SectionIntro` for inserting arbitrary visuals and JSX above the heading. |
| 10 | + |
| 11 | + ```jsx |
| 12 | + <SectionIntro leadingComponent={() => <img src="leading-visual.png" alt="description of your leading visual" />}> |
| 13 | + <SectionIntro.Heading>...</SectionIntro.Heading> |
| 14 | + <SectionIntro.Description>...</SectionIntro.Description> |
| 15 | + <SectionIntro.Link>...</SectionIntro.Link> |
| 16 | + </SectionIntro> |
| 17 | + ``` |
| 18 | + |
| 19 | + 🔗 [See Storybook example](https://primer.style/brand/storybook?path=/story/components-sectionintro-features--leading-component) |
| 20 | + |
| 21 | +- [#880](https://github.com/primer/brand/pull/880) [`bfe40610`](https://github.com/primer/brand/commit/bfe4061068a8149fe8b6b7ec498fe61328729d05) Thanks [@rezrah](https://github.com/rezrah)! - Added `hasBorder` prop to `Pillar` for alternative presentation |
| 22 | + |
| 23 | + 🔗 [See Storybook for an example](https://primer.style/brand/storybook/?path=/story/components-pillar-features--with-border) |
| 24 | + |
| 25 | +- [#703](https://github.com/primer/brand/pull/703) [`621d8ee2`](https://github.com/primer/brand/commit/621d8ee25e15a4a67281be5e4ec6116fa89a6fa0) Thanks [@joshfarrant](https://github.com/joshfarrant)! - `VideoPlayer` accessibility improvements |
| 26 | + |
| 27 | + - Improved contrast of play overlay focus styles. |
| 28 | + - Improved contrast of controls and title. |
| 29 | + - The title bar now hides while the video is playing. |
| 30 | + - The controls bar now hides when the cursor or keyboard focus leaves the video player, or after a few seconds of inactivity, and reappears when the cursor or keyboard focus returns. |
| 31 | + |
| 32 | +- [#862](https://github.com/primer/brand/pull/862) [`eba0c530`](https://github.com/primer/brand/commit/eba0c53043133239006807a2694b05e9852da169) Thanks [@danielguillan](https://github.com/danielguillan)! - Added image support to `Pillar` component |
| 33 | + |
| 34 | + Usage example: |
| 35 | + |
| 36 | + ```jsx |
| 37 | + <Pillar> |
| 38 | + <Pillar.Image src="/path/to/your/image.jpg" alt="Required alternative text" /> |
| 39 | + <Pillar.Heading>Code search & code view</Pillar.Heading> |
| 40 | + <Pillar.Description> |
| 41 | + Enables you to rapidly search, navigate, and understand code, right from GitHub.com. |
| 42 | + </Pillar.Description> |
| 43 | + </Pillar> |
| 44 | + ``` |
| 45 | + |
| 46 | + 🔗 [See Storybook for an example](https://primer.style/brand/storybook/?path=/story/components-pillar-features--with-image) |
| 47 | + |
3 | 48 | ## 0.45.0
|
4 | 49 |
|
5 | 50 | ### Minor Changes
|
|
0 commit comments