From 860687c1de2eaf86a26004e9e5ded42aa8f57ca8 Mon Sep 17 00:00:00 2001 From: leanne cornish Date: Thu, 18 Jun 2026 11:54:33 +0100 Subject: [PATCH] ci-3692 inset vertical videos --- SPEC.md | 2 +- content-tree.d.ts | 8 ++++---- libraries/from-bodyxml/go/helpers.go | 2 +- package-lock.json | 4 ++-- schemas/body-tree.schema.json | 2 ++ schemas/content-tree.schema.json | 2 ++ schemas/transit-tree.schema.json | 2 ++ 7 files changed, 14 insertions(+), 8 deletions(-) diff --git a/SPEC.md b/SPEC.md index f28a39e..0f2119b 100644 --- a/SPEC.md +++ b/SPEC.md @@ -681,7 +681,7 @@ type ClipAccessibility = { transcript?: Body } -type ClipSetLayoutWidth = Extract +type ClipSetLayoutWidth = Extract ``` **ClipSet** represents a short piece of possibly-looping video content for an article. diff --git a/content-tree.d.ts b/content-tree.d.ts index 2fc347f..1bca1a9 100644 --- a/content-tree.d.ts +++ b/content-tree.d.ts @@ -256,7 +256,7 @@ export declare namespace ContentTree { captions?: ClipCaption[]; transcript?: Body; }; - type ClipSetLayoutWidth = Extract; + type ClipSetLayoutWidth = Extract; interface ScrollyBlock extends Parent { type: "scrolly-block"; theme: "sans" | "serif"; @@ -744,7 +744,7 @@ export declare namespace ContentTree { captions?: ClipCaption[]; transcript?: Body; }; - type ClipSetLayoutWidth = Extract; + type ClipSetLayoutWidth = Extract; interface ScrollyBlock extends Parent { type: "scrolly-block"; theme: "sans" | "serif"; @@ -1216,7 +1216,7 @@ export declare namespace ContentTree { captions?: ClipCaption[]; transcript?: Body; }; - type ClipSetLayoutWidth = Extract; + type ClipSetLayoutWidth = Extract; interface ScrollyBlock extends Parent { type: "scrolly-block"; theme: "sans" | "serif"; @@ -1695,7 +1695,7 @@ export declare namespace ContentTree { captions?: ClipCaption[]; transcript?: Body; }; - type ClipSetLayoutWidth = Extract; + type ClipSetLayoutWidth = Extract; interface ScrollyBlock extends Parent { type: "scrolly-block"; theme: "sans" | "serif"; diff --git a/libraries/from-bodyxml/go/helpers.go b/libraries/from-bodyxml/go/helpers.go index 33427fb..3022250 100644 --- a/libraries/from-bodyxml/go/helpers.go +++ b/libraries/from-bodyxml/go/helpers.go @@ -35,7 +35,7 @@ func toValidFlourishLayoutWidth(w string) layoutwidth { func toValidClipLayoutWidth(w string) layoutwidth { switch w { - case "in-line", "full-grid", "mid-grid": + case "in-line", "full-grid", "mid-grid", "inset-left", "inset-right": return layoutwidth(w) default: return "in-line" diff --git a/package-lock.json b/package-lock.json index 2886705..6960093 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@financial-times/content-tree", - "version": "0.12.0", + "version": "0.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@financial-times/content-tree", - "version": "0.12.0", + "version": "0.13.0", "license": "MIT", "workspaces": [ "libraries/*", diff --git a/schemas/body-tree.schema.json b/schemas/body-tree.schema.json index 58e036a..b197dd4 100644 --- a/schemas/body-tree.schema.json +++ b/schemas/body-tree.schema.json @@ -388,6 +388,8 @@ "enum": [ "full-grid", "in-line", + "inset-left", + "inset-right", "mid-grid" ], "type": "string" diff --git a/schemas/content-tree.schema.json b/schemas/content-tree.schema.json index 0ecf377..546f00d 100644 --- a/schemas/content-tree.schema.json +++ b/schemas/content-tree.schema.json @@ -515,6 +515,8 @@ "enum": [ "full-grid", "in-line", + "inset-left", + "inset-right", "mid-grid" ], "type": "string" diff --git a/schemas/transit-tree.schema.json b/schemas/transit-tree.schema.json index cfd9bc7..49f38c2 100644 --- a/schemas/transit-tree.schema.json +++ b/schemas/transit-tree.schema.json @@ -415,6 +415,8 @@ "enum": [ "full-grid", "in-line", + "inset-left", + "inset-right", "mid-grid" ], "type": "string"