@sc-360-v2/storefront-cms-library 0.4.76 → 0.4.78

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 (30) hide show
  1. package/dist/allocationDetails.scss +18 -0
  2. package/dist/builder.js +1 -1
  3. package/dist/bulk-order-pad.scss +6 -0
  4. package/dist/bulk-variant-picker.scss +402 -142
  5. package/dist/bundle.scss +190 -163
  6. package/dist/bundleDetails.scss +415 -346
  7. package/dist/cart-summary.scss +0 -1
  8. package/dist/cart.scss +5 -0
  9. package/dist/gallery-slider-temp.scss +3 -0
  10. package/dist/layouter.scss +4 -16
  11. package/dist/menu-v2.scss +4 -0
  12. package/dist/product-image.scss +3 -0
  13. package/dist/quick-order-pad.scss +596 -0
  14. package/dist/repeater.scss +4 -16
  15. package/dist/scroll.scss +224 -222
  16. package/dist/types/builder/tools/element-edit/bulkVariantPicker.d.ts +0 -13
  17. package/dist/types/builder/tools/element-edit/bundle.d.ts +5 -0
  18. package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +90 -1
  19. package/dist/types/builder/tools/element-edit/cart.d.ts +2 -1
  20. package/dist/types/builder/tools/element-edit/gallery-slider.d.ts +7 -0
  21. package/dist/types/builder/tools/element-edit/mega-menu.d.ts +4 -1
  22. package/dist/types/builder/tools/element-edit/menu_v2.d.ts +4 -1
  23. package/dist/types/builder/tools/element-edit/product-image.d.ts +7 -0
  24. package/dist/types/builder/tools/element-edit/scroll.d.ts +0 -42
  25. package/dist/types/builder/tools/element-edit/userElements.d.ts +19 -7
  26. package/dist/types/builder/tools/element-edit/variantPicker.d.ts +0 -12
  27. package/dist/types/global/types.d.ts +1 -0
  28. package/dist/user-elements.scss +52 -31
  29. package/dist/variant-picker.scss +404 -179
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { CMSIBCommonInterface, PaddingProps } from "../../interfaces/global";
2
- import { AlignItemsValue, JustifyContentValue, StackDirectionType } from "../../../global/types";
2
+ import { AlignItemsValue, JustifyContentValue, StackDirectionType, SubMenuEntranceType } from "../../../global/types";
3
3
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
4
4
  interface selfLayoutInterface {
5
5
  selectorKey: string;
@@ -13,6 +13,9 @@ interface selfLayoutInterface {
13
13
  alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
14
14
  value: AlignItemsValue;
15
15
  };
16
+ submenuTrigger: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
17
+ value: SubMenuEntranceType;
18
+ };
16
19
  }
17
20
  declare enum SelectorKeysEnum {
18
21
  LAYOUT = "layout",
@@ -1,3 +1,4 @@
1
+ import { AlignItemsValue, JustifyContentValue } from "../../../../components/global/types";
1
2
  import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
2
3
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
4
  interface selfLayoutInterface {
@@ -31,6 +32,12 @@ interface selfLayoutInterface {
31
32
  sliderAndThumbnailGap: CMSIBSizeInterface;
32
33
  thumbnailFitOptions: CMSIBCommonInterface;
33
34
  thumbnailObjectPosition: CMSIBCommonInterface;
35
+ justifyContent: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
36
+ value: JustifyContentValue;
37
+ };
38
+ alignItems: Pick<CMSIBCommonInterface, "property" | "propertyType"> & {
39
+ value: AlignItemsValue;
40
+ };
34
41
  }
35
42
  export interface selfDesignInterface {
36
43
  selectorKey: string;
@@ -177,48 +177,6 @@ export declare const getDefaultData: () => {
177
177
  characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
178
178
  lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
179
179
  };
180
- item1: {
181
- selectorKey: SelectorKeysEnum;
182
- theme: CMSIBCommonInterface;
183
- font: CMSIBCommonInterface;
184
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
185
- textColor: CMSIBCommonInterface;
186
- bold: CMSIBCommonInterface;
187
- italic: CMSIBCommonInterface;
188
- linethrough: CMSIBCommonInterface;
189
- underline: CMSIBCommonInterface;
190
- textAlign: CMSIBCommonInterface;
191
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
192
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
193
- };
194
- item2: {
195
- selectorKey: SelectorKeysEnum;
196
- theme: CMSIBCommonInterface;
197
- font: CMSIBCommonInterface;
198
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
199
- textColor: CMSIBCommonInterface;
200
- bold: CMSIBCommonInterface;
201
- italic: CMSIBCommonInterface;
202
- linethrough: CMSIBCommonInterface;
203
- underline: CMSIBCommonInterface;
204
- textAlign: CMSIBCommonInterface;
205
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
206
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
207
- };
208
- item3: {
209
- selectorKey: SelectorKeysEnum;
210
- theme: CMSIBCommonInterface;
211
- font: CMSIBCommonInterface;
212
- fontSize: import("../../interfaces/global").CMSIBSizeInterface;
213
- textColor: CMSIBCommonInterface;
214
- bold: CMSIBCommonInterface;
215
- italic: CMSIBCommonInterface;
216
- linethrough: CMSIBCommonInterface;
217
- underline: CMSIBCommonInterface;
218
- textAlign: CMSIBCommonInterface;
219
- characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
220
- lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
221
- };
222
180
  };
223
181
  };
