@sc-360-v2/storefront-cms-library 0.2.94 → 0.2.96

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 (37) hide show
  1. package/dist/breadcrumbs.scss +574 -269
  2. package/dist/builder.js +1 -1
  3. package/dist/bulk-order-pad.scss +0 -14
  4. package/dist/button.scss +4 -1
  5. package/dist/cart-details.scss +176 -4
  6. package/dist/cartDropdownOverlay.scss +19 -4
  7. package/dist/functions.scss +23 -0
  8. package/dist/grid.scss +21 -49
  9. package/dist/icon-list.scss +111 -0
  10. package/dist/icons.js +1 -1
  11. package/dist/index.js +1 -1
  12. package/dist/map.scss +505 -334
  13. package/dist/product-image.scss +25 -7
  14. package/dist/quantity-selector.scss +1 -0
  15. package/dist/quick-order-pad.scss +2 -2
  16. package/dist/quotes.scss +660 -62
  17. package/dist/repeater-grid-toggle.scss +58 -0
  18. package/dist/repeater.scss +181 -151
  19. package/dist/rfqs.scss +661 -62
  20. package/dist/spotlight.scss +1608 -66
  21. package/dist/types/builder/elements/form-builder/index.d.ts +32 -0
  22. package/dist/types/builder/elements/order-status/index.d.ts +27 -0
  23. package/dist/types/builder/enums/index.d.ts +8 -1
  24. package/dist/types/builder/index.d.ts +2 -1
  25. package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +16 -2
  26. package/dist/types/builder/tools/element-edit/cartDetails.d.ts +15 -5
  27. package/dist/types/builder/tools/element-edit/index.d.ts +2 -1
  28. package/dist/types/builder/tools/element-edit/map.d.ts +1 -0
  29. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +352 -0
  30. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +3 -7
  31. package/dist/types/builder/tools/element-edit/quotes.d.ts +33 -3
  32. package/dist/types/builder/tools/element-edit/rfqs.d.ts +33 -3
  33. package/dist/types/builder/tools/element-edit/shippingEstimator.d.ts +133 -10
  34. package/dist/types/icons/updated-icons.d.ts +7 -2
  35. package/dist/variant-picker.scss +1 -0
  36. package/dist/widget.scss +1 -0
  37. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { CMSIBCommonInterface } from "../../interfaces/global";
1
+ import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
2
2
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
3
  export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
4
  }
@@ -11,18 +11,48 @@ interface selfLayoutInterface {
11
11
  loopItems: CMSIBCommonInterface;
12
12
  displayScrollbar1: CMSIBCommonInterface;
13
13
  autoplay: CMSIBCommonInterface;
14
- spacingBetweenItems: CMSIBCommonInterface;
14
+ spacingBetweenItems: CMSIBSizeInterface;
15
15
  dividerBetweenItems: CMSIBCommonInterface;
16
16
  overflowControl: CMSIBCommonInterface;
17
17
  numOfItemsToLoad: CMSIBCommonInterface;
18
18
  }
19
19
  interface selfDesignInterface {
20
20
  selectorKey: string;
21
+ widgetStyle: {
22
+ selectorKey: string;
23
+ };
24
+ itemStyle: {
25
+ selectorKey: string;
26
+ };
27
+ quoteId: {
28
+ selectorKey: string;
29
+ };
30
+ raisedOn: {
31
+ selectorKey: string;
32
+ };
33
+ quoteStatus: {
34
+ selectorKey: string;
35
+ };
36
+ paginationArrows: {
37
+ selectorKey: string;
38
+ arrowIconStyle: CMSIBCommonInterface;
39
+ leftArrowIconStyle: CMSIBCommonInterface;
40
+ rightArrowIconStyle: CMSIBCommonInterface;
41
+ backgroundShape: CMSIBCommonInterface;
42
+ arrowSize: CMSIBCommonInterface;
43
+ arrowColor: CMSIBCommonInterface;
44
+ };
21
45
  }
22
46
  export declare enum SelectorKeysEnum {
23
47
  LAYOUT = "layout",
24
48
  CONTENT = "content",
25
- DESIGN = "design"
49
+ DESIGN = "design",
50
+ WIDGET_STYLE = "widgetStyle",
51
+ ITEM_STYLE = "itemStyle",
52
+ QUOTE_ID = "quoteId",
53
+ RAISED_ON = "raisedOn",
54
+ QUOTE_STATUS = "quoteStatus",
55
+ PAGINATION_ARROWS = "pagination-arrows"
26
56
  }
27
57
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
28
58
  export {};
