# @graphcms/rich-text-react-renderer

## 0.6.1

### Patch Changes

- [`80c399f`](https://github.com/hygraph/rich-text/commit/80c399ff57f3f6e03cd5ecd8d23dd118ce3bb69d) [#87](https://github.com/hygraph/rich-text/pull/87) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Make sure width and height are not included if set to 0

## 0.6.0

### Minor Changes

- [`b272253`](https://github.com/GraphCMS/rich-text/commit/b2722534275efd2c5e473d549d0f0e5a28100025) [#84](https://github.com/GraphCMS/rich-text/pull/84) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Adds support for Link Embeds

### Patch Changes

- Updated dependencies [[`b272253`](https://github.com/GraphCMS/rich-text/commit/b2722534275efd2c5e473d549d0f0e5a28100025)]:
  - @graphcms/rich-text-types@0.5.0

## 0.5.0

### Minor Changes

- [`b7f16fa`](https://github.com/GraphCMS/rich-text/commit/b7f16fa76a28ad0f5cdbe6cb1f58d7fafa63df15) [#77](https://github.com/GraphCMS/rich-text/pull/77) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - This update has no new features, only new types.

  ⚡️ New

  - Add `NodeRendererType` type
  - Add `RichTextProps` type
  - Add `DefaultElementProps` type
  - Add `ClassRendererProps` type
  - Add `LinkRendererProps` type

### Patch Changes

- Updated dependencies [[`b7f16fa`](https://github.com/GraphCMS/rich-text/commit/b7f16fa76a28ad0f5cdbe6cb1f58d7fafa63df15)]:
  - @graphcms/rich-text-types@0.4.0

## 0.4.3

### Patch Changes

- [`9d7bead`](https://github.com/GraphCMS/rich-text/commit/9d7bead10fa1a0de7d4742e097b58ad738205fc1) [#74](https://github.com/GraphCMS/rich-text/pull/74) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Use index as key on line break to fix React warning of same keys

## 0.4.2

### Patch Changes

- [`2f3c345`](https://github.com/GraphCMS/rich-text/commit/2f3c34517b4bec585bed3c334fd2526a45354088) [#61](https://github.com/GraphCMS/rich-text/pull/61) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - fix \n is not converted to <br />

## 0.4.1

### Patch Changes

- [`805119b`](https://github.com/GraphCMS/rich-text/commit/805119bb157d3d359df844f7159453cfefbda0a9) [#59](https://github.com/GraphCMS/rich-text/pull/59) Thanks [@feychenie](https://github.com/feychenie)! - Fix missing references in inline embeds

## 0.4.0

### Minor Changes

- [`17f5244`](https://github.com/GraphCMS/rich-text/commit/17f52440c3fae398f8fd49d4ef61a6fe46ff8635) [#53](https://github.com/GraphCMS/rich-text/pull/53) Thanks [@anmolarora1](https://github.com/anmolarora1)! - feat: adds `<th>` table_header_cell element support

### Patch Changes

- Updated dependencies [[`c2e0a75`](https://github.com/GraphCMS/rich-text/commit/c2e0a75e995591bb299250f4d14092b1843b1183)]:
  - @graphcms/rich-text-types@0.3.1

## 0.3.3

### Patch Changes

- Updated dependencies [[`bc9e612`](https://github.com/GraphCMS/rich-text/commit/bc9e61293ec0535328541c95c33e71f51ec09c43)]:
  - @graphcms/rich-text-types@0.3.0

## 0.3.2

### Patch Changes

- [`5dd9acb`](https://github.com/GraphCMS/rich-text/commit/5dd9acb12b13cca098a4bdc01906f173cf1d65a2) [#45](https://github.com/GraphCMS/rich-text/pull/45) Thanks [@nrandell](https://github.com/nrandell)! - fix(react): simple elements are not empty

## 0.3.1

### Patch Changes

- [`6835755`](https://github.com/GraphCMS/rich-text/commit/6835755e2f7b07adbd3ca0b8497730d19a858bda) [#42](https://github.com/GraphCMS/rich-text/pull/42) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - docs: add note about query, types and gatsby image

* [`c7ea848`](https://github.com/GraphCMS/rich-text/commit/c7ea8483ed3353843e1eb43d00ff57e785d046c3) [#41](https://github.com/GraphCMS/rich-text/pull/41) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Fix heading with links not being rendered

## 0.3.0

### Minor Changes

- [`91495b9`](https://github.com/GraphCMS/rich-text/commit/91495b9f3649c0bf92326d52365473d376ad598f) [#29](https://github.com/GraphCMS/rich-text/pull/29) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Add support for code blocks

### Patch Changes

- Updated dependencies [[`91495b9`](https://github.com/GraphCMS/rich-text/commit/91495b9f3649c0bf92326d52365473d376ad598f)]:
  - @graphcms/rich-text-types@0.2.1

## 0.2.0

### Minor Changes

- [`768492a`](https://github.com/GraphCMS/rich-text/commit/768492a5dd5e642cc639b82cd7e13f2ce7f2dc96) [#25](https://github.com/GraphCMS/rich-text/pull/25) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - Add support for embeds assets and custom models

### Patch Changes

- Updated dependencies [[`768492a`](https://github.com/GraphCMS/rich-text/commit/768492a5dd5e642cc639b82cd7e13f2ce7f2dc96)]:
  - @graphcms/rich-text-types@0.2.0

## 0.1.5

### Patch Changes

- [`e950c91`](https://github.com/GraphCMS/rich-text/commit/e950c917befe31060c77891dd44f7722c9c93c77) [#17](https://github.com/GraphCMS/rich-text/pull/17) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - fix: empty thead being renderered

* [`1a0354c`](https://github.com/GraphCMS/rich-text/commit/1a0354c13c1ca6b5eef0cd6b41281f413360de87) [#16](https://github.com/GraphCMS/rich-text/pull/16) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)! - docs: add examples for next image and gatsby link

* Updated dependencies [[`e950c91`](https://github.com/GraphCMS/rich-text/commit/e950c917befe31060c77891dd44f7722c9c93c77)]:
  - @graphcms/rich-text-types@0.1.4

## 0.1.4

### Patch Changes

- [`7cb7b7e`](https://github.com/GraphCMS/rich-text-renderer/commit/7cb7b7ef78a465c54982f81c77432d001ea9645b) [#9](https://github.com/GraphCMS/rich-text-renderer/pull/9) Thanks [@feychenie](https://github.com/feychenie)! - Moved html-to-slate-ast package to this repo.

- Updated dependencies [[`7cb7b7e`](https://github.com/GraphCMS/rich-text-renderer/commit/7cb7b7ef78a465c54982f81c77432d001ea9645b)]:
  - @graphcms/rich-text-types@0.1.3

## 0.1.3

### Patch Changes

- [`23b87f6`](https://github.com/GraphCMS/rich-text-renderer/commit/23b87f6218040df283d112307c3720645a5936aa) [#6](https://github.com/GraphCMS/rich-text-renderer/pull/6) Thanks [@KaterBasilisk6](https://github.com/KaterBasilisk6)!

⚡️ Improvements:

- feat(react): remove empty headings from rendering
- Updated dependencies [[`23b87f6`](https://github.com/GraphCMS/rich-text-renderer/commit/23b87f6218040df283d112307c3720645a5936aa)]:
  - @graphcms/rich-text-types@0.1.2

## 0.1.2

### Patch Changes

- [`c064507`](https://github.com/GraphCMS/rich-text-renderer/commit/c06450766c911bd680e71130d71eff34865ec4de) [#3](https://github.com/GraphCMS/rich-text-renderer/pull/3) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)!

🐛 Bug fixes

- fix(react): empty space not being rendered

## 0.1.1

### Patch Changes

[`b1a0bae`](https://github.com/GraphCMS/rich-text-renderer/commit/b1a0bae5e09e3db4173517e1342b8e5059a59fa0) [#2](https://github.com/GraphCMS/rich-text-renderer/pull/2) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)!

🐛 Bug fixes:

- Move @graphcms/rich-text-types to dependecy section to fix the error "can't resolve @graphcms/rich-text-types"

[`d831c93`](https://github.com/GraphCMS/rich-text-renderer/commit/d831c93be2f1a07aea2377e0d5842e130e104bfd) [#2](https://github.com/GraphCMS/rich-text-renderer/pull/2) Thanks [@jpedroschmitz](https://github.com/jpedroschmitz)!

🐛 Bug fixes:

- fix(react): not rendering list children
- fix(react): fix can't resolve @graphcms/rich-text-types
- fix(react): html and jsx tags not being rendered correctly

⚡️ Improvements:

- feat(react): accept both array and object for content

* Updated dependencies [[`d831c93`](https://github.com/GraphCMS/rich-text-renderer/commit/d831c93be2f1a07aea2377e0d5842e130e104bfd)]:
  - @graphcms/rich-text-types@0.1.1

## 0.1.1-canary.1

### Patch Changes

🐛 Bug fixes:

- Move @graphcms/rich-text-types to dependency section to fix the error "can't resolve @graphcms/rich-text-types"

## 0.1.1-canary.0

### Patch Changes

🐛 Bug fixes:

- fix(react): not rendering list children
- fix(react): fix can't resolve @graphcms/rich-text-types
- fix(react): html and jsx tags not being rendered correctly

⚡️ Improvements:

- feat(react): accept both array and object for content