224
182
  export {};
@@ -18,6 +18,7 @@ export declare enum SelectorKeysEnum {
18
18
  QUOTA_NAME_DESIGN = "quotaNameDesign",
19
19
  QUOTA_EXPIRY_DESIGN = "quotaExpiryDesign",
20
20
  QUOTA_INVENTORY_DESIGN = "quotaInventoryDesign",
21
+ QUOTA_HIGHLIGHTED_DESIGN = "quotaHighlightedDesign",
21
22
  ALLOWANCE_DESIGN = "allowanceDesign",
22
23
  ALLOWANCE_HEADING_DESIGN = "allowanceHeadingDesign",
23
24
  ALLOWANCE_NAME_DESIGN = "allowanceNameDesign",
@@ -417,6 +418,20 @@ export declare const getDefaultData: () => {
417
418
  lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
418
419
  selectorKey: SelectorKeysEnum;
419
420
  };
421
+ quotaHighlightedDesign: {
422
+ theme: CMSIBCommonInterface;
423
+ font: CMSIBCommonInterface;
424
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
425
+ textColor: CMSIBCommonInterface;
426
+ bold: CMSIBCommonInterface;
427
+ italic: CMSIBCommonInterface;
428
+ linethrough: CMSIBCommonInterface;
429
+ underline: CMSIBCommonInterface;
430
+ textAlign: CMSIBCommonInterface;
431
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
432
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
433
+ selectorKey: SelectorKeysEnum;
434
+ };
420
435
  };
