@officexapp/catalogs-cli 0.2.7 → 0.2.8

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1477,7 +1477,7 @@ function buildPreviewHtml(schema, port) {
1477
1477
  );
1478
1478
  }
1479
1479
 
1480
- const components = page.components || [];
1480
+ const components = (page.components || []).filter(c => !c.hidden && !c.props?.hidden);
1481
1481
  const bgImage = page.background_image || catalog.settings?.theme?.background_image;
1482
1482
 
1483
1483
  // Cover page layout
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@officexapp/catalogs-cli",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "CLI for Catalog Kit — upload videos, push catalogs, manage assets",
5
5
  "type": "module",
6
6
  "bin": {