@financial-times/content-tree 0.12.0-beta.8 → 0.12.0-beta.9

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
@@ -1012,6 +1012,9 @@ interface InfoPair extends Parent {
1012
1012
  ```ts
1013
1013
  interface CarouselCard extends Node {
1014
1014
  type: "carousel-card"
1015
+ /**
1016
+ * @description unique identifier required for component tracking
1017
+ */
1015
1018
  id: string
1016
1019
  /**
1017
1020
  * @description Heading (60 characters recommended)
@@ -1062,6 +1065,9 @@ interface CarouselHeading extends Node {
1062
1065
  */
1063
1066
  interface Carousel extends Parent {
1064
1067
  type: "carousel"
1068
+ /**
1069
+ * @description unique identifier required for component tracking
1070
+ */
1065
1071
  id: string
1066
1072
  heading?: CarouselHeading
1067
1073
  children: CarouselChildren
package/content-tree.d.ts CHANGED
@@ -441,6 +441,9 @@ export declare namespace ContentTree {
441
441
  }
442
442
  interface CarouselCard extends Node {
443
443
  type: "carousel-card";
444
+ /**
445
+ * @description unique identifier required for component tracking
446
+ */
444
447
  id: string;
445
448
  /**
446
449
  * @description Heading (60 characters recommended)
@@ -476,6 +479,9 @@ export declare namespace ContentTree {
476
479
  */
477
480
  interface Carousel extends Parent {
478
481
  type: "carousel";
482
+ /**
483
+ * @description unique identifier required for component tracking
484
+ */
479
485
  id: string;
480
486
  heading?: CarouselHeading;
481
487
  children: CarouselChildren;
@@ -923,6 +929,9 @@ export declare namespace ContentTree {
923
929
  }
924
930
  interface CarouselCard extends Node {
925
931
  type: "carousel-card";
932
+ /**
933
+ * @description unique identifier required for component tracking
934
+ */
926
935
  id: string;
927
936
  /**
928
937
  * @description Heading (60 characters recommended)
@@ -958,6 +967,9 @@ export declare namespace ContentTree {
958
967
  */
959
968
  interface Carousel extends Parent {
960
969
  type: "carousel";
970
+ /**
971
+ * @description unique identifier required for component tracking
972
+ */
961
973
  id: string;
962
974
  heading?: CarouselHeading;
963
975
  children: CarouselChildren;
@@ -1379,6 +1391,9 @@ export declare namespace ContentTree {
1379
1391
  }
1380
1392
  interface CarouselCard extends Node {
1381
1393
  type: "carousel-card";
1394
+ /**
1395
+ * @description unique identifier required for component tracking
1396
+ */
1382
1397
  id: string;
1383
1398
  /**
1384
1399
  * @description Heading (60 characters recommended)
@@ -1414,6 +1429,9 @@ export declare namespace ContentTree {
1414
1429
  */
1415
1430
  interface Carousel extends Parent {
1416
1431
  type: "carousel";
1432
+ /**
1433
+ * @description unique identifier required for component tracking
1434
+ */
1417
1435
  id: string;
1418
1436
  heading?: CarouselHeading;
1419
1437
  children: CarouselChildren;
@@ -1862,6 +1880,9 @@ export declare namespace ContentTree {
1862
1880
  }
1863
1881
  interface CarouselCard extends Node {
1864
1882
  type: "carousel-card";
1883
+ /**
1884
+ * @description unique identifier required for component tracking
1885
+ */
1865
1886
  id: string;
1866
1887
  /**
1867
1888
  * @description Heading (60 characters recommended)
@@ -1897,6 +1918,9 @@ export declare namespace ContentTree {
1897
1918
  */
1898
1919
  interface Carousel extends Parent {
1899
1920
  type: "carousel";
1921
+ /**
1922
+ * @description unique identifier required for component tracking
1923
+ */
1900
1924
  id: string;
1901
1925
  heading?: CarouselHeading;
1902
1926
  children: CarouselChildren;
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.12.0-beta.8",
4
+ "version": "0.12.0-beta.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -267,6 +267,7 @@
267
267
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
268
268
  },
269
269
  "id": {
270
+ "description": "unique identifier required for component tracking",
270
271
  "type": "string"
271
272
  },
272
273
  "type": {
@@ -306,6 +307,7 @@
306
307
  },
307
308
  "data": {},
308
309
  "id": {
310
+ "description": "unique identifier required for component tracking",
309
311
  "type": "string"
310
312
  },
311
313
  "title": {
@@ -303,6 +303,7 @@
303
303
  "$ref": "#/definitions/ContentTree.full.CarouselHeading"
304
304
  },
305
305
  "id": {
306
+ "description": "unique identifier required for component tracking",
306
307
  "type": "string"
307
308
  },
308
309
  "type": {
@@ -341,6 +342,7 @@
341
342
  },
342
343
  "data": {},
343
344
  "id": {
345
+ "description": "unique identifier required for component tracking",
344
346
  "type": "string"
345
347
  },
346
348
  "title": {
@@ -291,6 +291,7 @@
291
291
  "$ref": "#/definitions/ContentTree.transit.CarouselHeading"
292
292
  },
293
293
  "id": {
294
+ "description": "unique identifier required for component tracking",
294
295
  "type": "string"
295
296
  },
296
297
  "type": {
@@ -329,6 +330,7 @@
329
330
  },
330
331
  "data": {},
331
332
  "id": {
333
+ "description": "unique identifier required for component tracking",
332
334
  "type": "string"
333
335
  },
334
336
  "title": {