421
436
  allowanceDesign: {
422
437
  selectorKey: SelectorKeysEnum;
@@ -611,13 +626,6 @@ export declare const getDefaultData: () => {
611
626
  propertyType: CMSElementEditTypes;
612
627
  parentRef: string;
613
628
  };
614
- fontSize: {
615
- value: number;
616
- unit: number;
617
- property: string;
618
- propertyType: CMSElementEditTypes;
619
- parentRef: string;
620
- };
621
629
  textColor: {
622
630
  value: {
623
631
  hex: string;
@@ -766,6 +774,10 @@ export declare const getDefaultData: () => {
766
774
  lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
767
775
  backgroundColor: CMSIBCommonInterface;
768
776
  selectorKey: SelectorKeysEnum;
777
+ width: {
778
+ value: string;
779
+ unit: number;
780
+ };
769
781
  borderColor: CMSIBCommonInterface;
770
782
  borderStyle: CMSIBCommonInterface;
771
783
  borderPerSlide: import("../../interfaces/global").CSSPaddingValues;
@@ -37,18 +37,6 @@ interface selfLayoutInterface {
37
37
  overflowDirection: CMSIBCommonInterface;
38
38
  itemSize: CMSIBCommonInterface;
39
39
  };
40
- dropdownDisplayStyle: {
41
- selectorKey: string;
42
- dropdownOptionsSpacing: CMSIBCommonInterface;
43
- dropdownOptionsPadding: CMSIBCommonInterface;
44
- dropdownStyle: CMSIBCommonInterface;
45
- optionAndListSpacing: CMSIBCommonInterface;
46
- dropdownListItemSpacing: CMSIBCommonInterface;
47
- dropdownListItemPadding: CMSIBCommonInterface;
48
- dividerBetweenListItems: CMSIBCommonInterface;
49
- maxItemsToDisplay: CMSIBCommonInterface;
50
- overflowItems: CMSIBCommonInterface;
51
- };
52
40
  groupedOptionsDisplayStyle: {
53
41
  selectorKey: string;
54
42
  groupsDisplayStyle: CMSIBCommonInterface;
@@ -33,6 +33,7 @@ export type GlobalVideoAttributes = "src" | "poster" | "controls" | "autoplay" |
33
33
  export type CommonBuilderAttributes = "dataDivType" | "dataType" | "dataElementType" | "dataWidgetType" | "dataElementSubChild";
34
34
  export type GlobalTableAttributes = "cellPadding" | "cellSpacing" | "border" | "width" | "height" | "align" | "bgColor" | "frame" | "headers" | "rows" | "rules";
35
35
  export type StackDirectionType = "horizontal" | "vertical" | string;
36
+ export type SubMenuEntranceType = "onHover" | "onClick" | string;
36
37
  export type FlexSizeType = "none" | "shrink" | "grow" | string;
37
38
  export type ShowShubMenuType = "On Hover" | "On Click";
38
39
  export type ObjectFitValue = "fill" | "contain" | "cover" | "none" | "scale-down" | string;
@@ -590,7 +590,10 @@ $resizeActive: '[data-cms-element-resizer="true"]';
590
590
  .user_elements_quota_wrapper {
591
591
  flex-direction: row;
592
592
  align-items: center;
593
- flex-wrap: wrap;
593
+ flex-wrap: nowrap;
594
+ .quota_label_wrapper {
595
+ flex-shrink: 0;
596
+ }
594
597
  .user_elements_user_name_wrapper {
595
598
  flex-direction: row;
596
599
  white-space: nowrap;
@@ -599,6 +602,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
599
602
  flex-direction: row;
600
603
  flex-grow: 1;
601
604
  width: unset;
605
+ min-width: 0;
602
606
  }
603
607
  @media (max-width: 1024px) {
604
608
  .quote_vertical_scroll_wrapper {
@@ -642,8 +646,11 @@ $resizeActive: '[data-cms-element-resizer="true"]';
642
646
  }
643
647
  .user_elements_allowance_wrapper {
644
648
  flex-direction: row;
645
- flex-wrap: wrap;
649
+ flex-wrap: nowrap;
646
650
  align-items: center;
651
+ .allowance_label_wrapper {
652
+ flex-shrink: 0;
653
+ }
647
654
  .embla__slide:not(:last-child)::before {
648
655
  content: "";
649
656
  position: absolute;
@@ -672,6 +679,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
672
679
  .allowance_vertical_scroll_wrapper {
673
680
  width: unset;
674
681
  flex-grow: 1;
682
+ min-width: 0;
675
683
  }
676
684
  @media (max-width: 1024px) {
677
685
  .allowance_vertical_scroll_wrapper {
@@ -725,10 +733,6 @@ $resizeActive: '[data-cms-element-resizer="true"]';
725
733
  .child {
726
734
  height: 100%;
727
735
  }
728
- .child:not(:last-child) {
729
- border-bottom: 1px solid var(--_thm-cs-be-se-3);
730
- padding-bottom: calc(prepareMediaVariable(--_ctm-lt-im-sg) / 2);
731
- }
732
736
  }
733
737
  }
734
738
  }
@@ -1057,9 +1061,15 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1057
1061
  display: flex;
1058
1062
  }
1059
1063
  .hilighted {
1060
- font-size: 20px;
1061
- font-weight: 700;
1062
- color: var(--_thm-cs-be-cr-1);
1064
+ color: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-cr);
1065
+ font-family: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-ft-fy);
1066
+ font-size: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-ft-se);
1067
+ font-style: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-ft-se-ic);
1068
+ font-weight: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-ft-wt);
1069
+ line-height: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-le-ht);
1070
+ letter-spacing: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-lr-sg);
1071
+ text-align: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-tt-an);
1072
+ text-decoration: prepareMediaVariable(--_ctm-dn-qa-dn-qa-hd-dn-ue);
1063
1073
  }
