@financial-times/content-tree 0.17.0 → 0.18.0

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/SPEC.md CHANGED
@@ -17,6 +17,8 @@ type AssetFormat =
17
17
  | "standard"
18
18
  | "wide"
19
19
  | "standard-inline"
20
+ | "portrait"
21
+ | "landscape"
20
22
 
21
23
  ```
22
24
 
package/content-tree.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export declare namespace ContentTree {
2
- type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline";
2
+ type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline" | "portrait" | "landscape";
3
3
  type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
4
4
  type AVSource = {
5
5
  binaryUrl: string;
@@ -494,7 +494,7 @@ export declare namespace ContentTree {
494
494
  children: CarouselChildren;
495
495
  }
496
496
  namespace full {
497
- type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline";
497
+ type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline" | "portrait" | "landscape";
498
498
  type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
499
499
  type AVSource = {
500
500
  binaryUrl: string;
@@ -990,7 +990,7 @@ export declare namespace ContentTree {
990
990
  }
991
991
  }
992
992
  namespace transit {
993
- type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline";
993
+ type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline" | "portrait" | "landscape";
994
994
  type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
995
995
  type AVSource = {
996
996
  binaryUrl: string;
@@ -1459,7 +1459,7 @@ export declare namespace ContentTree {
1459
1459
  }
1460
1460
  }
1461
1461
  namespace loose {
1462
- type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline";
1462
+ type AssetFormat = "desktop" | "mobile" | "square" | "square-ftedit" | "standard" | "wide" | "standard-inline" | "portrait" | "landscape";
1463
1463
  type LayoutWidth = "auto" | "in-line" | "inset-left" | "inset-right" | "full-bleed" | "full-grid" | "mid-grid" | "full-width";
1464
1464
  type AVSource = {
1465
1465
  binaryUrl: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@financial-times/content-tree",
3
3
  "description": "content tree format",
4
- "version": "0.17.0",
4
+ "version": "0.18.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -24,7 +24,9 @@
24
24
  "ContentTree.full.AssetFormat": {
25
25
  "enum": [
26
26
  "desktop",
27
+ "landscape",
27
28
  "mobile",
29
+ "portrait",
28
30
  "square",
29
31
  "square-ftedit",
30
32
  "standard",