FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(sanity): align portabletext with react v6.2.0 by osnoser1 · Pull Request #44 · limitless-angular/limitless-angular · GitHub

feat(sanity): align portabletext with react v6.2.0 - #44

Merged
osnoser1 merged 2 commits into
mainfrom
codex/portabletext-react-6-2-parity
Jun 10, 2026
Merged

feat(sanity): align portabletext with react v6.2.0#44
osnoser1 merged 2 commits into
mainfrom
codex/portabletext-react-6-2-parity

Conversation

osnoser1 commented Jun 10, 2026
edited
Loading

Copy link
Copy Markdown
Member

PR Checklist

Current behavior: the Angular portabletext renderer was based on older @portabletext/react behavior and was missing the v6.2.0 public API/runtime parity added upstream.

Closes: N/A

What is the new behavior?

  • Aligns the Angular portabletext renderer with @portabletext/react v6.2.0 behavior where it maps cleanly to Angular.
  • Adds nullable value handling, listNestingMode, defaultComponents/mergeComponents exports, the PortableText alias, unknownType fallback support, renderNode/index props, and function-style block/list/listItem renderers.
  • Expands parity coverage for direct list nesting, unknown type overrides, mutation safety, list/list-item prop semantics, and toPlainText.
  • Updates portabletext docs and package credits to reference @portabletext/react v6.2.0.

Does this PR introduce a breaking change?

  • Yes
  • No

Existing Angular inputs and component override shapes remain supported. New renderer props are supplied internally, and index defaults to 0 for direct component usage.

Other information

Verified with:

  • pnpm --filter @limitless-angular/sanity lint
  • pnpm --filter @limitless-angular/sanity exec tsc -p tsconfig.lib.json --noEmit
  • pnpm --filter @limitless-angular/sanity test
  • pnpm --filter @limitless-angular/sanity build

[Optional] What gif best describes this PR or how it makes you feel?

pkg-pr-new Bot commented Jun 10, 2026
edited
Loading

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@limitless-angular/sanity@44

commit: b891ec7

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit 1ffbd8a
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29ce2b7216800008d0adee

1 similar comment

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit 1ffbd8a
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29ce2b7216800008d0adee

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit 3f1aa47
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29ce7cc7ae2300070d27b6

netlify Bot commented Jun 10, 2026
edited
Loading

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit b891ec7
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29f6b50af33a0008579d27

osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from 3f1aa47 to 7ee85e3 Compare June 10, 2026 22:19
osnoser1 changed the title [codex] align portabletext with react v6.2.0 feat(sanity): align portabletext with react v6.2.0 Jun 10, 2026
osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from 7ee85e3 to f407ee3 Compare June 10, 2026 22:34
osnoser1 marked this pull request as ready for review June 10, 2026 22:37
osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from cf92378 to f7beec8 Compare June 10, 2026 23:42
osnoser1 merged commit 933a643 into main Jun 10, 2026
15 checks passed
osnoser1 deleted the codex/portabletext-react-6-2-parity branch June 10, 2026 23:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL