@youversion/platform-react-hooks 1.14.3 → 1.15.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,4 +1,4 @@
1
1
 
2
- > @youversion/platform-react-hooks@1.14.3 build /home/runner/work/platform-sdk-react/platform-sdk-react/packages/hooks
2
+ > @youversion/platform-react-hooks@1.15.0 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,35 @@
1
1
  # @youversion/platform-react-hooks
2
2
 
3
+ ## 1.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0fb1d86: Rename `BibleWidgetView` to `BibleCard`. The old `BibleWidgetView` component and `BibleWidgetViewProps` type are still exported but marked as `@deprecated` and will be removed in a future major version.
8
+
9
+ ### Patch Changes
10
+
11
+ - b8aedbb: Fix Bible Version Picker search input retaining stale text after selecting a version or closing the popover. Search state now resets on version selection and on popover close.
12
+ - Updated dependencies [b8aedbb]
13
+ - Updated dependencies [0fb1d86]
14
+ - @youversion/platform-core@1.15.0
15
+
16
+ ## 1.14.4
17
+
18
+ ### Patch Changes
19
+
20
+ - 60cffb9: Fix PopoverTrigger components to use 'asChild' prop to avoid console warnings
21
+ - 3e1c3dc: Refactor verse footnote extraction and rendering for clarity and correctness
22
+ - Replace TreeWalker-based footnote extraction with clone-and-transform approach
23
+ - Move HTML transformation pipeline into `verse-html-utils.ts` as `transformBibleHtml`
24
+ - Fix space insertion between element siblings when footnotes are removed
25
+ - Fix footnote marker/label mismatch for verses with >26 footnotes
26
+ - Simplify `BibleTextHtml` hooks and use React `onClick` instead of manual event listeners
27
+ - Use `useMemo` for synchronous HTML transformation instead of `useEffect` + `useState`
28
+
29
+ - Updated dependencies [60cffb9]
30
+ - Updated dependencies [3e1c3dc]
31
+ - @youversion/platform-core@1.14.4
32
+
3
33
  ## 1.14.3
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@youversion/platform-react-hooks",
3
- "version": "1.14.3",
3
+ "version": "1.15.0",
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.14.3"
25
+ "@youversion/platform-core": "1.15.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.1.0 <20.0.0"