@quintype/components 3.8.7 → 3.8.8-add-collection-index.1

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/dist/cjs/index.js CHANGED
@@ -1394,7 +1394,8 @@ function renderCollectionItem(collectionItem, index, collectionTemplates, storyT
1394
1394
  key: "".concat(index, "-").concat(collectionItem.id),
1395
1395
  index: index,
1396
1396
  collection: collectionItem,
1397
- metadata: collectionItem["associated-metadata"] || {}
1397
+ metadata: collectionItem["associated-metadata"] || {},
1398
+ collectionIndex: collectionItem === null || collectionItem === void 0 ? void 0 : collectionItem["collectionIndex"]
1398
1399
  }, otherProps));
1399
1400
 
1400
1401
  case "story":
@@ -25,7 +25,8 @@ export function renderCollectionItem(collectionItem, index, collectionTemplates,
25
25
  key: "".concat(index, "-").concat(collectionItem.id),
26
26
  index: index,
27
27
  collection: collectionItem,
28
- metadata: collectionItem["associated-metadata"] || {}
28
+ metadata: collectionItem["associated-metadata"] || {},
29
+ collectionIndex: collectionItem === null || collectionItem === void 0 ? void 0 : collectionItem["collectionIndex"]
29
30
  }, otherProps));
30
31
 
31
32
  case "story":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/components",
3
- "version": "3.8.7",
3
+ "version": "3.8.8-add-collection-index.1",
4
4
  "description": "Components to help build Quintype Node.js apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",