@pie-players/pie-tool-text-to-speech 0.3.44 → 0.3.45
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.
- package/README.md +10 -6
- package/dist/{dist-DIBQdekL.js → dist-DfQrc9XY.js} +198 -173
- package/dist/{dist-rF11IR1B.js → dist-Dns3leWh.js} +1 -1
- package/dist/sre-5M5pQS1Z.js +17534 -0
- package/dist/tool-text-to-speech.js +5204 -1987
- package/package.json +3 -3
- /package/dist/{defineProperty-CyepwRr5.js → defineProperty-Dt7ri80W.js} +0 -0
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
A draggable, floating tool that reads selected text aloud with word-level highlighting for accessibility.
|
|
4
4
|
|
|
5
|
+
For the shared TTS architecture and provider model, see
|
|
6
|
+
[TTS Architecture](../../docs/accessibility/tts-architecture.md). This README
|
|
7
|
+
focuses on the floating tool custom element API.
|
|
8
|
+
|
|
5
9
|
## Features
|
|
6
10
|
|
|
7
11
|
- ✅ **Text Selection**: Automatically detects selected text on the page
|
|
@@ -27,7 +31,7 @@ A draggable, floating tool that reads selected text aloud with word-level highli
|
|
|
27
31
|
|
|
28
32
|
```svelte
|
|
29
33
|
<script>
|
|
30
|
-
import '@pie-players/pie-tool-text-to-speech
|
|
34
|
+
import '@pie-players/pie-tool-text-to-speech';
|
|
31
35
|
import { toolCoordinator } from '@pie-players/pie-assessment-toolkit';
|
|
32
36
|
|
|
33
37
|
let visible = $state(false);
|
|
@@ -155,7 +159,7 @@ The tool handles these error scenarios:
|
|
|
155
159
|
|
|
156
160
|
```svelte
|
|
157
161
|
<script>
|
|
158
|
-
import '@pie-players/pie-tool-text-to-speech
|
|
162
|
+
import '@pie-players/pie-tool-text-to-speech';
|
|
159
163
|
import { toolCoordinator } from '@pie-players/pie-assessment-toolkit';
|
|
160
164
|
|
|
161
165
|
let showTTS = $derived(
|
|
@@ -197,7 +201,7 @@ The tool handles these error scenarios:
|
|
|
197
201
|
|
|
198
202
|
## Related
|
|
199
203
|
|
|
200
|
-
- [TTS Architecture](
|
|
201
|
-
- [TTS Server Polly](
|
|
202
|
-
- [TTS Client Server](
|
|
203
|
-
- [
|
|
204
|
+
- [TTS Architecture](../../docs/accessibility/tts-architecture.md) - TTS system overview
|
|
205
|
+
- [TTS Server Polly](../tts-server-polly/README.md) - AWS Polly server provider
|
|
206
|
+
- [TTS Client Server](../tts-client-server/README.md) - Server-backed client provider
|
|
207
|
+
- [Toolbars package](../toolbars/) - Tool management
|