diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 0000000..77901f4 --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,12 @@ +{ + "mode": "pre", + "tag": "canary", + "initialVersions": { + "@graphcms/rich-text-react-renderer": "0.1.0", + "@graphcms/rich-text-types": "0.1.0" + }, + "changesets": [ + "tough-shirts-suffer", + "warm-bags-lie" + ] +} diff --git a/.changeset/tough-shirts-suffer.md b/.changeset/tough-shirts-suffer.md new file mode 100644 index 0000000..492b5b2 --- /dev/null +++ b/.changeset/tough-shirts-suffer.md @@ -0,0 +1,13 @@ +--- +'@graphcms/rich-text-react-renderer': patch +--- + +🐛 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 diff --git a/.changeset/warm-bags-lie.md b/.changeset/warm-bags-lie.md new file mode 100644 index 0000000..98cf17d --- /dev/null +++ b/.changeset/warm-bags-lie.md @@ -0,0 +1,6 @@ +--- +'@graphcms/rich-text-types': patch +--- + +- Add `list_item_child` to `NodeRendererType`; +- Accept array of `ElementNode` and object with `children` on `RichTextContent`. diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md new file mode 100644 index 0000000..54fcb2e --- /dev/null +++ b/packages/react/CHANGELOG.md @@ -0,0 +1,15 @@ +# @graphcms/rich-text-react-renderer + +## 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 diff --git a/packages/react/package.json b/packages/react/package.json index b42a3b1..d4883ad 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@graphcms/rich-text-react-renderer", "description": "GraphCMS Rich Text React renderer", - "version": "0.1.0", + "version": "0.1.1-canary.0", "author": "João Pedro Schmitz (https://joaopedro.dev)", "license": "MIT", "scripts": { @@ -15,7 +15,7 @@ "escape-html": "^1.0.3" }, "devDependencies": { - "@graphcms/rich-text-types": "^0.1.0", + "@graphcms/rich-text-types": "^0.1.1-canary.0", "@types/escape-html": "^1.0.1" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md new file mode 100644 index 0000000..f4a7d46 --- /dev/null +++ b/packages/types/CHANGELOG.md @@ -0,0 +1,8 @@ +# @graphcms/rich-text-types + +## 0.1.1-canary.0 + +### Patch Changes + +- Add `list_item_child` to `NodeRendererType`; +- Accept array of `ElementNode` and object with `children` on `RichTextContent`. diff --git a/packages/types/package.json b/packages/types/package.json index 766f91e..50e2844 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,7 +1,7 @@ { "name": "@graphcms/rich-text-types", "description": "TypeScript definitions for the GraphCMS Rich Text field type.", - "version": "0.1.0", + "version": "0.1.1-canary.0", "author": "João Pedro Schmitz (https://joaopedro.dev)", "license": "MIT", "scripts": {