@sc-360-v2/storefront-cms-library 0.3.5 → 0.3.8
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/builder.js.LICENSE.txt +1 -1
- package/dist/bulk-order-pad.scss +13 -8
- package/dist/button copy.scss +2 -1
- package/dist/checkout.scss +141 -16
- package/dist/common-element.scss +6 -0
- package/dist/confirmationModal.scss +79 -0
- package/dist/dropdownTemplate.scss +71 -8
- package/dist/employee-bulk-order.scss +547 -0
- package/dist/fb-dropdown.scss +124 -0
- package/dist/filter-results.scss +324 -0
- package/dist/filters.scss +1324 -31
- package/dist/form-preview.scss +163 -108
- package/dist/functions.js +1 -1
- package/dist/globals.scss +6 -0
- package/dist/icon-list.scss +11 -11
- package/dist/icons.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layouter-pro-item.scss +6 -0
- package/dist/layouter-pro.scss +30 -2
- package/dist/menu-v2.scss +5 -2
- package/dist/modal.scss +13 -6
- package/dist/past-orders.scss +770 -26
- package/dist/product-actions.scss +254 -393
- package/dist/product-basic-elements.scss +12 -12
- package/dist/product-options.scss +73 -46
- package/dist/quotes.scss +1 -0
- package/dist/repeater.scss +5 -2
- package/dist/text-temp-v2.scss +2 -2
- package/dist/toggle-button.scss +32 -0
- package/dist/types/builder/constants/data-connectors.d.ts +55 -0
- package/dist/types/builder/elements/form-builder/index.d.ts +15 -0
- package/dist/types/builder/elements/product-sizechart/index.d.ts +26 -0
- package/dist/types/builder/elements/user-elements/index.d.ts +30 -0
- package/dist/types/builder/enums/data-connectors.d.ts +21 -0
- package/dist/types/builder/enums/index.d.ts +5 -1
- package/dist/types/builder/index.d.ts +4 -1
- package/dist/types/builder/tools/element-edit/common.d.ts +8 -0
- package/dist/types/builder/tools/element-edit/index.d.ts +3 -1
- package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +14 -1
- package/dist/types/builder/tools/element-edit/layouterPro.d.ts +9 -2
- package/dist/types/builder/tools/element-edit/pastOrders.d.ts +61 -1
- package/dist/types/builder/tools/element-edit/productActions.d.ts +100 -1
- package/dist/types/builder/tools/element-edit/productSizeChart.d.ts +98 -0
- package/dist/types/builder/tools/element-edit/profile.d.ts +26 -2
- package/dist/types/builder/tools/element-edit/quantitySelector.d.ts +16 -2
- package/dist/types/builder/tools/element-edit/userElements.d.ts +555 -0
- package/dist/types/global/types.d.ts +2 -1
- package/dist/user-elements.scss +1375 -0
- package/dist/variant-picker.scss +132 -84
- package/dist/widget.scss +5 -0
- package/package.json +5 -1
|
@@ -112,8 +112,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
112
112
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
113
113
|
// );
|
|
114
114
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
115
|
-
font-family:
|
|
116
|
-
sans-serif;
|
|
115
|
+
font-family:
|
|
116
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
117
117
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
118
118
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
119
119
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -241,8 +241,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
241
241
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
242
242
|
// );
|
|
243
243
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
244
|
-
font-family:
|
|
245
|
-
sans-serif;
|
|
244
|
+
font-family:
|
|
245
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
246
246
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
247
247
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
248
248
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -361,8 +361,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
361
361
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
362
362
|
// );
|
|
363
363
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
364
|
-
font-family:
|
|
365
|
-
sans-serif;
|
|
364
|
+
font-family:
|
|
365
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
366
366
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
367
367
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
368
368
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -481,8 +481,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
481
481
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
482
482
|
// );
|
|
483
483
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
484
|
-
font-family:
|
|
485
|
-
sans-serif;
|
|
484
|
+
font-family:
|
|
485
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
486
486
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
487
487
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
488
488
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -601,8 +601,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
601
601
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
602
602
|
// );
|
|
603
603
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
604
|
-
font-family:
|
|
605
|
-
sans-serif;
|
|
604
|
+
font-family:
|
|
605
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
606
606
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
607
607
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
608
608
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -723,8 +723,8 @@ $overflowSelector: ".flex__overflow";
|
|
|
723
723
|
// var(--_ctm-mob-dn-sw-cr, var(--_ctm-tab-dn-sw-cr, var(--_ctm-dn-sw-cr)))
|
|
724
724
|
// );
|
|
725
725
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
726
|
-
font-family:
|
|
727
|
-
sans-serif;
|
|
726
|
+
font-family:
|
|
727
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
728
728
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
729
729
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
730
730
|
font-style: var(--_ctm-mob-dn-ft-se-ic, var(--_ctm-tab-dn-ft-se-ic, var(--_ctm-dn-ft-se-ic)));
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
.title {
|
|
73
73
|
margin-bottom: 4px;
|
|
74
74
|
color: var(--_ctm-mob-dn-on-te-cr, var(--_ctm-tab-dn-on-te-cr, var(--_ctm-dn-on-te-cr)));
|
|
75
|
-
font-family:
|
|
75
|
+
font-family:
|
|
76
|
+
var(
|
|
76
77
|
--_ctm-mob-dn-on-te-ft-fy,
|
|
77
78
|
var(--_ctm-tab-dn-on-te-ft-fy, var(--_ctm-dn-on-te-ft-fy))
|
|
78
79
|
),
|
|
@@ -337,6 +338,7 @@
|
|
|
337
338
|
.product-select-image {
|
|
338
339
|
height: 100%;
|
|
339
340
|
width: 100%;
|
|
341
|
+
object-fit: cover;
|
|
340
342
|
}
|
|
341
343
|
|
|
342
344
|
&[data-background-shape="circle"] {
|
|
@@ -471,8 +473,8 @@
|
|
|
471
473
|
|
|
472
474
|
.option__value__text {
|
|
473
475
|
color: var(--_sf-sd-cr, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-cr));
|
|
474
|
-
font-family:
|
|
475
|
-
sans-serif;
|
|
476
|
+
font-family:
|
|
477
|
+
var(--_sf-sd-ft-fy, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-fy)), sans-serif;
|
|
476
478
|
font-size: var(--_sf-sd-ft-se, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se));
|
|
477
479
|
font-weight: var(--_sf-sd-ft-wt, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-wt));
|
|
478
480
|
font-style: var(
|
|
@@ -484,48 +486,65 @@
|
|
|
484
486
|
line-height: var(--_sf-sd-le-ht, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-le-ht-dc));
|
|
485
487
|
text-decoration: var(--_sf-sd-ue, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ue));
|
|
486
488
|
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
&[data-swatch-type="Swatch image"] {
|
|
494
|
-
position: relative;
|
|
489
|
+
&.disabled {
|
|
490
|
+
color: #aaa;
|
|
491
|
+
background-color: #f9f9f9;
|
|
492
|
+
border-color: #ddd;
|
|
493
|
+
cursor: not-allowed;
|
|
494
|
+
opacity: 0.3;
|
|
495
495
|
overflow: hidden;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
-moz-transform: rotate(48deg);
|
|
506
|
-
top: 14px;
|
|
507
|
-
box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
|
|
508
|
-
}
|
|
509
|
-
&::before {
|
|
510
|
-
content: "";
|
|
511
|
-
width: 164%;
|
|
512
|
-
height: 1px;
|
|
513
|
-
position: absolute;
|
|
514
|
-
background: #f00;
|
|
515
|
-
left: -14px;
|
|
516
|
-
transform: rotate(-48deg);
|
|
517
|
-
-webkit-transform: rotate(-48deg);
|
|
518
|
-
-moz-transform: rotate(-48deg);
|
|
519
|
-
top: 14px;
|
|
520
|
-
box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
|
|
521
|
-
}
|
|
496
|
+
position: relative;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.cross-line {
|
|
500
|
+
position: absolute;
|
|
501
|
+
inset: 0;
|
|
502
|
+
background-color: #cccccc;
|
|
503
|
+
clip-path: polygon(100% 0, 100% 1px, 0 100%, 0 96%);
|
|
504
|
+
pointer-events: none;
|
|
522
505
|
}
|
|
523
506
|
}
|
|
524
507
|
|
|
508
|
+
// .disabled {
|
|
509
|
+
// cursor: not-allowed;
|
|
510
|
+
// opacity: 0.4;
|
|
511
|
+
|
|
512
|
+
// &[data-swatch-type="Swatch image"] {
|
|
513
|
+
// position: relative;
|
|
514
|
+
// overflow: hidden;
|
|
515
|
+
// &::after {
|
|
516
|
+
// content: "";
|
|
517
|
+
// width: 172%;
|
|
518
|
+
// height: 1px;
|
|
519
|
+
// position: absolute;
|
|
520
|
+
// background: #f00;
|
|
521
|
+
// left: -14px;
|
|
522
|
+
// transform: rotate(48deg);
|
|
523
|
+
// /* -webkit-transform: rotate(48deg); */
|
|
524
|
+
// -moz-transform: rotate(48deg);
|
|
525
|
+
// top: 14px;
|
|
526
|
+
// box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
|
|
527
|
+
// }
|
|
528
|
+
// &::before {
|
|
529
|
+
// content: "";
|
|
530
|
+
// width: 164%;
|
|
531
|
+
// height: 1px;
|
|
532
|
+
// position: absolute;
|
|
533
|
+
// background: #f00;
|
|
534
|
+
// left: -14px;
|
|
535
|
+
// transform: rotate(-48deg);
|
|
536
|
+
// -webkit-transform: rotate(-48deg);
|
|
537
|
+
// -moz-transform: rotate(-48deg);
|
|
538
|
+
// top: 14px;
|
|
539
|
+
// box-shadow: 2px 0 5px rgba(255, 255, 255, 1);
|
|
540
|
+
// }
|
|
541
|
+
// }
|
|
542
|
+
// }
|
|
543
|
+
|
|
525
544
|
.option__value__text {
|
|
526
545
|
color: var(--_sf-hr-cr, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-cr));
|
|
527
|
-
font-family:
|
|
528
|
-
sans-serif;
|
|
546
|
+
font-family:
|
|
547
|
+
var(--_sf-hr-ft-fy, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-fy)), sans-serif;
|
|
529
548
|
font-size: var(--_sf-hr-ft-se, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se));
|
|
530
549
|
font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-wt));
|
|
531
550
|
font-style: var(--_sf-hr-ft-se-ic, prepareMediaVariable(--_ctm-dn-on-ve-se-dt-se-ft-se-ic));
|
|
@@ -738,7 +757,9 @@
|
|
|
738
757
|
width: 100%;
|
|
739
758
|
display: flex;
|
|
740
759
|
top: calc(
|
|
741
|
-
calc(
|
|
760
|
+
calc(
|
|
761
|
+
var(--_ctm-mob-lt-im-sg, var(--_ctm-tab-lt-im-sg, var(--_ctm-lt-im-sg))) + 8px
|
|
762
|
+
) /
|
|
742
763
|
2
|
|
743
764
|
);
|
|
744
765
|
}
|
|
@@ -763,7 +784,8 @@
|
|
|
763
784
|
--_ctm-tab-lt-dn-dy-se-dn-lt-im-sg,
|
|
764
785
|
var(--_ctm-lt-dn-dy-se-dn-lt-im-sg)
|
|
765
786
|
)
|
|
766
|
-
) /
|
|
787
|
+
) /
|
|
788
|
+
2
|
|
767
789
|
);
|
|
768
790
|
}
|
|
769
791
|
}
|
|
@@ -813,7 +835,8 @@
|
|
|
813
835
|
var(
|
|
814
836
|
--_ctm-mob-dn-pn-as-aw-se,
|
|
815
837
|
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
816
|
-
) +
|
|
838
|
+
) +
|
|
839
|
+
8px
|
|
817
840
|
)
|
|
818
841
|
);
|
|
819
842
|
}
|
|
@@ -823,7 +846,8 @@
|
|
|
823
846
|
var(
|
|
824
847
|
--_ctm-mob-dn-pn-le-le-ht,
|
|
825
848
|
var(--_ctm-tab-dn-pn-le-le-ht, var(--_ctm-dn-pn-le-le-ht))
|
|
826
|
-
) +
|
|
849
|
+
) +
|
|
850
|
+
20px
|
|
827
851
|
)
|
|
828
852
|
);
|
|
829
853
|
}
|
|
@@ -833,7 +857,8 @@
|
|
|
833
857
|
var(
|
|
834
858
|
--_ctm-mob-dn-pn-ds-dt-se,
|
|
835
859
|
var(--_ctm-tab-dn-pn-ds-dt-se, var(--_ctm-dn-pn-ds-dt-se))
|
|
836
|
-
) +
|
|
860
|
+
) +
|
|
861
|
+
20px
|
|
837
862
|
)
|
|
838
863
|
);
|
|
839
864
|
}
|
|
@@ -945,13 +970,15 @@
|
|
|
945
970
|
var(
|
|
946
971
|
--_ctm-mob-dn-pn-as-aw-se,
|
|
947
972
|
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
948
|
-
) *
|
|
973
|
+
) *
|
|
974
|
+
0.5
|
|
949
975
|
);
|
|
950
976
|
height: calc(
|
|
951
977
|
var(
|
|
952
978
|
--_ctm-mob-dn-pn-as-aw-se,
|
|
953
979
|
var(--_ctm-tab-dn-pn-as-aw-se, var(--_ctm-dn-pn-as-aw-se))
|
|
954
|
-
) *
|
|
980
|
+
) *
|
|
981
|
+
0.5
|
|
955
982
|
);
|
|
956
983
|
path {
|
|
957
984
|
stroke: var(
|
package/dist/quotes.scss
CHANGED
|
@@ -23,6 +23,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
|
|
|
23
23
|
& > div {
|
|
24
24
|
&.wrapper {
|
|
25
25
|
width: 100%;
|
|
26
|
+
padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
|
|
26
27
|
&[data-divider-type="true"] .metric_item {
|
|
27
28
|
border: 0px !important;
|
|
28
29
|
border-top: 2px solid var(--_primary-100) !important;
|
package/dist/repeater.scss
CHANGED
|
@@ -108,6 +108,7 @@ $rai: "repeater-advertise-item";
|
|
|
108
108
|
auto-fit,
|
|
109
109
|
minmax(#{prepareMediaVariable(--_ctm-rep-lt-rw-mn-ht-lt)}, 1fr)
|
|
110
110
|
);
|
|
111
|
+
width: 100%;
|
|
111
112
|
|
|
112
113
|
& > div {
|
|
113
114
|
&#{$childItemSelector} {
|
|
@@ -465,7 +466,8 @@ $rai: "repeater-advertise-item";
|
|
|
465
466
|
--_ctm-mob-rep-dn-bn-se-dt-se-cr,
|
|
466
467
|
var(--_ctm-tab-rep-dn-bn-se-dt-se-cr, var(--_ctm-rep-dn-bn-se-dt-se-cr))
|
|
467
468
|
);
|
|
468
|
-
font-family:
|
|
469
|
+
font-family:
|
|
470
|
+
var(
|
|
469
471
|
--_ctm-mob-rep-dn-bn-se-dt-se-ft-fy,
|
|
470
472
|
var(--_ctm-tab-rep-dn-bn-se-dt-se-ft-fy, var(--_ctm-rep-dn-bn-se-dt-se-ft-fy))
|
|
471
473
|
),
|
|
@@ -623,7 +625,8 @@ $rai: "repeater-advertise-item";
|
|
|
623
625
|
--_ctm-mob-rep-dn-bn-se-hr-se-cr,
|
|
624
626
|
var(--_ctm-tab-rep-dn-bn-se-hr-se-cr, var(--_ctm-rep-dn-bn-se-hr-se-cr))
|
|
625
627
|
);
|
|
626
|
-
font-family:
|
|
628
|
+
font-family:
|
|
629
|
+
var(
|
|
627
630
|
--_ctm-mob-rep-dn-bn-se-hr-se-ft-fy,
|
|
628
631
|
var(--_ctm-tab-rep-dn-bn-se-hr-se-ft-fy, var(--_ctm-rep-dn-bn-se-hr-se-ft-fy))
|
|
629
632
|
),
|
package/dist/text-temp-v2.scss
CHANGED
|
@@ -119,8 +119,8 @@ $dblclk: '[data-cms-tt-ee-dbl-clkd="true"]';
|
|
|
119
119
|
&,
|
|
120
120
|
* {
|
|
121
121
|
color: var(--_ctm-mob-dn-cr, var(--_ctm-tab-dn-cr, var(--_ctm-dn-cr)));
|
|
122
|
-
font-family:
|
|
123
|
-
sans-serif;
|
|
122
|
+
font-family:
|
|
123
|
+
var(--_ctm-mob-dn-ft-fy, var(--_ctm-tab-dn-ft-fy, var(--_ctm-dn-ft-fy))), sans-serif;
|
|
124
124
|
font-size: var(--_ctm-mob-dn-ft-se, var(--_ctm-tab-dn-ft-se, var(--_ctm-dn-ft-se)));
|
|
125
125
|
font-weight: var(--_ctm-mob-dn-ft-wt, var(--_ctm-tab-dn-ft-wt, var(--_ctm-dn-ft-wt)));
|
|
126
126
|
font-style: var(
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.toggle__button {
|
|
2
|
+
position: relative;
|
|
3
|
+
width: 36px;
|
|
4
|
+
height: 20px;
|
|
5
|
+
background-color: #d0d5dd;
|
|
6
|
+
border-radius: 12px;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
|
|
9
|
+
.toggle__slider {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: 2px;
|
|
12
|
+
left: 2px;
|
|
13
|
+
transform: translateY(0%);
|
|
14
|
+
width: 16px;
|
|
15
|
+
height: 16px;
|
|
16
|
+
background-color: #fff;
|
|
17
|
+
border-radius: 50%;
|
|
18
|
+
transition: transform 0.3s ease;
|
|
19
|
+
fill: var(--_base-white);
|
|
20
|
+
filter: drop-shadow(0px 1px 2px rgba(16, 24, 40, 0.06))
|
|
21
|
+
drop-shadow(0px 1px 3px rgba(16, 24, 40, 0.1));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.toggle__active {
|
|
25
|
+
background: #132067;
|
|
26
|
+
|
|
27
|
+
.toggle__slider {
|
|
28
|
+
top: 2px;
|
|
29
|
+
transform: translateX(16px);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ApiMethods } from "../enums/data-connectors";
|
|
2
|
+
export declare const dataConnectorApisData: {
|
|
3
|
+
PRODUST: {
|
|
4
|
+
url: string;
|
|
5
|
+
method: ApiMethods;
|
|
6
|
+
};
|
|
7
|
+
PRODUCT_BY_ID: {
|
|
8
|
+
url: string;
|
|
9
|
+
method: ApiMethods;
|
|
10
|
+
};
|
|
11
|
+
CATEGORIES: {
|
|
12
|
+
url: string;
|
|
13
|
+
method: ApiMethods;
|
|
14
|
+
};
|
|
15
|
+
CATegory_BY_ID: {
|
|
16
|
+
url: string;
|
|
17
|
+
method: ApiMethods;
|
|
18
|
+
};
|
|
19
|
+
BRANDS: {
|
|
20
|
+
url: string;
|
|
21
|
+
method: ApiMethods;
|
|
22
|
+
};
|
|
23
|
+
BRAND_BY_ID: {
|
|
24
|
+
url: string;
|
|
25
|
+
method: ApiMethods;
|
|
26
|
+
};
|
|
27
|
+
SUB_CATEGORY: {
|
|
28
|
+
url: string;
|
|
29
|
+
method: ApiMethods;
|
|
30
|
+
};
|
|
31
|
+
MARCHANDISER_SETS: {
|
|
32
|
+
url: string;
|
|
33
|
+
method: ApiMethods;
|
|
34
|
+
};
|
|
35
|
+
BUNDLES: {
|
|
36
|
+
url: string;
|
|
37
|
+
method: ApiMethods;
|
|
38
|
+
};
|
|
39
|
+
BUNLES_BY_ID: {
|
|
40
|
+
url: string;
|
|
41
|
+
method: ApiMethods;
|
|
42
|
+
};
|
|
43
|
+
BUNDLE_BY_TYPE: {
|
|
44
|
+
url: string;
|
|
45
|
+
method: ApiMethods;
|
|
46
|
+
};
|
|
47
|
+
PRODUCT_BUNDLE_DETAILS: {
|
|
48
|
+
url: string;
|
|
49
|
+
method: ApiMethods;
|
|
50
|
+
};
|
|
51
|
+
CATEGORY_BUNDLE_DETAILS: {
|
|
52
|
+
url: string;
|
|
53
|
+
method: ApiMethods;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -155,3 +155,18 @@ export declare enum FormMessageDisplay {
|
|
|
155
155
|
Custom = 1,
|
|
156
156
|
Always = 2
|
|
157
157
|
}
|
|
158
|
+
export declare enum FormRequiredFieldStyle {
|
|
159
|
+
Character = 1,
|
|
160
|
+
SVG = 2,
|
|
161
|
+
Label = 3,
|
|
162
|
+
None = 4
|
|
163
|
+
}
|
|
164
|
+
export declare enum FormSpamFilterMethod {
|
|
165
|
+
None = 0,
|
|
166
|
+
GoogleRecaptchaV2 = 2,
|
|
167
|
+
GoogleRecaptchaV3 = 3
|
|
168
|
+
}
|
|
169
|
+
export declare enum FormRequiredFieldPlacement {
|
|
170
|
+
BeforeField = 1,
|
|
171
|
+
AfterField = 2
|
|
172
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
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 ProductSizeChartStyleProperties 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: () => ProductSizeChartStyleProperties;
|
|
18
|
+
export interface CMSProductSizeChartInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
19
|
+
attributes: {
|
|
20
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
21
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
22
|
+
CUSTOM: any;
|
|
23
|
+
};
|
|
24
|
+
styles: ProductSizeChartStyleProperties;
|
|
25
|
+
childrenStyles?: CommonStyleProperties;
|
|
26
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CommonStyleProperties } from "../../../global/style-properties";
|
|
2
|
+
import { CMSHTMLAttributes } from "../../../global/attributes";
|
|
3
|
+
import { AlignSelfValue, BoxSizingValue, GlobalImageAttributes, GridAreaValue, HeightValue, ImageBuilderAttributes, JustifySelfValue, MarginValue, MaxHeightValue, MaxWidthValue, MinHeightValue, MinWidthValue, PaddingValue } from "../../../global/types";
|
|
4
|
+
import { BuilderAttributes, CMSElementInterface } from "../common";
|
|
5
|
+
export interface UserElementsStyleProperties 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
|
+
marginLeft?: MarginValue;
|
|
15
|
+
marginTop?: MarginValue;
|
|
16
|
+
marginBottom?: MarginValue;
|
|
17
|
+
marginRight?: MarginValue;
|
|
18
|
+
justifySelf?: JustifySelfValue;
|
|
19
|
+
alignSelf?: AlignSelfValue;
|
|
20
|
+
}
|
|
21
|
+
export declare const getDefaultStyles: () => UserElementsStyleProperties;
|
|
22
|
+
export interface CMSUserElementsInterface extends Omit<CMSElementInterface, "attributes"> {
|
|
23
|
+
attributes: {
|
|
24
|
+
HTML: Pick<CMSHTMLAttributes, GlobalImageAttributes>;
|
|
25
|
+
BUILDER: Pick<BuilderAttributes, ImageBuilderAttributes>;
|
|
26
|
+
CUSTOM: any;
|
|
27
|
+
};
|
|
28
|
+
styles: UserElementsStyleProperties;
|
|
29
|
+
childrenStyles?: CommonStyleProperties;
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare enum ApiMethods {
|
|
2
|
+
GET = "GET",
|
|
3
|
+
POST = "POST",
|
|
4
|
+
PUT = "PUT",
|
|
5
|
+
DELETE = "DELETE"
|
|
6
|
+
}
|
|
7
|
+
export declare enum dataConnectorapis {
|
|
8
|
+
PRODUST = "PRODUST",
|
|
9
|
+
CATEGORIES = "CATEGORIES",
|
|
10
|
+
BRANDS = "BRANDS",
|
|
11
|
+
PRODUCT_BY_ID = "PRODUCT_BY_ID",
|
|
12
|
+
CATEGORY_BY_ID = "CATegory_BY_ID",
|
|
13
|
+
BRAND_BY_ID = "BRAND_BY_ID",
|
|
14
|
+
SUB_CATEGORY = "SUB_CATEGORY",
|
|
15
|
+
MARCHANDISER_SETS = "MARCHANDISER_SETS",
|
|
16
|
+
BUNDLES = "BUNDLES",
|
|
17
|
+
BUNLES_BY_ID = "BUNLES_BY_ID",
|
|
18
|
+
BUNDLE_BY_TYPE = "BUNDLE_BY_TYPE",
|
|
19
|
+
PRODUCT_BUNDLE_DETAILS = "PRODUCT_BUNDLE_DETAILS",
|
|
20
|
+
CATEGORY_BUNDLE_DETAILS = "CATEGORY_BUNDLE_DETAILS"
|
|
21
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * as dataConnectorsEnums from "./data-connectors";
|
|
1
2
|
export declare enum CMSToolIdTypes {
|
|
2
3
|
playgroundWrapper = "playground_wrapper",
|
|
3
4
|
layers = "CMS Layers",
|
|
@@ -131,7 +132,8 @@ export declare enum CMSElementSelectors {
|
|
|
131
132
|
gridSwapBtn = "div[data-cms-tool='cms-grid-swap-btn']",
|
|
132
133
|
lightBox = "#cms_lt_bx_mn",
|
|
133
134
|
marchandiserSetsElement = "div[data-element-type='marchandiserSets']",
|
|
134
|
-
spotlightElement = "div[data-element-type='spotlight']"
|
|
135
|
+
spotlightElement = "div[data-element-type='spotlight']",
|
|
136
|
+
layouterProElement = "div[data-element-type='layouter-pro']"
|
|
135
137
|
}
|
|
136
138
|
export declare enum CMSToolAttributes {
|
|
137
139
|
id = "data-cms-tool",
|
|
@@ -317,7 +319,9 @@ export declare const CMSElementsListEnum: {
|
|
|
317
319
|
SIMPLE_LIST_ITEM: string;
|
|
318
320
|
LAYOUTER_PRO: string;
|
|
319
321
|
LAYOUTER_PRO_ITEM: string;
|
|
322
|
+
USER_ELEMENTS: string;
|
|
320
323
|
FILTER_RESULTS: string;
|
|
324
|
+
PRODUCT_SIZECHART: string;
|
|
321
325
|
};
|
|
322
326
|
export declare enum CMSResponsiveModeEnums {
|
|
323
327
|
DESKTOP = "desktop",
|
|
@@ -77,5 +77,8 @@ 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
|
+
import * as userElementsSchema from "./elements/user-elements/index";
|
|
80
81
|
import * as filterResultsSchema from "./elements/filter-results/index";
|
|
81
|
-
|
|
82
|
+
import * as productSizeChartSchema from "./elements/product-sizechart/index";
|
|
83
|
+
import * as dataConnectorContants from "./constants/data-connectors";
|
|
84
|
+
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, userElementsSchema, filterResultsSchema, productSizeChartSchema, dataConnectorContants, };
|
|
@@ -14,6 +14,14 @@ export interface CMSElementEditPopupLayoutInterface {
|
|
|
14
14
|
displayScrollbar?: CMSIBCommonInterface;
|
|
15
15
|
positionType?: CMSIBCommonInterface;
|
|
16
16
|
pinTo?: CMSIBCommonInterface;
|
|
17
|
+
dropdownOptionsSpacing?: CMSIBSizeInterface;
|
|
18
|
+
dropdownOptionsPadding?: CMSIBSizeInterface;
|
|
19
|
+
dropdownStyle?: CMSIBCommonInterface;
|
|
20
|
+
optionAndListSpacing?: CMSIBSizeInterface;
|
|
21
|
+
dropdownListItemSpacing?: CMSIBSizeInterface;
|
|
22
|
+
dropdownListItemPadding?: CMSIBSizeInterface;
|
|
23
|
+
dividerBetweenListItems?: CMSIBSizeInterface;
|
|
24
|
+
maxItemsToDisplay?: CMSIBSizeInterface;
|
|
17
25
|
}
|
|
18
26
|
export interface CMSElementEditPopupDesignInterface {
|
|
19
27
|
backgroundColor: CMSIBCommonInterface;
|
|
@@ -92,4 +92,6 @@ 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
|
-
|
|
95
|
+
import * as productSizeChart from "./productSizeChart";
|
|
96
|
+
import * as userElements from "./userElements";
|
|
97
|
+
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, productSizeChart, userElements, };
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
import { FlexSizeType, JustifyContentValue } from "../../../../components/global/types";
|
|
2
|
+
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
1
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
|
+
interface selfLayoutInterface {
|
|
5
|
+
selectorKey: string;
|
|
6
|
+
itemGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
7
|
+
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
8
|
+
value: JustifyContentValue;
|
|
9
|
+
};
|
|
10
|
+
flexSize?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
11
|
+
value: FlexSizeType;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
2
14
|
export interface selfDesignInterface {
|
|
3
15
|
selectorKey: string;
|
|
4
16
|
}
|
|
@@ -6,4 +18,5 @@ export declare enum selfSelectorKeysEnum {
|
|
|
6
18
|
LAYOUT = "layout",
|
|
7
19
|
DESIGN = "design"
|
|
8
20
|
}
|
|
9
|
-
export declare const getDefaultData: () => CMSElementEditPopupInterface<CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
21
|
+
export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
|
|
22
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlignItemsValue, FlexDirectionValue, JustifyContentValue, LayouterProDisplayStyleType } from "../../../../components/global/types";
|
|
1
|
+
import { AlignItemsValue, FlexDirectionValue, FlexWrapValue, JustifyContentValue, LayouterProDisplayStyleType, OverflowValue } from "../../../../components/global/types";
|
|
2
2
|
import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
|
|
3
3
|
import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
|
|
4
4
|
interface selfLayoutInterface {
|
|
@@ -9,7 +9,8 @@ interface selfLayoutInterface {
|
|
|
9
9
|
direction?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
10
10
|
value: FlexDirectionValue;
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
rowGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
13
|
+
columnGap: Pick<CMSIBCommonInterface, "property" | "propertyType"> & PaddingProps;
|
|
13
14
|
justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
14
15
|
value: JustifyContentValue;
|
|
15
16
|
};
|
|
@@ -20,6 +21,12 @@ interface selfLayoutInterface {
|
|
|
20
21
|
isShow: boolean;
|
|
21
22
|
value: string | number | any;
|
|
22
23
|
};
|
|
24
|
+
flexWrap?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
25
|
+
value: FlexWrapValue;
|
|
26
|
+
};
|
|
27
|
+
flexboxOverflow?: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
|
|
28
|
+
value: OverflowValue;
|
|
29
|
+
};
|
|
23
30
|
}
|
|
24
31
|
export interface selfDesignInterface {
|
|
25
32
|
selectorKey: string;
|