@thryveai/theme-interfaces 2.8.36 → 2.8.37

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 (33) hide show
  1. package/dist/JSONSchemas/index.d.ts +29 -33
  2. package/dist/JSONSchemas/index.js +79 -83
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +15 -0
  5. package/dist/interfaces/retailer-settings.interfaces.d.ts +0 -1
  6. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.d.ts +3 -0
  7. package/dist/product-card-template/layouts/CarouselCard/DUN-attributes.js +312 -0
  8. package/dist/product-card-template/layouts/CarouselCard/Default.d.ts +3 -0
  9. package/dist/product-card-template/layouts/CarouselCard/Default.js +330 -0
  10. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.d.ts +3 -0
  11. package/dist/product-card-template/layouts/CarouselCard/PCE-centered.js +216 -0
  12. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.d.ts +3 -0
  13. package/dist/product-card-template/layouts/CarouselCard/PRS-labels.js +283 -0
  14. package/dist/product-card-template/layouts/FlyerCard/Default.d.ts +3 -0
  15. package/dist/product-card-template/layouts/FlyerCard/Default.js +114 -0
  16. package/dist/product-card-template/layouts/FlyerCard/Detailed.d.ts +3 -0
  17. package/dist/product-card-template/layouts/FlyerCard/Detailed.js +164 -0
  18. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.d.ts +3 -0
  19. package/dist/product-card-template/layouts/ProductGrid/DUN-attributes.js +344 -0
  20. package/dist/product-card-template/layouts/ProductGrid/Default.d.ts +3 -0
  21. package/dist/product-card-template/layouts/ProductGrid/Default.js +341 -0
  22. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.d.ts +3 -0
  23. package/dist/product-card-template/layouts/ProductGrid/PCE-centered.js +317 -0
  24. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.d.ts +3 -0
  25. package/dist/product-card-template/layouts/ProductGrid/PRS-labels.js +319 -0
  26. package/dist/product-card-template/template.interfaces.d.ts +55 -0
  27. package/dist/product-card-template/template.interfaces.js +51 -0
  28. package/dist/storefront/commonSettingsStorefront.js +0 -1
  29. package/dist/storefront/defaultIconsStorefront.js +1 -1
  30. package/dist/storefront/defaultSettingsStorefront.js +0 -1
  31. package/dist/storefront/defaultThemeStorefront.d.ts +17 -0
  32. package/dist/storefront/defaultThemeStorefront.js +18 -1
  33. package/package.json +1 -1
