@vectoriox/iox-ui 5.73.1 → 5.73.4
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/index.d.ts
CHANGED
|
@@ -957,6 +957,12 @@ declare class IoxVideoComponent implements AfterViewInit, OnDestroy {
|
|
|
957
957
|
set frames(v: unknown);
|
|
958
958
|
get frames(): unknown;
|
|
959
959
|
private root?;
|
|
960
|
+
/**
|
|
961
|
+
* A Video the scroll plays usually fills its stage with height: 100%, which is a percent of this host. The host stays a
|
|
962
|
+
* box, because a node's width and margin live on it, so it passes the height down. Where a Scene flows, 100% of an
|
|
963
|
+
* auto stage is auto. An ordinary Video keeps its own height, so what stands beside it stays put.
|
|
964
|
+
*/
|
|
965
|
+
get hostHeight(): string | null;
|
|
960
966
|
plan: VideoPlan;
|
|
961
967
|
attrs: Record<string, string>;
|
|
962
968
|
html: SafeHtml;
|
package/package.json
CHANGED
package/styles/iox-design.css
CHANGED
|
@@ -348,6 +348,9 @@ dialog[data-iox-dialog]:not([open]) {
|
|
|
348
348
|
container-type: inline-size;
|
|
349
349
|
}
|
|
350
350
|
/* The poster blank (DS3): no poster yet = the token fill, never a request to the provider. */
|
|
351
|
+
/* A Video the scroll plays, given a height: without its own width, a 16 / 9 ratio would work its width out from that height
|
|
352
|
+
and run off the stage. Zero specificity, so the node's own width wins. */
|
|
353
|
+
:where(.iox-video[data-iox-video-frames]) { width: 100%; }
|
|
351
354
|
.iox-video[data-iox-video-poster-empty]:not([data-iox-video-playing]) { background-color: var(--iox-surface-2); }
|
|
352
355
|
.iox-video[data-iox-video-playing] { background-color: var(--iox-inverse-bg); }
|
|
353
356
|
.iox-video > :is(.iox-video__poster, .iox-video__media, .iox-video__frame, .iox-video__frames) {
|