1064
1074
  .quota_inventory {
1065
1075
  display: flex;
@@ -1516,6 +1526,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1516
1526
  .my_cart_icon_wrappers {
1517
1527
  position: relative;
1518
1528
  display: inline-block;
1529
+ flex-shrink: 0;
1519
1530
  width: var(
1520
1531
  --_ctm-mab-dn-ur-sy-io-dn-ct-in-in-se,
1521
1532
  var(--_ctm-tab-dn-ur-sy-io-dn-ct-in-in-se, var(--_ctm-dn-ur-sy-io-dn-ct-in-in-se))
@@ -1524,25 +1535,14 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1524
1535
  --_ctm-mob-dn-ur-sy-io-dn-ct-in-in-se,
1525
1536
  var(--_ctm-tab-dn-ur-sy-io-dn-ct-in-in-se, var(--_ctm-dn-ur-sy-io-dn-ct-in-in-se))
1526
1537
  );
1538
+ margin-right: 6px;
1527
1539
  .cart__quantity {
1528
1540
  position: absolute;
1529
1541
  top: -4px;
1530
1542
  right: -6px;
1531
- // background-color: #ffd600; /* Yellow */
1532
- // color: black;
1533
- // font-size: 12px;
1534
- // font-weight: bold;
1535
- // padding: 2px 6px;
1536
- border-radius: 6px;
1537
-
1538
- min-width: 16px;
1539
- text-align: center;
1540
- display: flex;
1541
- align-items: center;
1542
- justify-content: center;
1543
- white-space: nowrap;
1543
+ border-radius: 50px;
1544
1544
 
1545
- width: calc(
1545
+ min-width: calc(
1546
1546
  var(
1547
1547
  --_ctm-mab-dn-ur-sy-io-dn-ct-in-in-se,
1548
1548
  var(
@@ -1562,6 +1562,14 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1562
1562
  ) *
1563
1563
  0.5
1564
1564
  );
1565
+ width: auto;
1566
+ padding-inline: 4px;
1567
+ box-sizing: border-box;
1568
+ text-align: center;
1569
+ display: flex;
1570
+ align-items: center;
1571
+ justify-content: center;
1572
+ white-space: nowrap;
1565
1573
  }
1566
1574
  // .cart__quantity {
1567
1575
  // position: absolute;
@@ -1645,7 +1653,10 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1645
1653
  )
1646
1654
  );
1647
1655
  white-space: nowrap;
1648
- line-height: 0;
1656
+ line-height: 1;
1657
+ width: auto;
1658
+ padding-inline: 4px;
1659
+ box-sizing: border-box;
1649
1660
 
1650
1661
  color: var(
1651
1662
  --_ctm-mob-dn-ur-sy-io-dn-ct-ct-cr,
@@ -1696,7 +1707,6 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1696
1707
  --_ctm-mob-dn-ur-sy-io-dn-ct-ct-ue,
1697
1708
  var(--_ctm-tab-dn-ur-sy-io-dn-ct-ct-ue, var(--_ctm-dn-ur-sy-io-dn-ct-ct-ue))
1698
1709
  );
1699
- // padding: prepareMediaVariable(--_ctm-dn-ur-sy-io-dn-ct-ct-pg);
1700
1710
  }
1701
1711
  .cart__icon {
1702
1712
  display: var(--_sf-show-icon-ff, flex);
@@ -1782,9 +1792,21 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1782
1792
  height: 100%;
1783
1793
  left: unset;
1784
1794
  }
1785
- @media (max-width: 1024px) {
1795
+ @media (max-width: 768px) {
1786
1796
  .child:not(:last-child)::before {
1787
- bottom: 0;
1797
+ top: unset;
1798
+ left: 0;
1799
+ right: 0;
1800
+ bottom: calc(
1801
+ -1 *
1802
+ (
1803
+ var(
1804
+ --_ctm-mob-lt-ur-io-sy-im-sg,
1805
+ var(--_ctm-tab-lt-ur-io-sy-im-sg, var(--_ctm-lt-ur-io-sy-im-sg))
1806
+ ) /
1807
+ 2
1808
+ )
1809
+ );
1788
1810
  height: var(
1789
1811
  --_ctm-mob-dn-ur-sy-io-dn-fl-ad-oy-dr-wt,
1790
1812
  var(
@@ -1792,8 +1814,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
1792
1814
  var(--_ctm-dn-ur-sy-io-dn-fl-ad-oy-dr-wt)
1793
1815
  )
1794
1816
  );
1795
- width: 100%;
1796
- left: unset;
1817
+ width: unset;
1797
1818
  }
1798
1819
  }
1799
1820
  }
@@ -2354,7 +2375,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
2354
2375
  .language__name {
2355
2376
  // white-space: unset;
2356
2377
  white-space: nowrap !important;
2357
- width: 150px;
2378
+ width: 100%;
2358
2379
  overflow: hidden;
2359
2380
  text-overflow: ellipsis;
2360
2381
  }
@@ -2454,7 +2475,7 @@ $resizeActive: '[data-cms-element-resizer="true"]';
2454
2475
  }
2455
2476
  .est__dropdown__main {
2456
2477
  position: relative;
2457
- width: 100%;
2478
+ width: prepareMediaVariable(--_ctm-dn-dn-se-wt-se-wh);
2458
2479
  margin-top: 0px;
2459
2480
  label {
2460
2481
  font-size: 14px;