@vectoriox/iox-ui 5.74.5 → 5.74.7
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/fesm2022/vectoriox-iox-ui-scene-core.mjs +1 -1
- package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
- package/fesm2022/vectoriox-iox-ui.mjs +6 -6
- package/fesm2022/vectoriox-iox-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/scene-core/index.d.ts +1 -1
- package/src/scene-core/scene.ts +1 -1
package/package.json
CHANGED
package/scene-core/index.d.ts
CHANGED
|
@@ -133,7 +133,7 @@ declare function applySceneFirstFrame(el: HTMLElement | null | undefined, node:
|
|
|
133
133
|
*/
|
|
134
134
|
declare const SCENE_FLOW_RULES: string;
|
|
135
135
|
/** Under reduced motion the driver never starts, so the same rules hold for the whole visit. */
|
|
136
|
-
declare const SCENE_REDUCED_MOTION_CSS = "@media (prefers-reduced-motion: reduce){.iox-role-scene{height:auto!important}.iox-role-scene-stage{position:relative!important;top:auto!important;height:auto!important;overflow:visible!important;container-type:normal!important;display:flex!important;flex-direction:column!important;gap:clamp(40px,8vw,72px)!important;padding:clamp(72px,10vw,96px) clamp(16px,4vw,32px)!important;isolation:isolate}.iox-role-scene-stage>*{position:relative!important;inset:auto!important;max-width:100%!important}.iox-role-scene-stage>[class*=\"iox-outer-\"]>[class*=\"iox-node-\"]{position:relative!important;inset:auto!important}[data-iox-tracks]{transform:none!important;opacity:1!important;clip-path:none!important;pointer-events:auto!important}[data-iox-tracks]{max-width:100%!important;flex-wrap:wrap!important}[data-iox-video-frames]{height:auto!important}:has(>[data-iox-video-frames]){display:contents!important}[data-iox-video-frames]>.iox-video__poster,[data-iox-video-frames]>picture>.iox-video__poster{position:static!important;height:auto!important}}";
|
|
136
|
+
declare const SCENE_REDUCED_MOTION_CSS = "@media (prefers-reduced-motion: reduce){.iox-role-scene{height:auto!important}.iox-role-scene-stage{position:relative!important;top:auto!important;height:auto!important;overflow:visible!important;container-type:normal!important;display:flex!important;flex-direction:column!important;gap:clamp(40px,8vw,72px)!important;padding:clamp(72px,10vw,96px) clamp(16px,4vw,32px)!important;isolation:isolate}.iox-role-scene-stage>*{position:relative!important;inset:auto!important;max-width:100%!important}.iox-role-scene-stage>[class*=\"iox-outer-\"]>[class*=\"iox-node-\"]{position:relative!important;inset:auto!important}[data-iox-tracks]{transform:none!important;opacity:1!important;clip-path:none!important;pointer-events:auto!important}[data-iox-tracks]{max-width:100%!important;flex-wrap:wrap!important}[data-iox-video-frames]{height:auto!important}iox-video:has(>[data-iox-video-frames]){display:contents!important}[data-iox-video-frames]>.iox-video__poster,[data-iox-video-frames]>picture>.iox-video__poster{position:static!important;height:auto!important}}";
|
|
137
137
|
|
|
138
138
|
declare function sceneKeyPosition(p: number): number;
|
|
139
139
|
interface SceneTrackDef {
|
package/src/scene-core/scene.ts
CHANGED
|
@@ -320,7 +320,7 @@ export const SCENE_FLOW_RULES = `.iox-role-scene{height:auto!important}`
|
|
|
320
320
|
// A Video the scroll plays stands as its poster, at the poster's own height: a percent of a stage that now flows is nothing.
|
|
321
321
|
+ `[${VideoAttribute.Frames}]{height:auto!important}`
|
|
322
322
|
// On the component path it stands inside a host that took no height from it, so the host steps out of the layout.
|
|
323
|
-
+
|
|
323
|
+
+ `iox-video:has(>[${VideoAttribute.Frames}]){display:contents!important}`
|
|
324
324
|
+ `[${VideoAttribute.Frames}]>.${VideoClass.Poster},[${VideoAttribute.Frames}]>picture>.${VideoClass.Poster}{position:static!important;height:auto!important}`;
|
|
325
325
|
|
|
326
326
|
/** Under reduced motion the driver never starts, so the same rules hold for the whole visit. */
|