@vestra-player/sdk 1.7.12 → 1.7.13
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/CHANGELOG.md +6 -0
- package/dist/commands.d.ts +2 -2
- package/dist/commands.js +2 -2
- package/dist/docs-tree.json.gz +0 -0
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/slint/vestra/icons.slint +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.13
|
|
4
|
+
|
|
5
|
+
**Who must change: nobody.** A product-data refresh of the Slint library copy: no API change, `apiVersion` stays `vestra/1`, the API surface snapshot is unchanged.
|
|
6
|
+
|
|
7
|
+
- **`@vestra/icons.slint`** follows the player (main 20d4d542): the palette button's `search-ai` icon is a speech bubble open at its top right with the AI icon's sparkle (design B; it was the magnifier with the AI icon's cross). Same name, box (14 × 12) and line width; `BAR_BUTTON_ICONS` describes it so. 1.7.12 shipped without it: its sync compared against a player checkout that did not have the icon yet.
|
|
8
|
+
|
|
3
9
|
## 1.7.12
|
|
4
10
|
|
|
5
11
|
**Who must change: nobody; additions only.** `MENU_IDS` and `MenuId` gain `tools`, `apiVersion` stays `vestra/1`, no new capability; the API surface snapshot gains the new id. A plugin may now put commands in `@tools`; one that does needs the first player with the short menu as its `minPlayerVersion`: older players refuse `@tools` with `invalid` (since SDK 1.5.49 that command is skipped and the rest of the plugin activates). `["Tools", …]` by key works on every player (older ones show a plugin's own Tools submenu).
|
package/dist/commands.d.ts
CHANGED
|
@@ -138,8 +138,8 @@ export declare const MENU_IDS: readonly ["open", "playback", "subtitles", "video
|
|
|
138
138
|
* icon of the player's V-Line set, `@vestra/icons.slint` (draw one in your own
|
|
139
139
|
* Slint with `Icon { name: "store"; }`). The player's tests check that this
|
|
140
140
|
* list is its icon set. `"sliders"` (three sliders, the player's Adjustments
|
|
141
|
-
* and Effects button); `"search-ai"` (
|
|
142
|
-
*
|
|
141
|
+
* and Effects button); `"search-ai"` (a speech bubble with the AI icon's
|
|
142
|
+
* sparkle, the palette's button while a plugin holds its lead row).
|
|
143
143
|
*
|
|
144
144
|
* @example Check in a test that the button's icon exists
|
|
145
145
|
* The test fails before release if the plugin's bar button names an icon
|
package/dist/commands.js
CHANGED
|
@@ -143,8 +143,8 @@ export const MENU_IDS = [
|
|
|
143
143
|
* icon of the player's V-Line set, `@vestra/icons.slint` (draw one in your own
|
|
144
144
|
* Slint with `Icon { name: "store"; }`). The player's tests check that this
|
|
145
145
|
* list is its icon set. `"sliders"` (three sliders, the player's Adjustments
|
|
146
|
-
* and Effects button); `"search-ai"` (
|
|
147
|
-
*
|
|
146
|
+
* and Effects button); `"search-ai"` (a speech bubble with the AI icon's
|
|
147
|
+
* sparkle, the palette's button while a plugin holds its lead row).
|
|
148
148
|
*
|
|
149
149
|
* @example Check in a test that the button's icon exists
|
|
150
150
|
* The test fails before release if the plugin's bar button names an icon
|
package/dist/docs-tree.json.gz
CHANGED
|
Binary file
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Vestra Player SDK
|
|
2
2
|
|
|
3
|
-
> @vestra-player/sdk 1.7.
|
|
3
|
+
> @vestra-player/sdk 1.7.13: write plugins for Vestra Player in TypeScript (plugin API `vestra/1`). A plugin is a folder with `manifest.json` and an entry module whose default export `activate(plugin)` the player calls. The documentation is a tree of short pages read by path, like `go doc`: the same pages and API as https://vestrasys.github.io/vestra-player-sdk/.
|
|
4
4
|
|
|
5
5
|
## Read the documentation
|
|
6
6
|
|
package/package.json
CHANGED
package/slint/vestra/icons.slint
CHANGED
|
@@ -55,10 +55,10 @@ export global Icons {
|
|
|
55
55
|
// Three sliders with their knobs (the adjust column, `host/adjust`),
|
|
56
56
|
// the default 14 × 12 box.
|
|
57
57
|
if name == "sliders" { return "M 1.5 2.5 H 7.6 M 10.4 2.5 H 12.5 M 10.4 2.5 A 1.4 1.4 0 1 1 7.6 2.5 A 1.4 1.4 0 1 1 10.4 2.5 Z M 1.5 6 H 3.1 M 5.9 6 H 12.5 M 5.9 6 A 1.4 1.4 0 1 1 3.1 6 A 1.4 1.4 0 1 1 5.9 6 Z M 1.5 9.5 H 6.6 M 9.4 9.5 H 12.5 M 9.4 9.5 A 1.4 1.4 0 1 1 6.6 9.5 A 1.4 1.4 0 1 1 9.4 9.5 Z"; }
|
|
58
|
-
//
|
|
59
|
-
// palette's strip cell while a plugin holds its
|
|
60
|
-
// `palette.lead`), the default 14 × 12 box.
|
|
61
|
-
if name == "search-ai" { return "M
|
|
58
|
+
// A speech bubble open at its top right, where the AI icon's sparkle
|
|
59
|
+
// breaks out ("ask": the palette's strip cell while a plugin holds its
|
|
60
|
+
// first row, `palette.lead`), the default 14 × 12 box.
|
|
61
|
+
if name == "search-ai" { return "M 7 3 H 3.25 Q 1.25 3 1.25 5 V 7.75 Q 1.25 9.75 3.25 9.75 V 11.25 L 5.5 9.75 H 8 Q 10 9.75 10 7.75 V 6.75 M 11 0.7 Q 11.29 2.61 13.2 2.9 Q 11.29 3.19 11 5.1 Q 10.71 3.19 8.8 2.9 Q 10.71 2.61 11 0.7 Z"; }
|
|
62
62
|
return "";
|
|
63
63
|
}
|
|
64
64
|
// Line width.
|