@@ -1,4 +1,4 @@
1
- import { CMSIBCommonInterface } from "../../interfaces/global";
1
+ import { CMSIBCommonInterface, CMSIBSizeInterface } from "../../interfaces/global";
2
2
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
3
  export interface SectionEditPopupInterface extends CMSElementEditPopupInterface {
4
4
  }
@@ -11,18 +11,48 @@ interface selfLayoutInterface {
11
11
  loopItems: CMSIBCommonInterface;
12
12
  displayScrollbar1: CMSIBCommonInterface;
13
13
  autoplay: CMSIBCommonInterface;
14
- spacingBetweenItems: CMSIBCommonInterface;
14
+ spacingBetweenItems: CMSIBSizeInterface;
15
15
  dividerBetweenItems: CMSIBCommonInterface;
16
16
  overflowControl: CMSIBCommonInterface;
17
17
  numOfItemsToLoad: CMSIBCommonInterface;
18
18
  }
19
19
  interface selfDesignInterface {
20
20
  selectorKey: string;
21
+ widgetStyle: {
22
+ selectorKey: string;
23
+ };
24
+ itemStyle: {
25
+ selectorKey: string;
26
+ };
27
+ rfqId: {
28
+ selectorKey: string;
29
+ };
30
+ raisedOn: {
31
+ selectorKey: string;
32
+ };
33
+ rfqStatus: {
34
+ selectorKey: string;
35
+ };
36
+ paginationArrows: {
37
+ selectorKey: string;
38
+ arrowIconStyle: CMSIBCommonInterface;
39
+ leftArrowIconStyle: CMSIBCommonInterface;
40
+ rightArrowIconStyle: CMSIBCommonInterface;
41
+ backgroundShape: CMSIBCommonInterface;
42
+ arrowSize: CMSIBCommonInterface;
43
+ arrowColor: CMSIBCommonInterface;
44
+ };
21
45
  }
22
46
  export declare enum SelectorKeysEnum {
23
47
  LAYOUT = "layout",
24
48
  CONTENT = "content",
25
- DESIGN = "design"
49
+ DESIGN = "design",
50
+ WIDGET_STYLE = "widgetStyle",
51
+ ITEM_STYLE = "itemStyle",
52
+ RFQ_ID = "rfqId",
53
+ RAISED_ON = "raisedOn",
54
+ RFQ_STATUS = "rfqStatus",
55
+ PAGINATION_ARROWS = "pagination-arrows"
26
56
  }
27
57
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
28
58
  export {};
@@ -1,15 +1,138 @@
1
- import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
2
- interface selfLayoutInterface {
3
- selectorKey: string;
4
- }
5
- interface selfDesignInterface {
6
- selectorKey: string;
7
- }
1
+ import { CMSElementEditTypes } from "../../enums";
2
+ import { CMSIBCommonInterface } from "../../interfaces/global";
8
3
  export declare enum ShippingEstimatorSelectorKeysEnum {
9
4
  LAYOUT = "layout",
10
5
  CONTENT = "content",
11
6
  DESIGN = "design",
12
- DATA_CONNECTOR = "dataConnector"
7
+ DATA_CONNECTOR = "dataConnector",
8
+ DYNAMIC_TITLE_STYLE = "dynamicTitleStyle",
9
+ STATIC_TEXT_STYLE = "staticTextStyle"
13
10
  }
