@youversion/platform-core 1.18.1 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @youversion/platform-core@1.18.1 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
2
+ > @youversion/platform-core@1.20.0 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/core
3
3
  > tsup src/index.ts --format cjs,esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,11 +8,11 @@
8
8
  CLI Target: es2022
9
9
  CJS Build start
10
10
  ESM Build start
11
- ESM dist/index.js 53.00 KB
12
- ESM ⚡️ Build success in 41ms
13
11
  CJS dist/index.cjs 56.12 KB
14
- CJS ⚡️ Build success in 42ms
12
+ CJS ⚡️ Build success in 53ms
13
+ ESM dist/index.js 53.00 KB
14
+ ESM ⚡️ Build success in 54ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1980ms
16
+ DTS ⚡️ Build success in 1995ms
17
17
  DTS dist/index.d.cts 34.06 KB
18
18
  DTS dist/index.d.ts 34.06 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @youversion/platform-core
2
2
 
3
+ ## 1.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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.
8
+
9
+ Fixed a styling bug in the BibleReader.Toolbar when the user is signed in, so that the avatar button is circular versus oblong.
10
+
11
+ 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.
12
+
13
+ ## 1.19.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 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.
18
+
19
+ Deprecated:
20
+ - `useInitData` — convenience wrapper over `useVersion`, `useBook`, `useChapter` that loses error granularity, drops `refetch`, and has zero consumers. Use the three hooks directly.
21
+ - `useChapterNavigation` — coupled to `ReaderProvider` which nobody uses. The UI package calls `getAdjacentChapter` from core directly.
22
+ - `ReaderProvider`, `ReaderContext`, `useReaderContext` — the UI package built its own `BibleReaderContext` instead. Zero consumers.
23
+ - `VerseSelectionProvider`, `VerseSelectionContext`, `useVerseSelection` — the UI package handles verse selection via props/callbacks. Zero consumers.
24
+
3
25
  ## 1.18.1
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-core",
3
- "version": "1.18.1",
3
+ "version": "1.20.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -30,8 +30,8 @@
30
30
  "tsup": "8.5.0",
31
31
  "typescript": "5.9.3",
32
32
  "vitest": "4.0.4",
33
- "@internal/eslint-config": "0.0.0",
34
- "@internal/tsconfig": "0.0.0"
33
+ "@internal/tsconfig": "0.0.0",
34
+ "@internal/eslint-config": "0.0.0"
35
35
  },
36
36
  "dependencies": {
37
37
  "zod": "4.1.12"