Sitelet https://github.com/limitless-angular/limitless-angular/pull/44
Skip to content

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

osnoser1 merged 2 commits into
mainfrom
codex/portabletext-react-6-2-parity

Conversation

@osnoser1

@osnoser1 osnoser1 commented Jun 10, 2026 •

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

pkg-pr-new Bot commented Jun 10, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: b891ec7

@netlify

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

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

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

netlify Bot commented Jun 10, 2026 •

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
osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from 3f1aa47 to 7ee85e3 Compare June 10, 2026 22:19
@osnoser1 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
osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from 7ee85e3 to f407ee3 Compare June 10, 2026 22:34
@osnoser1
osnoser1 marked this pull request as ready for review June 10, 2026 22:37
@osnoser1
osnoser1 force-pushed the codex/portabletext-react-6-2-parity branch from cf92378 to f7beec8 Compare June 10, 2026 23:42
@osnoser1
osnoser1 merged commit 933a643 into main Jun 10, 2026
15 checks passed
@osnoser1
osnoser1 deleted the codex/portabletext-react-6-2-parity branch June 10, 2026 23:51
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