14
- export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
- export {};
11
+ export declare const getDefaultData: () => {
12
+ layout: {
13
+ selectorKey: ShippingEstimatorSelectorKeysEnum;
14
+ width: {
15
+ value: string;
16
+ unit: number;
17
+ };
18
+ height: {
19
+ value: string;
20
+ unit: number;
21
+ property?: any;
22
+ propertyType?: any;
23
+ isReadOnly?: boolean | undefined;
24
+ parentRef?: string | undefined;
25
+ };
26
+ margin: import("../../interfaces/global").CSSPaddingValues | undefined;
27
+ padding: import("../../interfaces/global").CSSPaddingValues | undefined;
28
+ positionType: CMSIBCommonInterface | undefined;
29
+ pinTo: CMSIBCommonInterface | undefined;
30
+ overflowContent: CMSIBCommonInterface | undefined;
31
+ scrollDirection: CMSIBCommonInterface | undefined;
32
+ displayScrollbar: CMSIBCommonInterface | undefined;
33
+ };
34
+ design: {
35
+ selectorKey: ShippingEstimatorSelectorKeysEnum;
36
+ theme: CMSIBCommonInterface;
37
+ font: CMSIBCommonInterface;
38
+ fontSize: import("../../interfaces/global").CMSIBSizeInterface;
39
+ textColor: CMSIBCommonInterface;
40
+ bold: CMSIBCommonInterface;
41
+ italic: CMSIBCommonInterface;
42
+ linethrough: CMSIBCommonInterface;
43
+ underline: CMSIBCommonInterface;
44
+ textAlign: CMSIBCommonInterface;
45
+ characterSpacing: import("../../interfaces/global").CMSIBSizeInterface;
46
+ lineHeight: import("../../interfaces/global").CMSIBSizeInterface;
47
+ themeDesc: CMSIBCommonInterface;
48
+ fontDesc: CMSIBCommonInterface;
49
+ fontSizeDesc: import("../../interfaces/global").CMSIBSizeInterface;
50
+ textColorDesc: CMSIBCommonInterface;
51
+ boldDesc: CMSIBCommonInterface;
52
+ italicDesc: CMSIBCommonInterface;
53
+ linethroughDesc: CMSIBCommonInterface;
54
+ underlineDesc: CMSIBCommonInterface;
55
+ textAlignDesc: CMSIBCommonInterface;
56
+ characterSpacingDesc: import("../../interfaces/global").CMSIBSizeInterface | undefined;
57
+ lineHeightDesc: import("../../interfaces/global").CMSIBSizeInterface;
58
+ };
59
+ content: {
60
+ selectorKey: ShippingEstimatorSelectorKeysEnum;
61
+ source: {
62
+ value: string;
63
+ property: string;
64
+ propertyType: CMSElementEditTypes;
65
+ };
66
+ orderBefore: {
67
+ value: boolean;
68
+ property: string;
69
+ propertyType: CMSElementEditTypes;
70
+ };
71
+ orderBeforeTime: {
72
+ value: string;
73
+ property: string;
74
+ propertyType: CMSElementEditTypes;
75
+ unit: number;
76
+ };
77
+ orderBeforeDisplayTime: {
78
+ value: string;
79
+ property: string;
80
+ propertyType: CMSElementEditTypes;
81
+ };
82
+ deliveryBefore: {
83
+ value: boolean;
84
+ property: string;
85
+ propertyType: CMSElementEditTypes;
86
+ };
87
+ deliveryEndsBefore: {
88
+ value: string;
89
+ property: string;
90
+ unit: number;
91
+ propertyType: CMSElementEditTypes;
92
+ };
93
+ deliveryBeforeDisplayTime: {
94
+ value: string;
95
+ property: string;
96
+ propertyType: CMSElementEditTypes;
97
+ };
98
+ deliveryStartingDate: {
99
+ value: boolean;
100
+ property: string;
101
+ propertyType: CMSElementEditTypes;
102
+ };
103
+ deliveryStartsAfter: {
104
+ value: string;
105
+ property: string;
106
+ unit: number;
107
+ propertyType: CMSElementEditTypes;
108
+ };
109
+ deliveryStartingDateDisplayTime: {
110
+ value: string;
111
+ property: string;
112
+ propertyType: CMSElementEditTypes;
113
+ };
114
+ configureMessage: {
115
+ value: string;
116
+ property: string;
117
+ propertyType: CMSElementEditTypes;
118
+ };
119
+ };
120
+ dataConnector: {
121
+ selectorKey: ShippingEstimatorSelectorKeysEnum;
122
+ dataConnector: {
123
+ value: {
124
+ isConnected: boolean;
125
+ key: null;
126
+ url: null;
127
+ enum: null;
128
+ dataSource: string;
129
+ childSource: string;
130
+ keyMappings: {
131
+ text: string;
132
+ };
133
+ };
134
+ property: string;
135
+ propertyType: CMSElementEditTypes;
136
+ };
137
+ };
138
+ };
@@ -1,5 +1,10 @@
1
- declare const SVGLibrary: {
1
+ declare const SVGLibrary: ({
2
2
  name: string;
3
3
  code: string;
4
- }[];
4
+ svg?: undefined;
5
+ } | {
6
+ name: string;
7
+ svg: string;
8
+ code?: undefined;
9
+ })[];
5
10
  export default SVGLibrary;
@@ -88,6 +88,7 @@ $minWidth: 70px;
88
88
  flex-direction: column;
89
89
  gap: var(--_ctm-mob-lt-im-sg, var(--_ctm-tab-lt-im-sg, var(--_ctm-lt-im-sg)));
90
90
  padding: var(--_ctm-mob-lt-pg, var(--_ctm-tab-lt-pg, var(--_ctm-lt-pg)));
91
+ white-space: nowrap;
91
92
 
92
93
  .standard_wrapper {
93
94
  // Select Colors
package/dist/widget.scss CHANGED
@@ -99,3 +99,4 @@
99
99
  @use "./quick-order-pad.scss";
100
100
  @use "./product-customizations.scss";
101
101
  @use "./bulk-order-pad.scss";
102
+ @use "./icon-list.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.2.94",
3
+ "version": "0.2.96",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {