Releases: youversion/platform-sdk-react
Releases · youversion/platform-sdk-react
@youversion/platform-react-ui@1.22.2
@youversion/platform-react-hooks@1.22.2
@youversion/platform-core@1.22.2
Patch Changes
- 203a28b: fix(ui): show specific Bible passage error messages
@youversion/platform-react-ui@1.22.1
Patch Changes
- b8b5cf0: Fixed hooks package bundling to produce proper CJS and ESM outputs, resolving import failures in strict ESM runtimes like Deno.
- 2a64020: Updated the Bible App logo on the BibleCard and VerseOfTheDay React components to the latest designs.
- Updated dependencies [b8b5cf0]
- Updated dependencies [2a64020]
- @youversion/platform-react-hooks@1.22.1
- @youversion/platform-core@1.22.1
@youversion/platform-react-hooks@1.22.1
Patch Changes
- b8b5cf0: Fixed hooks package bundling to produce proper CJS and ESM outputs, resolving import failures in strict ESM runtimes like Deno.
- 2a64020: Updated the Bible App logo on the BibleCard and VerseOfTheDay React components to the latest designs.
- Updated dependencies [b8b5cf0]
- Updated dependencies [2a64020]
- @youversion/platform-core@1.22.1
@youversion/platform-core@1.22.1
@youversion/platform-react-ui@1.22.0
Minor Changes
- ff14f28: We've moved our theme, fonts, and Bible CSS from the React package into our core JS package to make it more framework agnostic so that consumers using any web framework can include our CSS without the React peer dependency.
Patch Changes
- Updated dependencies [ff14f28]
- @youversion/platform-react-hooks@1.22.0
- @youversion/platform-core@1.22.0
@youversion/platform-react-hooks@1.22.0
Minor Changes
- ff14f28: We've moved our theme, fonts, and Bible CSS from the React package into our core JS package to make it more framework agnostic so that consumers using any web framework can include our CSS without the React peer dependency.
Patch Changes
- Updated dependencies [ff14f28]
- @youversion/platform-core@1.22.0
@youversion/platform-core@1.22.0
Minor Changes
- ff14f28: We've moved our theme, fonts, and Bible CSS from the React package into our core JS package to make it more framework agnostic so that consumers using any web framework can include our CSS without the React peer dependency.
@youversion/platform-react-ui@1.21.0
Minor Changes
-
87ad436:
@youversion/platform-core: AddtransformBibleHtml— a runtime-agnostic Bible HTML transformer with new/browserand/serversubpath exports.@youversion/platform-core— runtime-agnostic core; acceptsparseHtml/serializeHtmladapters so it works with any DOM implementation@youversion/platform-core/browser— zero-config convenience wrapper using the nativeDOMParser@youversion/platform-core/server— zero-config convenience wrapper usinglinkedom(optional peer dependency)
The transformer sanitizes API HTML (custom allowlist-based sanitizer, no DOMPurify dependency), wraps verse content for CSS targeting, and embeds footnote data as
data-verse-footnote/data-verse-footnote-contentattributes directly in the HTML.@youversion/platform-react-ui: Migrate Bible HTML transformation from the UI package to@youversion/platform-core/browser.- Removed
isomorphic-dompurifydependency (lighter bundle) - Footnote popover data is now read from DOM attributes at render time instead of a separate data structure
- Added SSR safety guard —
Verse.Htmlreturns raw HTML during server rendering and transforms on the client after hydration
Patch Changes
- Updated dependencies [87ad436]
- @youversion/platform-core@1.21.0
- @youversion/platform-react-hooks@1.21.0