expo-pretext 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +11 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,13 +14,19 @@ Predict text heights **before rendering** — no `onLayout`, no layout jumps, no
14
14
  </tr>
15
15
  <tr>
16
16
  <td align="center">
17
- <video src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/ai-chat.mp4" width="240" />
17
+ <a href="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/ai-chat.mp4">
18
+ <img src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/ai-chat-thumb.png" width="240" alt="AI Chat demo" />
19
+ </a>
18
20
  </td>
19
21
  <td align="center">
20
- <video src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/accuracy.mp4" width="240" />
22
+ <a href="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/accuracy.mp4">
23
+ <img src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/accuracy-thumb.png" width="240" alt="Accuracy demo" />
24
+ </a>
21
25
  </td>
22
26
  <td align="center">
23
- <video src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/editorial-engine.mp4" width="240" />
27
+ <a href="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/editorial-engine.mp4">
28
+ <img src="https://github.com/JubaKitiashvili/expo-pretext/raw/main/assets/demos/editorial-engine-thumb.png" width="240" alt="Editorial Engine demo" />
29
+ </a>
24
30
  </td>
25
31
  </tr>
26
32
  <tr>
@@ -30,6 +36,8 @@ Predict text heights **before rendering** — no `onLayout`, no layout jumps, no
30
36
  </tr>
31
37
  </table>
32
38
 
39
+ > Click thumbnails to watch videos
40
+
33
41
  ## Installation
34
42
 
35
43
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-pretext",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "DOM-free multiline text height prediction for React Native. Port of Pretext.",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",