@thalassic/ui 22.28.0 → 22.28.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
|
@@ -83,6 +83,7 @@ declare class MediaController {
|
|
|
83
83
|
private _media;
|
|
84
84
|
private _detachRegistered;
|
|
85
85
|
private readonly _playing;
|
|
86
|
+
private readonly _hasShownFrame;
|
|
86
87
|
private readonly _currentTime;
|
|
87
88
|
private readonly _duration;
|
|
88
89
|
private readonly _buffered;
|
|
@@ -95,6 +96,13 @@ declare class MediaController {
|
|
|
95
96
|
private readonly _scrubbing;
|
|
96
97
|
private readonly _scrubTime;
|
|
97
98
|
readonly playing: Signal<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the current source has drawn a frame of its own, by playing or by
|
|
101
|
+
* a seek landing on data: before it has, a player shows its poster, which a
|
|
102
|
+
* request to play alone leaves in place while the first frame is fetched.
|
|
103
|
+
* Reset as the element empties for another source.
|
|
104
|
+
*/
|
|
105
|
+
readonly hasShownFrame: Signal<boolean>;
|
|
98
106
|
readonly currentTime: Signal<number>;
|
|
99
107
|
readonly duration: Signal<number>;
|
|
100
108
|
readonly buffered: Signal<TimeRange[]>;
|
|
@@ -231,6 +239,11 @@ declare class VideoPlayer {
|
|
|
231
239
|
private readonly _destroyRef;
|
|
232
240
|
readonly source: InputSignal<string>;
|
|
233
241
|
readonly title: InputSignal<string | undefined>;
|
|
242
|
+
/**
|
|
243
|
+
* Picture shown over the video until the source first shows a frame. Framed
|
|
244
|
+
* as the video is unless `--tls-video-player-poster-fit` says otherwise
|
|
245
|
+
* (`cover` for a poster of another shape than the footage).
|
|
246
|
+
*/
|
|
234
247
|
readonly poster: InputSignal<string | undefined>;
|
|
235
248
|
readonly captions: InputSignal<MediaCaptionSource[]>;
|
|
236
249
|
/**
|
|
@@ -260,6 +273,14 @@ declare class VideoPlayer {
|
|
|
260
273
|
private _skipInitialPlayingChange;
|
|
261
274
|
protected readonly labels: _thalassic_ui_media.MediaPlayerLabels;
|
|
262
275
|
protected readonly state: Signal<mediaState>;
|
|
276
|
+
/**
|
|
277
|
+
* The poster drawn over the video until the source shows a frame of its own
|
|
278
|
+
* (`MediaController.hasShownFrame`). An image of its own rather than the
|
|
279
|
+
* media element's `poster` attribute, which a browser fetches late and paints
|
|
280
|
+
* over a black frame meanwhile: an image already in the cache is in view the
|
|
281
|
+
* moment the player is.
|
|
282
|
+
*/
|
|
283
|
+
protected readonly shownPoster: Signal<string | null>;
|
|
263
284
|
protected readonly fullscreen: Signal<boolean>;
|
|
264
285
|
protected readonly fullscreenSupported: Signal<boolean>;
|
|
265
286
|
protected readonly pictureInPictureSupported: Signal<boolean>;
|
package/types/thalassic-ui.d.ts
CHANGED
|
@@ -3265,6 +3265,13 @@ declare class FormControlGroup {
|
|
|
3265
3265
|
private readonly _projectedControls;
|
|
3266
3266
|
readonly size: InputSignal<controlSize>;
|
|
3267
3267
|
readonly fluid: InputSignalWithTransform<boolean, unknown>;
|
|
3268
|
+
/**
|
|
3269
|
+
* Floats the field over content that scrolls beneath it — a search bar held at the top
|
|
3270
|
+
* of a list. Its own translucent wash then sits on a frosted layer of the surface, so
|
|
3271
|
+
* what passes under it reads as blurred colour rather than as text colliding with the
|
|
3272
|
+
* value, and it casts a small shadow to stand off what it floats over.
|
|
3273
|
+
*/
|
|
3274
|
+
readonly floating: InputSignalWithTransform<boolean, unknown>;
|
|
3268
3275
|
protected readonly hostClasses: Signal<string[]>;
|
|
3269
3276
|
/**
|
|
3270
3277
|
* Hands over a control the field wraps, opening its panel if it has one. A field may
|
|
@@ -3298,7 +3305,7 @@ declare class FormControlGroup {
|
|
|
3298
3305
|
*/
|
|
3299
3306
|
private _nearestControl;
|
|
3300
3307
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlGroup, never>;
|
|
3301
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlGroup, "tls-form-control-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; }, {}, ["_projectedControls"], ["*"], true, never>;
|
|
3308
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormControlGroup, "tls-form-control-group", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "fluid": { "alias": "fluid"; "required": false; "isSignal": true; }; "floating": { "alias": "floating"; "required": false; "isSignal": true; }; }, {}, ["_projectedControls"], ["*"], true, never>;
|
|
3302
3309
|
}
|
|
3303
3310
|
|
|
3304
3311
|
interface FormControlGroupConfig {
|