@sc-360-v2/storefront-cms-library 0.3.3 → 0.3.5
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/dist/builder.js +1 -1
- package/dist/bundleDetails.scss +45 -20
- package/dist/button copy.scss +275 -0
- package/dist/button.scss +73 -196
- package/dist/checkout.scss +1 -2
- package/dist/dropdownTemplate.scss +11 -0
- package/dist/layouter-pro-item.scss +2 -1
- package/dist/layouter-pro.scss +7 -0
- package/dist/product-actions copy.scss +2783 -0
- package/dist/product-actions.scss +1912 -2640
- package/dist/product-options.scss +144 -19
- package/dist/types/builder/elements/filter-results/index.d.ts +27 -0
- package/dist/types/builder/enums/index.d.ts +1 -0
- package/dist/types/builder/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/common.d.ts +1 -0
- package/dist/types/builder/tools/element-edit/filterResults.d.ts +140 -0
- package/dist/types/builder/tools/element-edit/filters.d.ts +46 -1
- package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +5 -11
- package/dist/types/builder/tools/element-edit/productActions.d.ts +3 -2
- package/dist/types/global/types.d.ts +1 -0
- package/dist/variant-picker.scss +174 -52
- package/package.json +1 -1
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
var(--_ctm-tab-dn-on-ve-se-hr-se-br-rs, var(--_ctm-dn-on-ve-se-hr-se-br-rs))
|
|
166
166
|
);
|
|
167
167
|
|
|
168
|
-
//
|
|
168
|
+
// for shadow
|
|
169
169
|
--_sf-hr-sw-ae: var(
|
|
170
170
|
--_ctm-mob-dn-on-ve-se-hr-se-sw-ae,
|
|
171
171
|
var(--_ctm-tab-dn-on-ve-se-hr-se-sw-ae, var(--_ctm-dn-on-ve-se-hr-se-sw-ae))
|
|
@@ -182,6 +182,46 @@
|
|
|
182
182
|
--_ctm-mob-dn-on-ve-se-hr-se-sw-cr,
|
|
183
183
|
var(--_ctm-tab-dn-on-ve-se-hr-se-sw-cr, var(--_ctm-dn-on-ve-se-hr-se-sw-cr))
|
|
184
184
|
);
|
|
185
|
+
|
|
186
|
+
// for font
|
|
187
|
+
|
|
188
|
+
--_sf-hr-cr: var(
|
|
189
|
+
--_ctm-mob-dn-on-ve-se-hr-se-cr,
|
|
190
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-cr, var(--_ctm-dn-on-ve-se-hr-se-cr))
|
|
191
|
+
);
|
|
192
|
+
--_sf-hr-ft-fy: var(
|
|
193
|
+
--_ctm-mob-dn-on-ve-se-hr-se-ft-fy,
|
|
194
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-ft-fy, var(--_ctm-dn-on-ve-se-hr-se-ft-fy))
|
|
195
|
+
);
|
|
196
|
+
--_sf-hr-ft-se: var(
|
|
197
|
+
--_ctm-mob-dn-on-ve-se-hr-se-ft-se,
|
|
198
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-ft-se, var(--_ctm-dn-on-ve-se-hr-se-ft-se))
|
|
199
|
+
);
|
|
200
|
+
--_sf-hr-ft-wt: var(
|
|
201
|
+
--_ctm-mob-dn-on-ve-se-hr-se-ft-wt,
|
|
202
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-ft-wt, var(--_ctm-dn-on-ve-se-hr-se-ft-wt))
|
|
203
|
+
);
|
|
204
|
+
--_sf-hr-ft-se-ic: var(
|
|
205
|
+
--_ctm-mob-dn-on-ve-se-hr-se-ft-se-ic,
|
|
206
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-ft-se-ic, var(--_ctm-dn-on-ve-se-hr-se-ft-se-ic))
|
|
207
|
+
);
|
|
208
|
+
--_sf-hr-tt-an: var(
|
|
209
|
+
--_ctm-mob-dn-on-ve-se-hr-se-tt-an,
|
|
210
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-tt-an, var(--_ctm-dn-on-ve-se-hr-se-tt-an))
|
|
211
|
+
);
|
|
212
|
+
--_sf-hr-lr-sg: var(
|
|
213
|
+
--_ctm-mob-dn-on-ve-se-hr-se-lr-sg,
|
|
214
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-lr-sg, var(--_ctm-dn-on-ve-se-hr-se-lr-sg))
|
|
215
|
+
);
|
|
216
|
+
--_sf-hr-le-ht: var(
|
|
217
|
+
--_ctm-mob-dn-on-ve-se-hr-se-le-ht,
|
|
218
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-le-ht, var(--_ctm-dn-on-ve-se-hr-se-le-ht))
|
|
219
|
+
);
|
|
220
|
+
|
|
221
|
+
--_sf-hr-ue: var(
|
|
222
|
+
--_ctm-mob-dn-on-ve-se-hr-se-ue,
|
|
223
|
+
var(--_ctm-tab-dn-on-ve-se-hr-se-ue, var(--_ctm-dn-on-ve-se-hr-se-ue))
|
|
224
|
+
);
|
|
185
225
|
}
|
|
186
226
|
.swatch__item[data-selected="true"] {
|
|
187
227
|
--_sf-sd-bd-cr: var(
|
|
@@ -217,6 +257,46 @@
|
|
|
217
257
|
--_ctm-mob-dn-on-ve-se-sd-se-sw-cr,
|
|
218
258
|
var(--_ctm-tab-dn-on-ve-se-sd-se-sw-cr, var(--_ctm-dn-on-ve-se-sd-se-sw-cr))
|
|
219
259
|
);
|
|
260
|
+
|
|
261
|
+
// for font
|
|
262
|
+
|
|
263
|
+
--_sf-sd-cr: var(
|
|
264
|
+
--_ctm-mob-dn-on-ve-se-sd-se-cr,
|
|
265
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-cr, var(--_ctm-dn-on-ve-se-sd-se-cr))
|
|
266
|
+
);
|
|
267
|
+
--_sf-sd-ft-fy: var(
|
|
268
|
+
--_ctm-mob-dn-on-ve-se-sd-se-ft-fy,
|
|
269
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-ft-fy, var(--_ctm-dn-on-ve-se-sd-se-ft-fy))
|
|
270
|
+
);
|
|
271
|
+
--_sf-sd-ft-se: var(
|
|
272
|
+
--_ctm-mob-dn-on-ve-se-sd-se-ft-se,
|
|
273
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-ft-se, var(--_ctm-dn-on-ve-se-sd-se-ft-se))
|
|
274
|
+
);
|
|
275
|
+
--_sf-sd-ft-wt: var(
|
|
276
|
+
--_ctm-mob-dn-on-ve-se-sd-se-ft-wt,
|
|
277
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-ft-wt, var(--_ctm-dn-on-ve-se-sd-se-ft-wt))
|
|
278
|
+
);
|
|
279
|
+
--_sf-sd-ft-se-ic: var(
|
|
280
|
+
--_ctm-mob-dn-on-ve-se-sd-se-ft-se-ic,
|
|
281
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-ft-se-ic, var(--_ctm-dn-on-ve-se-sd-se-ft-se-ic))
|
|
282
|
+
);
|
|
283
|
+
--_sf-sd-tt-an: var(
|
|
284
|
+
--_ctm-mob-dn-on-ve-se-sd-se-tt-an,
|
|
285
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-tt-an, var(--_ctm-dn-on-ve-se-sd-se-tt-an))
|
|
286
|
+
);
|
|
287
|
+
--_sf-sd-lr-sg: var(
|
|
288
|
+
--_ctm-mob-dn-on-ve-se-sd-se-lr-sg,
|
|
289
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-lr-sg, var(--_ctm-dn-on-ve-se-sd-se-lr-sg))
|
|
290
|
+
);
|
|
291
|
+
--_sf-sd-le-ht: var(
|
|
292
|
+
--_ctm-mob-dn-on-ve-se-sd-se-le-ht,
|
|
293
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-le-ht, var(--_ctm-dn-on-ve-se-sd-se-le-ht))
|
|
294
|
+
);
|
|
295
|
+
|
|
296
|
+
--_sf-sd-ue: var(
|
|
297
|
+
--_ctm-mob-dn-on-ve-se-sd-se-ue,
|
|
298
|
+
var(--_ctm-tab-dn-on-ve-se-sd-se-ue, var(--_ctm-dn-on-ve-se-sd-se-ue))
|
|
299
|
+
);
|
|
220
300
|
}
|
|
221
301
|
|
|
222
302
|
.swatch__item {
|
|
@@ -228,8 +308,16 @@
|
|
|
228
308
|
justify-content: center;
|
|
229
309
|
// border: 1px solid gray;
|
|
230
310
|
|
|
231
|
-
|
|
232
|
-
|
|
311
|
+
&[data-display-style="Swatch"] {
|
|
312
|
+
height: prepareMediaVariable(--_ctm-lt-sh-im-se);
|
|
313
|
+
width: prepareMediaVariable(--_ctm-lt-sh-im-se);
|
|
314
|
+
}
|
|
315
|
+
&[data-display-style="Single Select"] {
|
|
316
|
+
min-width: 20px;
|
|
317
|
+
min-height: 20px;
|
|
318
|
+
box-sizing: content-box;
|
|
319
|
+
}
|
|
320
|
+
|
|
233
321
|
gap: prepareMediaVariable(--_ctm-lt-im-gp);
|
|
234
322
|
padding: prepareMediaVariable(--_ctm-lt-sh-im-pg);
|
|
235
323
|
|
|
@@ -245,7 +333,8 @@
|
|
|
245
333
|
var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-sw-br))
|
|
246
334
|
var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-sw-sd))
|
|
247
335
|
var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-sw-cr));
|
|
248
|
-
& div
|
|
336
|
+
& div,
|
|
337
|
+
.product-select-image {
|
|
249
338
|
height: 100%;
|
|
250
339
|
width: 100%;
|
|
251
340
|
}
|
|
@@ -257,24 +346,27 @@
|
|
|
257
346
|
border-radius: 5px;
|
|
258
347
|
}
|
|
259
348
|
&[data-background-shape="capsule"] {
|
|
260
|
-
|
|
261
|
-
|
|
349
|
+
&:not([data-display-style="Single Select"]) {
|
|
350
|
+
--toggle-height: var(--_ctm-lt-sh-im-se);
|
|
351
|
+
--toggle-width: calc(var(--_ctm-lt-sh-im-se) * 1.5);
|
|
262
352
|
|
|
263
|
-
|
|
264
|
-
|
|
353
|
+
width: var(--toggle-width);
|
|
354
|
+
height: var(--toggle-height);
|
|
355
|
+
}
|
|
265
356
|
|
|
266
357
|
border-radius: var(--toggle-height); /* Full pill shape */
|
|
267
358
|
box-sizing: border-box;
|
|
268
359
|
}
|
|
269
360
|
&[data-swatch-shape="circle"] {
|
|
270
|
-
& div
|
|
361
|
+
& div,
|
|
362
|
+
.product-select-image {
|
|
271
363
|
border-radius: 50%;
|
|
272
|
-
width: var(--_ctm-lt-sh-im-se);
|
|
273
364
|
}
|
|
274
365
|
// border-radius: 50%;
|
|
275
366
|
}
|
|
276
367
|
&[data-swatch-shape="capsule"] {
|
|
277
|
-
& div
|
|
368
|
+
& div,
|
|
369
|
+
.product-select-image {
|
|
278
370
|
// border-radius: 50%;
|
|
279
371
|
width: 100%;
|
|
280
372
|
height: 100%;
|
|
@@ -302,14 +394,15 @@
|
|
|
302
394
|
}
|
|
303
395
|
|
|
304
396
|
&[data-swatch-shape-hover="circle"] {
|
|
305
|
-
& div
|
|
397
|
+
& div,
|
|
398
|
+
.product-select-image {
|
|
306
399
|
border-radius: 50%;
|
|
307
|
-
width: var(--_ctm-lt-sh-im-se);
|
|
308
400
|
}
|
|
309
401
|
// border-radius: 50%;
|
|
310
402
|
}
|
|
311
403
|
&[data-swatch-shape-hover="capsule"] {
|
|
312
|
-
& div
|
|
404
|
+
& div,
|
|
405
|
+
.product-select-image {
|
|
313
406
|
// border-radius: 50%;
|
|
314
407
|
width: 100%;
|
|
315
408
|
height: 100%;
|
|
@@ -317,7 +410,8 @@
|
|
|
317
410
|
}
|
|
318
411
|
}
|
|
319
412
|
&[data-swatch-shape-hover="square"] {
|
|
320
|
-
& div
|
|
413
|
+
& div,
|
|
414
|
+
.product-select-image {
|
|
321
415
|
border-radius: 5px;
|
|
322
416
|
}
|
|
323
417
|
}
|
|
@@ -353,13 +447,14 @@
|
|
|
353
447
|
box-sizing: border-box;
|
|
354
448
|
}
|
|
355
449
|
&[data-swatch-shape-selected="circle"] {
|
|
356
|
-
& div
|
|
450
|
+
& div,
|
|
451
|
+
.product-select-image {
|
|
357
452
|
border-radius: 50%;
|
|
358
|
-
width: var(--_ctm-lt-sh-im-se);
|
|
359
453
|
}
|
|
360
454
|
}
|
|
361
455
|
&[data-swatch-shape-selected="capsule"] {
|
|
362
|
-
& div
|
|
456
|
+
& div,
|
|
457
|
+
.product-select-image {
|
|
363
458
|
// border-radius: 50%;
|
|
364
459
|
width: 100%;
|
|
365
460
|
height: 100%;
|
|
@@ -367,11 +462,28 @@
|
|
|
367
462
|
}
|
|
368
463
|
}
|
|
369
464
|
&[data-swatch-shape-selected="square"] {
|
|
370
|
-
& div
|
|
465
|
+
& div,
|
|
466
|
+
.product-select-image {
|
|
371
467
|
border-radius: 5px;
|
|
372
468
|
}
|
|
373
469
|
}
|
|
374
470
|
}
|
|
471
|
+
|
|
472
|
+
.option__value__text {
|
|
473
|
+
color: var(--_sf-sd-cr, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-cr));
|
|
474
|
+
font-family: var(--_sf-sd-ft-fy, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-fy)),
|
|
475
|
+
sans-serif;
|
|
476
|
+
font-size: var(--_sf-sd-ft-se, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se));
|
|
477
|
+
font-weight: var(--_sf-sd-ft-wt, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-wt));
|
|
478
|
+
font-style: var(
|
|
479
|
+
--_sf-sd-ft-se-ic,
|
|
480
|
+
prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se-ic)
|
|
481
|
+
);
|
|
482
|
+
text-align: var(--_sf-sd-tt-an, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-tt-an));
|
|
483
|
+
letter-spacing: var(--_sf-sd-lr-sg, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-lr-sg));
|
|
484
|
+
line-height: var(--_sf-sd-le-ht, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-le-ht-dc));
|
|
485
|
+
text-decoration: var(--_sf-sd-ue, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ue));
|
|
486
|
+
}
|
|
375
487
|
}
|
|
376
488
|
|
|
377
489
|
.disabled {
|
|
@@ -410,6 +522,19 @@
|
|
|
410
522
|
}
|
|
411
523
|
}
|
|
412
524
|
|
|
525
|
+
.option__value__text {
|
|
526
|
+
color: var(--_sf-hr-cr, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-cr));
|
|
527
|
+
font-family: var(--_sf-hr-ft-fy, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-fy)),
|
|
528
|
+
sans-serif;
|
|
529
|
+
font-size: var(--_sf-hr-ft-se, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se));
|
|
530
|
+
font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-wt));
|
|
531
|
+
font-style: var(--_sf-hr-ft-se-ic, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se-ic));
|
|
532
|
+
text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-tt-an));
|
|
533
|
+
letter-spacing: var(--_sf-hr-lr-sg, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-lr-sg));
|
|
534
|
+
line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-le-ht-dc));
|
|
535
|
+
text-decoration: var(--_sf-hr-ue, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ue));
|
|
536
|
+
}
|
|
537
|
+
|
|
413
538
|
.product-select-image {
|
|
414
539
|
height: 100%;
|
|
415
540
|
width: 100%;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
2
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface CartStyleProperties extends CommonStyleProperties {
|
|
6
|
+
minHeight?: MinHeightValue;
|
|
7
|
+
height?: HeightValue;
|
|
8
|
+
minWidth?: MinWidthValue;
|
|
9
|
+
maxWidth?: MaxWidthValue;
|
|
10
|
+
maxHeight?: MaxHeightValue;
|
|
11
|
+
gridArea?: GridAreaValue;
|
|
12
|
+
boxSizing?: BoxSizingValue;
|
|
13
|
+
padding?: PaddingValue;
|
|
14
|
+
justifySelf?: JustifySelfValue;
|
|
15
|
+
alignSelf?: AlignSelfValue;
|
|
16
|
+
}
|
|
17
|
+
export declare const getDefaultStyles: () => CartStyleProperties;
|
|
18
|
+
export interface CMSFilterResultInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
19
|
+
attributes: {
|
|
20
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
21
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
22
|
+
CUSTOM: any;
|
|
23
|
+
};
|
|
24
|
+
styles: CartStyleProperties;
|
|
25
|
+
childrenStyles?: CommonStyleProperties;
|
|
26
|
+
content: string;
|
|
27
|
+
}
|
|
@@ -77,4 +77,5 @@ import * as menuV2Schema from "./elements/menu-v2/index";
|
|
|
77
77
|
import * as menuItemSchema from "./elements/menu-item/index";
|
|
78
78
|
import * as layouterProSchema from "./elements/layouter-pro/index";
|
|
79
79
|
import * as layouterProItemSchema from "./elements/layouter-pro-item/index";
|
|
80
|
-
|
|
80
|
+
import * as filterResultsSchema from "./elements/filter-results/index";
|
|
81
|
+
export { ElementEditSchema, amountEstimatorSchema, bulkVariantPickerSchema, buttonSchema, cmsTypes, codeSchema, commonFunctions, containerSchema, countdownSchema, embedSchema, enums, faqSchema, gallerySliderSchema, gridSchema, imageHotspotSchema, imageSchema, interfaces, mapSchema, paymentMethodsSchema, pickupLocationsSchema, priceSchema, productActionsSchema, productHighlightsSchema, productImageSchema, productInventorySchema, productPromotionsSchema, quantitySelectorSchema, scrollSchema, sectionSchema, shippingEstimatorSchema, socialIconsSchema, stackSchema, storeLocationsSchema, tabSchema, tableSchema, textSchema, uomSelectorSchema, variantPickerSchema, videoSChema, volumePricingSchema, lightboxSchema, cartSchema, profileSchema, productSchema, repeaterSchema, brandSchema, bundleSchema, bundleDetailsSchema, brandImageSchema, lightBoxV2Schema, searchSchema, layouterSchema, layouterItemSchema, categoryDetailsSchema, contactUsSchema, loginSchema, createFormSchema, resetPasswordSchema, searchResultsHeadingSchema, itemStockSchema, lineItemSchema, tabsV2Schema, tabsContainerSchema, marchandiserSetsSchema, formBuilder, quickLinksSchema, addOrderSchema, buyForTabsSchema, buyForTabsContainerSchema, checkoutSchema, toasterSchema, spotlightSchema, productCustomizationsSchema, iconListSchema, orderStatusSchema, menuV2Schema, menuItemSchema, layouterProSchema, layouterProItemSchema, filterResultsSchema, };
|
|
@@ -6,6 +6,7 @@ export interface CMSElementEditPopupLayoutInterface {
|
|
|
6
6
|
[key: string]: CMSIBSizeInterface | any;
|
|
7
7
|
};
|
|
8
8
|
height?: CMSIBSizeInterface;
|
|
9
|
+
minHeight?: CMSIBSizeInterface;
|
|
9
10
|
margin?: CSSPaddingValues;
|
|
10
11
|
padding?: CSSPaddingValues;
|
|
11
12
|
overflowContent?: CMSIBCommonInterface;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
|
|
2
|
+
export interface selfDesignInterface {
|
|
3
|
+
selectorKey: string;
|
|
4
|
+
deisgn: {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare enum SelectorKeysEnum {
|
|
10
|
+
LAYOUT = "layout",
|
|
11
|
+
DESIGN = "design",
|
|
12
|
+
FILTER_ICON = "cartIcon",
|
|
13
|
+
MINI_FILTER_TEXT = "miniFilterText",
|
|
14
|
+
FILTER_ITEMS_COUNT = "cartItemsCount",
|
|
15
|
+
CHIP_BUTTON = "chipButton",
|
|
16
|
+
CHIP_BUTTON_DEFAULT_STATE = "chipButtonDefault",
|
|
17
|
+
CHIP_BUTTON_HOVER_STATE = "chipButtonHover"
|
|
18
|
+
}
|
|
19
|
+
export declare const getDefaultData: () => {
|
|
20
|
+
layout: {
|
|
21
|
+
selectorKey: SelectorKeysEnum;
|
|
22
|
+
width: {
|
|
23
|
+
value: string;
|
|
24
|
+
unit: number;
|
|
25
|
+
};
|
|
26
|
+
height: {
|
|
27
|
+
value: string;
|
|
28
|
+
unit: number;
|
|
29
|
+
property?: any;
|
|
30
|
+
propertyType?: any;
|
|
31
|
+
isReadOnly?: boolean | undefined;
|
|
32
|
+
parentRef?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
margin: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
35
|
+
padding: import("../../interfaces/global").CSSPaddingValues | undefined;
|
|
36
|
+
positionType: CMSIBCommonInterface | undefined;
|
|
37
|
+
pinTo: CMSIBCommonInterface | undefined;
|
|
38
|
+
};
|
|
39
|
+
design: {
|
|
40
|
+
selectorKey: SelectorKeysEnum;
|
|
41
|
+
defaultState: {
|
|
42
|
+
selectorKey: SelectorKeysEnum;
|
|
43
|
+
backgroundColor: CMSIBCommonInterface;
|
|
44
|
+
borderColor: CMSIBCommonInterface;
|
|
45
|
+
borderStyle: CMSIBCommonInterface;
|
|
46
|
+
padding: {
|
|
47
|
+
isSepcial: boolean;
|
|
48
|
+
isAll?: boolean | undefined;
|
|
49
|
+
sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
|
|
50
|
+
property?: string | undefined;
|
|
51
|
+
iscss?: boolean | undefined;
|
|
52
|
+
propertyType?: any;
|
|
53
|
+
};
|
|
54
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
55
|
+
showBorder: CMSIBCommonInterface;
|
|
56
|
+
showShadow: CMSIBCommonInterface;
|
|
57
|
+
shadowColor: CMSIBCommonInterface;
|
|
58
|
+
blur: CMSIBSizeInterface;
|
|
59
|
+
spread: CMSIBSizeInterface;
|
|
60
|
+
angle: CMSIBSizeInterface;
|
|
61
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
62
|
+
theme: CMSIBCommonInterface;
|
|
63
|
+
font: CMSIBCommonInterface;
|
|
64
|
+
fontSize: CMSIBSizeInterface;
|
|
65
|
+
textColor: CMSIBCommonInterface;
|
|
66
|
+
bold: CMSIBCommonInterface;
|
|
67
|
+
italic: CMSIBCommonInterface;
|
|
68
|
+
linethrough: CMSIBCommonInterface;
|
|
69
|
+
underline: CMSIBCommonInterface;
|
|
70
|
+
textAlign: CMSIBCommonInterface;
|
|
71
|
+
characterSpacing: CMSIBSizeInterface;
|
|
72
|
+
lineHeight: CMSIBSizeInterface;
|
|
73
|
+
iconSize: CMSIBSizeInterface;
|
|
74
|
+
iconColor: {
|
|
75
|
+
value: {
|
|
76
|
+
rgb: {
|
|
77
|
+
r: number;
|
|
78
|
+
g: number;
|
|
79
|
+
b: number;
|
|
80
|
+
a: number;
|
|
81
|
+
};
|
|
82
|
+
hex: string;
|
|
83
|
+
};
|
|
84
|
+
property?: any;
|
|
85
|
+
propertyType?: any;
|
|
86
|
+
isReadOnly?: boolean | undefined;
|
|
87
|
+
parentRef?: string | undefined;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
hoverState: {
|
|
91
|
+
selectorKey: SelectorKeysEnum;
|
|
92
|
+
backgroundColor: CMSIBCommonInterface;
|
|
93
|
+
borderColor: CMSIBCommonInterface;
|
|
94
|
+
borderStyle: CMSIBCommonInterface;
|
|
95
|
+
borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
|
|
96
|
+
showBorder: CMSIBCommonInterface;
|
|
97
|
+
showShadow: CMSIBCommonInterface;
|
|
98
|
+
padding: {
|
|
99
|
+
isSepcial: boolean;
|
|
100
|
+
isAll?: boolean | undefined;
|
|
101
|
+
sides?: import("../../interfaces/global").PaddingSides | import("../../interfaces/global").BorderSides | undefined;
|
|
102
|
+
property?: string | undefined;
|
|
103
|
+
iscss?: boolean | undefined;
|
|
104
|
+
propertyType?: any;
|
|
105
|
+
};
|
|
106
|
+
shadowColor: CMSIBCommonInterface;
|
|
107
|
+
blur: CMSIBSizeInterface;
|
|
108
|
+
spread: CMSIBSizeInterface;
|
|
109
|
+
angle: CMSIBSizeInterface;
|
|
110
|
+
borderRadius: import("../../interfaces/global").CSSPaddingValues;
|
|
111
|
+
theme: CMSIBCommonInterface;
|
|
112
|
+
font: CMSIBCommonInterface;
|
|
113
|
+
fontSize: CMSIBSizeInterface;
|
|
114
|
+
textColor: CMSIBCommonInterface;
|
|
115
|
+
bold: CMSIBCommonInterface;
|
|
116
|
+
italic: CMSIBCommonInterface;
|
|
117
|
+
linethrough: CMSIBCommonInterface;
|
|
118
|
+
underline: CMSIBCommonInterface;
|
|
119
|
+
textAlign: CMSIBCommonInterface;
|
|
120
|
+
characterSpacing: CMSIBSizeInterface;
|
|
121
|
+
lineHeight: CMSIBSizeInterface;
|
|
122
|
+
iconSize: CMSIBSizeInterface;
|
|
123
|
+
iconColor: {
|
|
124
|
+
value: {
|
|
125
|
+
rgb: {
|
|
126
|
+
r: number;
|
|
127
|
+
g: number;
|
|
128
|
+
b: number;
|
|
129
|
+
a: number;
|
|
130
|
+
};
|
|
131
|
+
hex: string;
|
|
132
|
+
};
|
|
133
|
+
property?: any;
|
|
134
|
+
propertyType?: any;
|
|
135
|
+
isReadOnly?: boolean | undefined;
|
|
136
|
+
parentRef?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
@@ -31,6 +31,34 @@ interface selfLayoutInterface {
|
|
|
31
31
|
}
|
|
32
32
|
interface selfDesignInterface {
|
|
33
33
|
selectorKey: string;
|
|
34
|
+
filtersWidget: {
|
|
35
|
+
selectorKey: string;
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
checkboxCheckedStyle: {
|
|
39
|
+
selectorKey: string;
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
checkboxUncheckedStyle: {
|
|
43
|
+
selectorKey: string;
|
|
44
|
+
[key: string]: any;
|
|
45
|
+
};
|
|
46
|
+
clearAllText: {
|
|
47
|
+
selectorKey: string;
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
selectedItem: {
|
|
51
|
+
selectorKey: string;
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
};
|
|
54
|
+
optionLabels: {
|
|
55
|
+
selectorKey: string;
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
moreButton: {
|
|
59
|
+
selectorKey: string;
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
34
62
|
}
|
|
35
63
|
export declare enum SelectorKeysEnum {
|
|
36
64
|
LAYOUT = "layout",
|
|
@@ -41,7 +69,24 @@ export declare enum SelectorKeysEnum {
|
|
|
41
69
|
SELECTED_STATE = "selected",
|
|
42
70
|
TAB_CONTAINER = "tabContainer",
|
|
43
71
|
TAB_CONTENT_CONTAINER = "tabContentContainer",
|
|
44
|
-
TABS = "tabs"
|
|
72
|
+
TABS = "tabs",
|
|
73
|
+
FILTERS_WIDGET = "filtersWidget",
|
|
74
|
+
CHECKBOX_CHECKED_STYLE = "checkboxCheckedStyle",
|
|
75
|
+
CHECKBOX_UNCHECKED_STYLE = "checkboxUnCheckedStyle",
|
|
76
|
+
CHECKBOX_CHECKED_DEFAULT_STATE = "checkboxCheckedDefaultState",
|
|
77
|
+
CHECKBOX_CHECKED_HOVER_STATE = "checkboxCheckedHoverState",
|
|
78
|
+
CHECKBOX_UNCHECKED_DEFAULT_STATE = "checkboxUncheckedDefaultState",
|
|
79
|
+
CHECKBOX__UNCHECKED_HOVER_STATE = "checkboxUncheckedHoverState",
|
|
80
|
+
CLEAR_ALL_BUTTON = "clearAllText",
|
|
81
|
+
CHIP_BUTTON = "selectedItem",
|
|
82
|
+
CLEAR_ALL_BUTTON_DEFAULT_STATE = "clearAllButtonDefaultState",
|
|
83
|
+
CLEAR_ALL_BUTTON_HOVER_STATE = "clearAllButtonHoverState",
|
|
84
|
+
CHIP_BUTTON_DEFAULT_STATE = "selectedItemDefaultState",
|
|
85
|
+
CHIP_BUTTON_HOVER_STATE = "selectedItemHoverState",
|
|
86
|
+
OPTION_STYLE = "optionStyle",
|
|
87
|
+
MORE_BUTTON = "moreButton",
|
|
88
|
+
MORE_BUTTON_DEFAULT_STATE = "moreButtonDefaultState",
|
|
89
|
+
MORE_BUTTON_HOVER_STATE = "moreButtonHoverState"
|
|
45
90
|
}
|
|
46
91
|
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
47
92
|
export {};
|
|
@@ -91,4 +91,5 @@ import * as menuV2 from "./menu_v2";
|
|
|
91
91
|
import * as menuItem from "./menu-item";
|
|
92
92
|
import * as layouterPro from "./layouterPro";
|
|
93
93
|
import * as layouterProItem from "./layouter-pro-item";
|
|
94
|
-
|
|
94
|
+
import * as filterResults from "./filterResults";
|
|
95
|
+
export { amountEstimator, bulkVariantPicker, button, code, staticText, common, container, countdown, embed, faq, gallerySlider, grid, image, imageHotspot, map, paymentMethods, pickupLocations, price, productActions, productHighlights, productImage, productInventory, productPromotions, quantitySelector, scroll, section, shippingEstimator, slideShowLayouter, social, stack, storeLocations, table, tabs, text, uomSelector, variantPicker, video, volumePricing, lightbox, cart, profile, repeater, repeaterItem, product, menu, productOptions, productDetails, category, subCategory, brand, bundle, brandImage, filters, sort, pastOrders, quotes, rfqs, lightBoxV2, allocations, search, layouter, layouterItem, categoryDetails, contactUs, login, resetPassword, breadcrumbs, iconLibrary, searchResultsHeading, itemStock, cartDetails, cartSummary, checkout, allocationDetails, line, tabsV2, tabContainer, marchandiserSets, createForm, quickLinks, addOrder, buyForWithTabs, buyForTabsContainer, toaster, spotlight, bundleDetails, productCustomizations, iconList, orderStatus, menuV2, menuItem, layouterPro, layouterProItem, filterResults, };
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { AlignItemsValue, JustifyContentValue,
|
|
2
|
-
import { CMSCSSUnitTypesEnums } from "../../enums";
|
|
1
|
+
import { AlignItemsValue, FlexDirectionValue, JustifyContentValue, LayouterProDisplayStyleType } from "../../../../components/global/types";
|
|
3
2
|
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
4
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
5
4
|
interface selfLayoutInterface {
|
|
6
5
|
selectorKey: string;
|
|
7
6
|
displayStyle: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
8
|
-
value:
|
|
7
|
+
value: LayouterProDisplayStyleType;
|
|
8
|
+
};
|
|
9
|
+
direction?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
10
|
+
value: FlexDirectionValue;
|
|
9
11
|
};
|
|
10
12
|
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
11
13
|
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
@@ -18,14 +20,6 @@ interface selfLayoutInterface {
|
|
|
18
20
|
isShow: boolean;
|
|
19
21
|
value: string | number | any;
|
|
20
22
|
};
|
|
21
|
-
minColumnWidth: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
22
|
-
value: string | number | any;
|
|
23
|
-
unit: CMSCSSUnitTypesEnums;
|
|
24
|
-
};
|
|
25
|
-
minRowHeight: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
26
|
-
value: string | number | any;
|
|
27
|
-
unit: CMSCSSUnitTypesEnums;
|
|
28
|
-
};
|
|
29
23
|
}
|
|
30
24
|
export interface selfDesignInterface {
|
|
31
25
|
selectorKey: string;
|
|
@@ -16,11 +16,12 @@ export interface ButtonLayoutInterface {
|
|
|
16
16
|
showCompareListAs: CMSIBCommonInterface;
|
|
17
17
|
addToQuote: CMSIBCommonInterface;
|
|
18
18
|
addToOrderTemplate: CMSIBCommonInterface;
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
notifyMe: CMSIBCommonInterface;
|
|
20
|
+
download: CMSIBCommonInterface;
|
|
21
21
|
displayStyle: CMSIBCommonInterface;
|
|
22
22
|
itemSpacing: CMSIBCommonInterface;
|
|
23
23
|
maxItemsToDisplay: CMSIBCommonInterface;
|
|
24
|
+
noOfItemsToShow: CMSIBCommonInterface;
|
|
24
25
|
overflowItems: CMSIBCommonInterface;
|
|
25
26
|
openItemsIn: CMSIBCommonInterface;
|
|
26
27
|
addToCartMetaData: CMSIBCommonInterface;
|
|
@@ -41,6 +41,7 @@ export type RepeaterSliderControlTypes = "Arrows & Dots" | "Arrows" | "Dots" | "
|
|
|
41
41
|
export type DeviceVisibilityByOptionsType = "HTML" | "CSS" | "NONE";
|
|
42
42
|
export type CustomEventCallback<T = any> = (data: T) => void;
|
|
43
43
|
export type LayouterDisplayStyleType = "rows" | "columns" | "slider" | "grid";
|
|
44
|
+
export type LayouterProDisplayStyleType = "flex-box" | "grid";
|
|
44
45
|
export type SpotlightDisplayStyleType = "carousel" | "slider";
|
|
45
46
|
export type SpotlightSectionType = "single" | "multi";
|
|
46
47
|
export type SpotlightLineDisplayType = "solid" | "dots";
|