@@ -0,0 +1,216 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var defaultThemeStorefront_1 = require("../../../storefront/defaultThemeStorefront");
4
+ var CarouselCards = {
5
+ cardProfile: {
6
+ sectionPosition: {
7
+ mobile: {
8
+ row: "1/3",
9
+ column: "1/3",
10
+ align: "start",
11
+ },
12
+ },
13
+ children: [
14
+ {
15
+ component: "PastPurchased",
16
+ sectionPosition: {
17
+ mobile: {
18
+ row: "auto/auto",
19
+ column: "1/1",
20
+ justify: "center",
21
+ placeholderHeight: "19px",
22
+ },
23
+ tablet: {
24
+ row: "auto/auto",
25
+ column: "1/1",
26
+ justify: "left",
27
+ placeholderHeight: "19px",
28
+ },
29
+ },
30
+ },
31
+ {
32
+ component: "ProductImage",
33
+ sectionPosition: {
34
+ mobile: {
35
+ row: "auto/auto",
36
+ column: "1/1",
37
+ justify: "center",
38
+ },
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ cardFloatIcons: {
44
+ sectionPosition: {
45
+ mobile: {
46
+ row: "1/3",
47
+ column: "2/3",
48
+ justify: "right",
49
+ align: "start",
50
+ },
51
+ },
52
+ children: [
53
+ {
54
+ component: "FavoritesButton",
55
+ sectionPosition: {
56
+ mobile: {
57
+ row: "auto/auto",
58
+ column: "1/1",
59
+ justify: "center",
60
+ align: "center",
61
+ },
62
+ },
63
+ },
64
+ {
65
+ component: "ProductAttributes",
66
+ sectionPosition: {
67
+ mobile: {
68
+ row: "auto/auto",
69
+ column: "1/1",
70
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
71
+ justify: "center",
72
+ align: "center",
73
+ },
74
+ },
75
+ },
76
+ ],
77
+ },
78
+ cardMainInformation: {
79
+ sectionPosition: {
80
+ mobile: {
81
+ row: "3/3",
82
+ column: "1/3",
83
+ align: "center",
84
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
85
+ },
86
+ },
87
+ children: [
88
+ {
89
+ component: "SponsoredLabel",
90
+ sectionPosition: {
91
+ mobile: {
92
+ row: "auto/auto",
93
+ column: "1/3",
94
+ justify: "center",
95
+ placeholderHeight: defaultThemeStorefront_1.spacing.sm,
96
+ },
97
+ },
98
+ },
99
+ {
100
+ component: "ShoppingRuleLabels",
101
+ sectionPosition: {
102
+ mobile: {
103
+ row: "auto/auto",
104
+ column: "1/3",
105
+ justify: "center",
106
+ minHeight: defaultThemeStorefront_1.spacing.md,
107
+ placeholderHeight: defaultThemeStorefront_1.spacing.md,
108
+ },
109
+ },
110
+ },
111
+ {
112
+ component: "PromotionLabel",
113
+ sectionPosition: {
114
+ mobile: {
115
+ row: "auto/auto",
116
+ column: "1/3",
117
+ justify: "center",
118
+ align: "center",
119
+ placeholderHeight: "20px",
120
+ },
121
+ },
122
+ },
123
+ {
124
+ component: "ProductName",
125
+ sectionPosition: {
126
+ mobile: {
127
+ row: "auto/auto",
128
+ column: "1/3",
129
+ justify: "center",
130
+ minHeight: defaultThemeStorefront_1.spacing.lgr,
131
+ },
132
+ },
133
+ },
134
+ {
135
+ component: "ProductPrice",
136
+ sectionPosition: {
137
+ mobile: {
138
+ row: "auto/auto",
139
+ column: "1/3",
140
+ justify: "center",
141
+ },
142
+ },
143
+ },
144
+ {
145
+ component: "ProductWasPrice",
146
+ sectionPosition: {
147
+ mobile: {
148
+ row: "auto/auto",
149
+ column: "1/3",
150
+ justify: "center",
151
+ },
152
+ },
153
+ },
154
+ {
155
+ component: "ProductUnitPrice",
156
+ sectionPosition: {
157
+ mobile: {
158
+ row: "auto/auto",
159
+ column: "1/3",
160
+ justify: "center",
161
+ },
162
+ },
163
+ },
164
+ ],
165
+ },
166
+ cardActions: {
167
+ sectionPosition: {
168
+ mobile: {
169
+ row: "4/4",
170
+ column: "1/3",
171
+ align: "end",
172
+ gridGap: defaultThemeStorefront_1.spacing.xs,
173
+ },
174
+ },
175
+ children: [
176
+ {
177
+ component: "OfferValidMessage",
178
+ sectionPosition: {
179
+ mobile: {
180
+ row: "auto/auto",
181
+ column: "auto/auto",
182
+ justify: "center",
183
+ },
184
+ },
185
+ },
186
+ {
187
+ component: "ProductCoupons",
188
+ sectionPosition: {
189
+ mobile: {
190
+ row: "auto/auto",
191
+ column: "auto/auto",
192
+ },
193
+ },
194
+ },
195
+ {
196
+ component: "ViewDealButton",
197
+ sectionPosition: {
198
+ mobile: {
199
+ row: "auto/auto",
200
+ column: "auto/auto",
201
+ },
202
+ },
203
+ },
204
+ {
205
+ component: "AddToCartButton",
206
+ sectionPosition: {
207
+ mobile: {
208
+ row: "auto/auto",
209
+ column: "auto/auto",
210
+ },
211
+ },
212
+ },
213
+ ],
214
+ },
215
+ };
216
+ exports.default = CarouselCards;
@@ -0,0 +1,3 @@
1
+ import { ILayoutInterface } from "../../template.interfaces";
2
+ declare const CarouselCards: ILayoutInterface;
3
+ export default CarouselCards;
@@ -0,0 +1,283 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var defaultThemeStorefront_1 = require("../../../storefront/defaultThemeStorefront");
4
+ var CarouselCards = {
5
+ cardHeader: {
6
+ sectionPosition: {
7
+ mobile: {
8
+ row: "1/1",
9
+ column: "1/1",
10
+ align: "start",
11
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
12
+ },
13
+ },
14
+ children: [
15
+ {
16
+ component: "PastPurchased",
17
+ sectionPosition: {
18
+ mobile: {
19
+ row: "auto/auto",
20
+ column: "auto/auto",
21
+ placeholderHeight: "20px",
22
+ },
23
+ },
24
+ },
25
+ {
26
+ component: "PromotionLabel",
27
+ sectionPosition: {
28
+ mobile: {
29
+ row: "auto/auto",
30
+ column: "auto/auto",
31
+ placeholderHeight: "20px",
32
+ minHeight: defaultThemeStorefront_1.spacing.md,
33
+ },
34
+ tablet: {
35
+ row: "auto/auto",
36
+ column: "auto/auto",
37
+ placeholderHeight: "20px",
38
+ maxHeight: "20px",
39
+ },
40
+ },
41
+ },
42
+ ],
43
+ },
44
+ cardProfile: {
45
+ sectionPosition: {
46
+ mobile: {
47
+ row: "2/2",
48
+ column: "1/3",
49
+ align: "start",
50
+ },
51
+ },
52
+ children: [
53
+ {
54
+ component: "ProductImage",
55
+ sectionPosition: {
56
+ mobile: {
57
+ row: "auto/auto",
58
+ column: "1/1",
59
+ justify: "center",
60
+ },
61
+ },
62
+ },
63
+ {
64
+ component: "SponsoredLabel",
65
+ sectionPosition: {
66
+ mobile: {
67
+ row: "auto/auto",
68
+ column: "1/1",
69
+ justify: "left",
70
+ placeholderHeight: defaultThemeStorefront_1.spacing.sm,
71
+ },
72
+ },
73
+ },
74
+ ],
75
+ },
76
+ cardFloatIcons: {
77
+ sectionPosition: {
78
+ mobile: {
79
+ row: "1/3",
80
+ column: "2/3",
81
+ justify: "right",
82
+ align: "start",
83
+ },
84
+ tablet: {
85
+ row: "1/3",
86
+ column: "2/3",
87
+ justify: "right",
88
+ align: "start",
89
+ },
90
+ },
91
+ children: [
92
+ {
93
+ component: "FavoritesButton",
94
+ sectionPosition: {
95
+ mobile: {
96
+ row: "auto/auto",
97
+ column: "1/1",
98
+ justify: "center",
99
+ align: "center",
100
+ },
101
+ },
102
+ },
103
+ {
104
+ component: "ProductAttributes",
105
+ sectionPosition: {
106
+ mobile: {
107
+ row: "auto/auto",
108
+ column: "1/1",
109
+ gridGap: defaultThemeStorefront_1.spacing.xxs,
110
+ justify: "center",
111
+ align: "center",
112
+ },
113
+ },
114
+ },
115
+ ],
116
+ },
117
+ cardCharges: {
118
+ sectionPosition: {
119
+ mobile: {
120
+ row: "3/3",
121
+ column: "1/3",
122
+ align: "start",
123
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
124
+ },
125
+ tablet: {
126
+ row: "3/3",
127
+ column: "1/3",
128
+ align: "start",
129
+ gridGap: defaultThemeStorefront_1.spacing.xxss,
130
+ },
131
+ },
132
+ children: [
133
+ {
134
+ component: "ProductPrice",
135
+ sectionPosition: {
136
+ mobile: {
137
+ row: "auto/auto",
138
+ column: "1/1",
139
+ },
140
+ },
141
+ },
142
+ {
143
+ component: "ProductUnitPrice",
144
+ sectionPosition: {
145
+ mobile: {
146
+ row: "auto/auto",
147
+ column: "2/2",
148
+ justify: "right",
149
+ align: "center",
150
+ },
151
+ },
152
+ },
153
+ {
154
+ component: "ProductWasPrice",
155
+ sectionPosition: {
156
+ mobile: {
157
+ row: "auto/auto",
158
+ column: "1/1",
159
+ },
160
+ },
161
+ },
162
+ {
163
+ component: "ProductPriceLoyalty",
164
+ sectionPosition: {
165
+ mobile: {
166
+ row: "auto/auto",
167
+ column: "1/3",
168
+ },
169
+ },
170
+ },
171
+ {
172
+ component: "ProductName",
173
+ sectionPosition: {
174
+ mobile: {
175
+ row: "auto/auto",
176
+ column: "1/3",
177
+ },
178
+ },
179
+ },
180
+ {
181
+ component: "OfferValidMessage",
182
+ sectionPosition: {
183
+ mobile: {
184
+ row: "auto/auto",
185
+ column: "1/3",
186
+ },
187
+ },
188
+ },
189
+ {
190
+ component: "ProductWeightBased",
191
+ sectionPosition: {
192
+ mobile: {
193
+ row: "auto/auto",
194
+ column: "1/3",
195
+ },
196
+ },
197
+ },
198
+ ],
199
+ },
200
+ cardLabels: {
201
+ sectionPosition: {
202
+ mobile: {
203
+ row: "4/4",
204
+ column: "1/3",
205
+ align: "end",
206
+ gridGap: "".concat(defaultThemeStorefront_1.spacing.xs, " 0"),
207
+ wrapContent: true,
208
+ },
209
+ tablet: {
210
+ row: "4/4",
211
+ column: "1/3",
212
+ align: "end",
213
+ gridGap: "".concat(defaultThemeStorefront_1.spacing.xs, " 0"),
214
+ wrapContent: true,
215
+ },
216
+ },
217
+ children: [
218
+ {
219
+ component: "ShoppingRuleLabels",
220
+ sectionPosition: {
221
+ mobile: { row: "auto/auto", column: "auto/auto" },
222
+ },
223
+ },
224
+ ],
225
+ },
226
+ cardActions: {
227
+ sectionPosition: {
228
+ mobile: {
229
+ row: "5/5",
230
+ column: "1/3",
231
+ align: "end",
232
+ gridGap: defaultThemeStorefront_1.spacing.xs,
233
+ },
234
+ tablet: {
235
+ row: "5/5",
236
+ column: "1/3",
237
+ align: "end",
238
+ gridGap: defaultThemeStorefront_1.spacing.xs,
239
+ },
240
+ },
241
+ children: [
242
+ {
243
+ component: "ProductCoupons",
244
+ sectionPosition: {
245
+ mobile: {
246
+ row: "auto/auto",
247
+ column: "auto/auto",
248
+ },
249
+ },
250
+ },
251
+ ],
252
+ },
253
+ cardWrappedActions: {
254
+ sectionPosition: {
255
+ mobile: {
256
+ row: "6/6",
257
+ column: "1/3",
258
+ gridGap: defaultThemeStorefront_1.spacing.xs,
259
+ },
260
+ },
261
+ children: [
262
+ {
263
+ component: "ViewDealButton",
264
+ sectionPosition: {
265
+ mobile: {
266
+ row: "auto/auto",
267
+ column: "auto/auto",
268
+ },
269
+ },
270
+ },
271
+ {
272
+ component: "AddToCartButton",
273
+ sectionPosition: {
274
+ mobile: {
275
+ row: "auto/auto",
276
+ column: "auto/auto",
277
+ },
278
+ },
279
+ },
280
+ ],
281
+ },
282
+ };
283
+ exports.default = CarouselCards;
@@ -0,0 +1,3 @@
1
+ import { ILayoutInterface } from '../../template.interfaces';
2
+ declare const FlyerCard: ILayoutInterface;
3
+ export default FlyerCard;
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var FlyerCard = {
4
+ image: {
5
+ sectionPosition: {
6
+ mobile: {
7
+ row: '1/3',
8
+ column: '1/2',
9
+ align: 'start'
10
+ }
11
+ },
12
+ children: [
13
+ {
14
+ component: 'ProductImage',
15
+ sectionPosition: {
16
+ mobile: {
17
+ row: 'auto/auto',
18
+ column: '1/1',
19
+ justify: 'left'
20
+ }
21
+ }
22
+ }
23
+ ]
24
+ },
25
+ topSection: {
26
+ sectionPosition: {
27
+ mobile: {
28
+ row: '1/2',
29
+ column: '2/4',
30
+ align: 'start'
31
+ }
32
+ },
33
+ children: [
34
+ {
35
+ component: 'ProductName',
36
+ sectionPosition: {
37
+ mobile: {
38
+ row: 'auto/auto',
39
+ column: '1/2',
40
+ justify: 'left'
41
+ }
42
+ }
43
+ },
44
+ {
45
+ component: 'FavoritesButton',
46
+ sectionPosition: {
47
+ mobile: {
48
+ row: 'auto/auto',
49
+ column: '2/3',
50
+ justify: 'right'
51
+ }
52
+ }
53
+ }
54
+ ]
55
+ },
56
+ bottomSection: {
57
+ sectionPosition: {
58
+ mobile: {
59
+ row: 'auto/auto',
60
+ column: '2/3',
61
+ align: 'start',
62
+ wrapContent: true,
63
+ gridGap: '8px'
64
+ }
65
+ },
66
+ children: [
67
+ {
68
+ component: 'ProductPrice',
69
+ sectionPosition: {
70
+ mobile: {
71
+ row: 'auto/auto',
72
+ column: '1/2',
73
+ justify: 'left',
74
+ align: 'center'
75
+ }
76
+ }
77
+ },
78
+ {
79
+ component: 'ProductWasPrice',
80
+ sectionPosition: {
81
+ mobile: {
82
+ row: 'auto/auto',
83
+ column: '2/3',
84
+ justify: 'left',
85
+ align: 'center'
86
+ }
87
+ }
88
+ }
89
+ ]
90
+ },
91
+ actionSection: {
92
+ sectionPosition: {
93
+ mobile: {
94
+ row: 'auto/auto',
95
+ column: '3/4',
96
+ align: 'start'
97
+ }
98
+ },
99
+ children: [
100
+ {
101
+ component: 'AddToCartButton',
102
+ sectionPosition: {
103
+ mobile: {
104
+ row: 'auto/auto',
105
+ column: '3/4',
106
+ justify: 'right',
107
+ align: 'center'
108
+ }
109
+ }
110
+ }
111
+ ]
112
+ }
113
+ };
114
+ exports.default = FlyerCard;
@@ -0,0 +1,3 @@
1
+ import { ILayoutInterface } from "../../template.interfaces";
2
+ declare const FlyerCardDetailed: ILayoutInterface;
3
+ export default FlyerCardDetailed;