@charisol/plexo-sdk 1.4.14 → 1.4.15
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Every setting the `shop_grid` marker's runtime (commerce.js's renderShopGrid) reads off
|
|
4
|
+
* its own data attributes -- see compiler.ts's shared commerce-marker case, which already
|
|
5
|
+
* passes all of these through regardless of storeMode, so no compiler change was needed
|
|
6
|
+
* to make this panel work. Two modes, one block (see types.ts's shop_grid comment):
|
|
7
|
+
* storeMode true (default) is the full searchable/filterable catalog a Shop page uses;
|
|
8
|
+
* false is a smaller curated shelf ("3 best sellers", say) for a marketing section.
|
|
9
|
+
* itemsPerRow/itemsPerPage apply in BOTH modes -- nothing here is hardcoded in the
|
|
10
|
+
* runtime, unlike the plain generic passthrough attrs a hand-authored page could set but
|
|
11
|
+
* a non-technical site owner had no UI for before this panel existed.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ShopGridPropertiesAccordion: React.FC<any>;
|