@thryveai/theme-interfaces 2.7.111 → 2.7.113
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.
|
@@ -635,7 +635,15 @@ export interface IProductCardV2RecommendedLabelSettings {
|
|
|
635
635
|
export interface IProductCardV2PromotionLabelsSettings {
|
|
636
636
|
showLines: number;
|
|
637
637
|
labelSource: "name" | "description";
|
|
638
|
-
|
|
638
|
+
labelsLimit: number;
|
|
639
|
+
labelsPriority: ILabelConfig[];
|
|
640
|
+
}
|
|
641
|
+
export declare type ILabelConfig = {
|
|
642
|
+
_type: "pointPromo" | "promo";
|
|
643
|
+
limit: number;
|
|
644
|
+
} | {
|
|
645
|
+
_type: "tprPromo";
|
|
646
|
+
};
|
|
639
647
|
export declare type IProductCardLayouts = {
|
|
640
648
|
ContainersGrid: "default" | "pce-centered" | "prs-labels";
|
|
641
649
|
ContainersCarousel: "default" | "pce-centered" | "prs-labels";
|
|
@@ -263,6 +263,12 @@ var DefaultConfigSFUI = {
|
|
|
263
263
|
promotionLabel: {
|
|
264
264
|
showLines: 1,
|
|
265
265
|
labelSource: "name",
|
|
266
|
+
labelsLimit: 1,
|
|
267
|
+
labelsPriority: [
|
|
268
|
+
{ _type: "tprPromo" },
|
|
269
|
+
{ _type: "pointPromo", limit: 1 },
|
|
270
|
+
{ _type: "promo", limit: 1 },
|
|
271
|
+
],
|
|
266
272
|
},
|
|
267
273
|
recommendedLabel: { enabled: false },
|
|
268
274
|
productAttributes: {
|
package/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thryveai/theme-interfaces",
|
|
3
|
-
"version": "2.7.
|
|
4
|
-
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "gulp",
|
|
7
|
-
"push": "npm run build && npm publish",
|
|
8
|
-
"merge-settings": "ts-node ./scripts/settings/sfui-settings-migrator.ts",
|
|
9
|
-
"generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js"
|
|
10
|
-
},
|
|
11
|
-
"author": "Wynshop",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"main": "dist",
|
|
14
|
-
"files": [
|
|
15
|
-
"dist"
|
|
16
|
-
],
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@types/node": "^17.0.42",
|
|
19
|
-
"fs-extra": "11.1.0",
|
|
20
|
-
"gulp": "4.0.2",
|
|
21
|
-
"gulp-file-contents-to-json": "0.2.2",
|
|
22
|
-
"gulp-typescript": "6.0.0-alpha.1",
|
|
23
|
-
"imagemin": "7.0.1",
|
|
24
|
-
"imagemin-svgo": "9.0.0",
|
|
25
|
-
"svgo": "3.0.2",
|
|
26
|
-
"ts-node": "^10.8.1",
|
|
27
|
-
"typescript": "4.6.3"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thryveai/theme-interfaces",
|
|
3
|
+
"version": "2.7.113",
|
|
4
|
+
"description": "Shared interfaces and defaults for all Wynshop themed apps.",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "gulp",
|
|
7
|
+
"push": "npm run build && npm publish",
|
|
8
|
+
"merge-settings": "ts-node ./scripts/settings/sfui-settings-migrator.ts",
|
|
9
|
+
"generate-retailer-icons": "gulp --gulpfile ./scripts/icons/gulpfile.js"
|
|
10
|
+
},
|
|
11
|
+
"author": "Wynshop",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"main": "dist",
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/node": "^17.0.42",
|
|
19
|
+
"fs-extra": "11.1.0",
|
|
20
|
+
"gulp": "4.0.2",
|
|
21
|
+
"gulp-file-contents-to-json": "0.2.2",
|
|
22
|
+
"gulp-typescript": "6.0.0-alpha.1",
|
|
23
|
+
"imagemin": "7.0.1",
|
|
24
|
+
"imagemin-svgo": "9.0.0",
|
|
25
|
+
"svgo": "3.0.2",
|
|
26
|
+
"ts-node": "^10.8.1",
|
|
27
|
+
"typescript": "4.6.3"
|
|
28
|
+
}
|
|
29
|
+
}
|