@roku-sdk/components 2.19.0 → 2.19.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roku-sdk/components",
|
|
3
|
-
"version": "2.19.
|
|
3
|
+
"version": "2.19.1",
|
|
4
4
|
"description": "Roku SceneGraph Solid components",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"src/**/*.brs",
|
|
@@ -48,20 +48,20 @@
|
|
|
48
48
|
"node": ">=24.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@roku-sdk/common": "2.19.
|
|
52
|
-
"@roku-sdk/
|
|
53
|
-
"@roku-sdk/
|
|
54
|
-
"@roku-sdk/
|
|
55
|
-
"@roku-sdk/
|
|
51
|
+
"@roku-sdk/common": "2.19.1",
|
|
52
|
+
"@roku-sdk/interfaces": "2.19.1",
|
|
53
|
+
"@roku-sdk/navigation": "2.19.1",
|
|
54
|
+
"@roku-sdk/solid": "2.19.1",
|
|
55
|
+
"@roku-sdk/runtime": "2.19.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@jest/globals": "^30.4.1",
|
|
59
59
|
"@types/jest": "^30.0.0",
|
|
60
60
|
"jest": "^30.4.1",
|
|
61
61
|
"jest-transform-stub": "^2.0.0",
|
|
62
|
-
"@roku-sdk/dev-tools": "2.19.
|
|
63
|
-
"@roku-sdk/testing-library": "2.19.
|
|
64
|
-
"@roku-sdk/compat": "2.19.
|
|
62
|
+
"@roku-sdk/dev-tools": "2.19.1",
|
|
63
|
+
"@roku-sdk/testing-library": "2.19.1",
|
|
64
|
+
"@roku-sdk/compat": "2.19.1"
|
|
65
65
|
},
|
|
66
66
|
"author": "Roku Inc",
|
|
67
67
|
"license": "MIT",
|
package/src/sg-nodes/dialog.tsx
CHANGED
|
@@ -12,7 +12,7 @@ export type { IDialogProps } from "./dialog.props";
|
|
|
12
12
|
* regions. Dialogs intercept all key events except Home and are closed automatically
|
|
13
13
|
* by Back or Home.
|
|
14
14
|
*
|
|
15
|
-
* > **Note:** Consider using StandardDialog
|
|
15
|
+
* > **Note:** Consider using StandardDialog for new development, which
|
|
16
16
|
* > provides updated graphics and color palette support.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
@@ -151,7 +151,7 @@ export type SubtitleSelectionPreferenceRule =
|
|
|
151
151
|
{ language: string[] } | { caption: string } | { descriptive: string | string[] } | { easyReader: string };
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Subtitle track selection preferences
|
|
154
|
+
* Subtitle track selection preferences.
|
|
155
155
|
*
|
|
156
156
|
* @see {@link https://developer.roku.com/dev/docs/video}
|
|
157
157
|
*/
|
|
@@ -168,7 +168,7 @@ export interface ISubtitleSelectionPreferences {
|
|
|
168
168
|
export type AudioSelectionPreferenceRule = { language: string[] } | { descriptive: string | string[] };
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
|
-
* Audio track selection preferences
|
|
171
|
+
* Audio track selection preferences.
|
|
172
172
|
*
|
|
173
173
|
* @see {@link https://developer.roku.com/dev/docs/video}
|
|
174
174
|
*/
|
|
@@ -198,7 +198,7 @@ export interface IVideoPlaybackProps {
|
|
|
198
198
|
/** Play state command (play, pause, stop, prebuffer, etc.). */
|
|
199
199
|
control?: VideoControl;
|
|
200
200
|
/**
|
|
201
|
-
* When true, STOP runs asynchronously
|
|
201
|
+
* When true, STOP runs asynchronously. `state` becomes `stopping` then `stopped`.
|
|
202
202
|
*/
|
|
203
203
|
asyncStopSemantics?: boolean;
|
|
204
204
|
/** Fired when playback state changes (buffering, playing, error, etc.). */
|
|
@@ -547,7 +547,7 @@ export interface VideoRef extends ComponentRef<IVideoProps> {
|
|
|
547
547
|
/**
|
|
548
548
|
* Stop playback and release the video stream. Equivalent to setting
|
|
549
549
|
* `control="stop"`. With {@link IVideoPlaybackProps.asyncStopSemantics} true
|
|
550
|
-
*
|
|
550
|
+
* the state transitions through `stopping` to `stopped`;
|
|
551
551
|
* otherwise the transition to `stopped` is synchronous.
|
|
552
552
|
*/
|
|
553
553
|
stop: () => void;
|