@youversion/platform-react-hooks 1.5.1 → 1.6.1

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,4 +1,4 @@
1
1
 
2
- > @youversion/platform-react-hooks@1.5.1 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
2
+ > @youversion/platform-react-hooks@1.6.1 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
3
3
  > tsc -p tsconfig.build.json
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3f69494: Refactors footnotes implementation to use React portals, improves HTML sanitization, and fixes footnote popover behavior.
8
+ - Updated dependencies [3f69494]
9
+ - @youversion/platform-core@1.6.1
10
+
11
+ ## 1.6.0
12
+
13
+ ### Minor Changes
14
+
15
+ - b0d9f87: feat(ui): add dark mode theme support to BibleTextView and BibleReader
16
+ - Add theme prop (light/dark) to BibleTextView for text theme control
17
+ - Implement theme inheritance from YouVersionProvider via useTheme hook
18
+ - Add data-yv-sdk and data-yv-theme attributes for CSS styling
19
+ - Pass theme prop from BibleReader to BibleTextView
20
+ - Add yv:bg-background wrapper to all BibleTextView Storybook stories
21
+ - Rename prop from 'background' to 'theme' for semantic clarity
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [b0d9f87]
26
+ - @youversion/platform-core@1.6.0
27
+
3
28
  ## 1.5.1
4
29
 
5
30
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.5.1",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -22,7 +22,7 @@
22
22
  }
23
23
  },
24
24
  "dependencies": {
25
- "@youversion/platform-core": "1.5.1"
25
+ "@youversion/platform-core": "1.6.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"
@@ -37,8 +37,8 @@
37
37
  "jsdom": "27.0.1",
38
38
  "typescript": "5.9.3",
39
39
  "vitest": "4.0.4",
40
- "@internal/tsconfig": "0.0.0",
41
- "@internal/eslint-config": "0.0.0"
40
+ "@internal/eslint-config": "0.0.0",
41
+ "@internal/tsconfig": "0.0.0"
42
42
  },
43
43
  "scripts": {
44
44
  "dev": "tsc --watch",