@spiffcommerce/core 31.2.3-beta.a0b3db5e-f507-543a-83fc-22e82e769276 → 31.2.4-beta.16471a59-8ca0-5e4a-9c5b-62bee464c78e
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +37 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +367 -370
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -14,6 +14,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
14
14
|
- `Fixed` for any bug fixes.
|
15
15
|
- `Security` in case of vulnerabilities.
|
16
16
|
|
17
|
+
## [31.2.4] - 04-09-2025
|
18
|
+
|
19
|
+
## Fixed
|
20
|
+
|
21
|
+
- Vertical text steps now respect region boundaries, even if the text is really long.
|
22
|
+
|
17
23
|
## [30.2.2] - 01-09-2025
|
18
24
|
|
19
25
|
## Added
|
package/dist/index.d.ts
CHANGED
@@ -1570,7 +1570,7 @@ interface BundleOptions {
|
|
1570
1570
|
readonly?: boolean;
|
1571
1571
|
}
|
1572
1572
|
|
1573
|
-
interface
|
1573
|
+
interface MetafieldFilter {
|
1574
1574
|
operator: "Equals" | "IsEmpty";
|
1575
1575
|
invert?: boolean;
|
1576
1576
|
metafieldConfigurationId: string;
|
@@ -1633,19 +1633,20 @@ declare class ProductCollection {
|
|
1633
1633
|
* @param filters A list of metafield filters to apply.
|
1634
1634
|
* @param tags An object of tag filters to apply.
|
1635
1635
|
*/
|
1636
|
-
filterProducts(filters?:
|
1636
|
+
filterProducts(filters?: MetafieldFilter[], tags?: ProductTagFilter, sortKey?: ProductCollectionProductSortKey, sortDescending?: boolean): Promise<CollectionProduct[]>;
|
1637
1637
|
/**
|
1638
1638
|
* Fetches a paginated feed of products.
|
1639
1639
|
* @param offset The zero-based start index.
|
1640
1640
|
* @param limit The maximum number of products to return.
|
1641
|
-
* @param
|
1641
|
+
* @param productFilters Optional product metafields to filter the products by.
|
1642
1642
|
* @param tags Optional object of tag filters to apply.
|
1643
1643
|
* @param sortKey Optional field of the products to sort by.
|
1644
1644
|
* @param sortDescending Optional boolean to indicate if the sort should be in descending order.
|
1645
1645
|
* @param quickSearch Optional string to filter products by name.
|
1646
|
+
* @param workflowFilters Optional workflow metafields to filter the products and their workflows by.
|
1646
1647
|
* @returns
|
1647
1648
|
*/
|
1648
|
-
fetchProductsFeed(offset: number, limit: number,
|
1649
|
+
fetchProductsFeed(offset: number, limit: number, productFilters?: MetafieldFilter[], tags?: ProductTagFilter, sortKey?: ProductCollectionProductSortKey, sortDescending?: boolean, quickSearch?: string, workflowFilters?: MetafieldFilter[]): Promise<{
|
1649
1650
|
items: CollectionProduct[];
|
1650
1651
|
total: number;
|
1651
1652
|
}>;
|