Releases: youversion/platform-sdk-react
@youversion/platform-react-ui@1.20.2
@youversion/platform-react-hooks@1.20.2
@youversion/platform-core@1.20.2
Patch Changes
- dd52fbe: fix: use spinner icon instead of "Loading..." text in Bible version button
@youversion/platform-react-ui@1.20.1
Patch Changes
-
e895fd0: Remove shadow from VerseOfTheDay card, add loading spinner with animated height transition, and match width approach to BibleCard for consistency.
Replaced Verse.HTML in the VerseOfTheDay component with BibleTextView in favor of the baked-in error state when a Bible Verse cannot load for any reason.
BibleTextView now is now a forwardRef component, enabling users to pass in a React ref.
-
Updated dependencies [e895fd0]
- @youversion/platform-core@1.20.1
- @youversion/platform-react-hooks@1.20.1
@youversion/platform-react-hooks@1.20.1
Patch Changes
-
e895fd0: Remove shadow from VerseOfTheDay card, add loading spinner with animated height transition, and match width approach to BibleCard for consistency.
Replaced Verse.HTML in the VerseOfTheDay component with BibleTextView in favor of the baked-in error state when a Bible Verse cannot load for any reason.
BibleTextView now is now a forwardRef component, enabling users to pass in a React ref.
-
Updated dependencies [e895fd0]
- @youversion/platform-core@1.20.1
@youversion/platform-core@1.20.1
Patch Changes
-
e895fd0: Remove shadow from VerseOfTheDay card, add loading spinner with animated height transition, and match width approach to BibleCard for consistency.
Replaced Verse.HTML in the VerseOfTheDay component with BibleTextView in favor of the baked-in error state when a Bible Verse cannot load for any reason.
BibleTextView now is now a forwardRef component, enabling users to pass in a React ref.
@youversion/platform-react-ui@1.20.0
Minor Changes
-
bcfb868: Fix SDK styles overriding consumer app CSS by wrapping all styles in custom @layer directives (yv-sdk-*). Declares Tailwind v4's standard layer names (theme, base, components, utilities) before SDK layers to establish cascade priority: consumer Tailwind layers < SDK layers < consumer unlayered CSS. This prevents SDK resets and utilities from bleeding into consumer apps while protecting SDK components from consumer Tailwind styles.
Fixed a styling bug in the BibleReader.Toolbar when the user is signed in, so that the avatar button is circular versus oblong.
Fixed the BibleReader.Toolbar's popover button for sign in and sign out to respect dark/light modes and to close the popover when clicked.
Patch Changes
- Updated dependencies [bcfb868]
- @youversion/platform-core@1.20.0
- @youversion/platform-react-hooks@1.20.0
@youversion/platform-react-hooks@1.20.0
Minor Changes
-
bcfb868: Fix SDK styles overriding consumer app CSS by wrapping all styles in custom @layer directives (yv-sdk-*). Declares Tailwind v4's standard layer names (theme, base, components, utilities) before SDK layers to establish cascade priority: consumer Tailwind layers < SDK layers < consumer unlayered CSS. This prevents SDK resets and utilities from bleeding into consumer apps while protecting SDK components from consumer Tailwind styles.
Fixed a styling bug in the BibleReader.Toolbar when the user is signed in, so that the avatar button is circular versus oblong.
Fixed the BibleReader.Toolbar's popover button for sign in and sign out to respect dark/light modes and to close the popover when clicked.
Patch Changes
- Updated dependencies [bcfb868]
- @youversion/platform-core@1.20.0
@youversion/platform-core@1.20.0
Minor Changes
-
bcfb868: Fix SDK styles overriding consumer app CSS by wrapping all styles in custom @layer directives (yv-sdk-*). Declares Tailwind v4's standard layer names (theme, base, components, utilities) before SDK layers to establish cascade priority: consumer Tailwind layers < SDK layers < consumer unlayered CSS. This prevents SDK resets and utilities from bleeding into consumer apps while protecting SDK components from consumer Tailwind styles.
Fixed a styling bug in the BibleReader.Toolbar when the user is signed in, so that the avatar button is circular versus oblong.
Fixed the BibleReader.Toolbar's popover button for sign in and sign out to respect dark/light modes and to close the popover when clicked.
@youversion/platform-react-ui@1.19.0
Minor Changes
-
030e297: Deprecates hooks and providers that are not used by the UI package or any known consumers. These were inherited from a hackathon project and never adopted. These will be fully removed in the next major version bump.
Deprecated:
useInitData— convenience wrapper overuseVersion,useBook,useChapterthat loses error granularity, dropsrefetch, and has zero consumers. Use the three hooks directly.useChapterNavigation— coupled toReaderProviderwhich nobody uses. The UI package callsgetAdjacentChapterfrom core directly.ReaderProvider,ReaderContext,useReaderContext— the UI package built its ownBibleReaderContextinstead. Zero consumers.VerseSelectionProvider,VerseSelectionContext,useVerseSelection— the UI package handles verse selection via props/callbacks. Zero consumers.
Patch Changes
- Updated dependencies [030e297]
- @youversion/platform-react-hooks@1.19.0
- @youversion/platform-core@1.19.0