@sc-360-v2/storefront-cms-library 0.5.43 → 0.5.45

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/search.scss CHANGED
@@ -52,8 +52,15 @@
52
52
  }
53
53
 
54
54
  .search-container {
55
+ display: flex;
55
56
  width: 100%;
56
57
  height: 100%;
58
+ padding: var(--_ctm-mob-dn-sh-cr-pg, var(--_ctm-tab-dn-sh-cr-pg, var(--_ctm-dn-sh-cr-pg)));
59
+ display: flex;
60
+ gap: var(
61
+ --_ctm-mob-dn-sh-cr-im-gp,
62
+ var(--_ctm-tab-dn-sh-cr-im-gp, var(--_ctm-dn-sh-cr-im-gp))
63
+ );
57
64
  transition:
58
65
  background-color 0.2s,
59
66
  color 0.2s,
@@ -84,10 +91,232 @@
84
91
  }
85
92
  }
86
93
  }
94
+ // .btn__with__text[data-btn-name="buttonStyles"] {
95
+ .btn__with__text {
96
+ &[data-show-shadow="false"] {
97
+ --_show-shadow: none;
98
+ }
99
+ &[data-icon-position="left"] {
100
+ --_sf-fd-bn: row;
101
+ }
102
+ &[data-icon-position="right"] {
103
+ --_sf-fd-bn: row-reverse;
104
+ }
105
+ &[data-icon-position="center"] {
106
+ --_sf-fd-bn: row;
107
+ }
108
+
109
+ &:hover {
110
+ --_sf-hr-bd-cr: var(
111
+ --_ctm-mob-dn-rm-bn-hr-se-bd-cr,
112
+ var(--_ctm-tab-dn-rm-bn-hr-se-bd-cr, var(--_ctm-dn-rm-bn-hr-se-bd-cr))
113
+ );
114
+ --_sf-hr-br-cr: var(
115
+ --_ctm-mob-dn-rm-bn-hr-se-br-cr,
116
+ var(--_ctm-tab-dn-rm-bn-hr-se-br-cr, var(--_ctm-dn-rm-bn-hr-se-br-cr))
117
+ );
118
+ --_sf-hr-br-se: var(
119
+ --_ctm-mob-dn-rm-bn-hr-se-br-se,
120
+ var(--_ctm-tab-dn-rm-bn-hr-se-br-se, var(--_ctm-dn-rm-bn-hr-se-br-se))
121
+ );
122
+ --_sf-hr-br-wh: var(
123
+ --_ctm-mob-dn-rm-bn-hr-se-br-wh,
124
+ var(--_ctm-tab-dn-rm-bn-hr-se-br-wh, var(--_ctm-dn-rm-bn-hr-se-br-wh))
125
+ );
126
+ --_sf-hr-br-rs: var(
127
+ --_ctm-mob-dn-rm-bn-hr-se-br-rs,
128
+ var(--_ctm-tab-dn-rm-bn-hr-se-br-rs, var(--_ctm-dn-rm-bn-hr-se-br-rs))
129
+ );
130
+ --_sf-hr-at: var(
131
+ --_ctm-mob-dn-rm-bn-hr-se-at,
132
+ var(--_ctm-tab-dn-rm-bn-hr-se-at, var(--_ctm-dn-rm-bn-hr-se-at))
133
+ );
134
+ --_sf-hr-gp: var(
135
+ --_ctm-mob-dn-rm-bn-hr-se-gp,
136
+ var(--_ctm-tab-dn-rm-bn-hr-se-gp, var(--_ctm-dn-rm-bn-hr-se-gp))
137
+ );
138
+
139
+ // for shadow
140
+ --_sf-hr-sw-ae: var(
141
+ --_ctm-mob-dn-rm-bn-hr-se-sw-ae,
142
+ var(--_ctm-tab-dn-rm-bn-hr-se-sw-ae, var(--_ctm-dn-rm-bn-hr-se-sw-ae))
143
+ );
144
+ --_sf-hr-sw-br: var(
145
+ --_ctm-mob-dn-rm-bn-hr-se-sw-br,
146
+ var(--_ctm-tab-dn-rm-bn-hr-se-sw-br, var(--_ctm-dn-rm-bn-hr-se-sw-br))
147
+ );
148
+ --_sf-hr-sw-hr: var(
149
+ --_ctm-mob-dn-rm-bn-hr-se-sw-hr,
150
+ var(--_ctm-tab-dn-rm-bn-hr-se-sw-hr, var(--_ctm-dn-rm-bn-hr-se-sw-hr))
151
+ );
152
+ --_sf-hr-sw-cr: var(
153
+ --_ctm-mob-dn-rm-bn-hr-se-sw-cr,
154
+ var(--_ctm-tab-dn-rm-bn-hr-se-sw-cr, var(--_ctm-dn-rm-bn-hr-se-sw-cr))
155
+ );
156
+
157
+ // for font
158
+
159
+ --_sf-hr-cr: var(
160
+ --_ctm-mob-dn-rm-bn-hr-se-cr,
161
+ var(--_ctm-tab-dn-rm-bn-hr-se-cr, var(--_ctm-dn-rm-bn-hr-se-cr))
162
+ );
163
+ --_sf-hr-ft-fy: var(
164
+ --_ctm-mob-dn-rm-bn-hr-se-ft-fy,
165
+ var(--_ctm-tab-dn-rm-bn-hr-se-ft-fy, var(--_ctm-dn-rm-bn-hr-se-ft-fy))
166
+ );
167
+ --_sf-hr-ft-se: var(
168
+ --_ctm-mob-dn-rm-bn-hr-se-ft-se,
169
+ var(--_ctm-tab-dn-rm-bn-hr-se-ft-se, var(--_ctm-dn-rm-bn-hr-se-ft-se))
170
+ );
171
+ --_sf-hr-ft-wt: var(
172
+ --_ctm-mob-dn-rm-bn-hr-se-ft-wt,
173
+ var(--_ctm-tab-dn-rm-bn-hr-se-ft-wt, var(--_ctm-dn-rm-bn-hr-se-ft-wt))
174
+ );
175
+ --_sf-hr-ft-se-ic: var(
176
+ --_ctm-mob-dn-rm-bn-hr-se-ft-se-ic,
177
+ var(--_ctm-tab-dn-rm-bn-hr-se-ft-se-ic, var(--_ctm-dn-rm-bn-hr-se-ft-se-ic))
178
+ );
179
+ --_sf-hr-tt-an: var(
180
+ --_ctm-mob-dn-rm-bn-hr-se-tt-an,
181
+ var(--_ctm-tab-dn-rm-bn-hr-se-tt-an, var(--_ctm-dn-rm-bn-hr-se-tt-an))
182
+ );
183
+ --_sf-hr-lr-sg: var(
184
+ --_ctm-mob-dn-rm-bn-hr-se-lr-sg,
185
+ var(--_ctm-tab-dn-rm-bn-hr-se-lr-sg, var(--_ctm-dn-rm-bn-hr-se-lr-sg))
186
+ );
187
+ --_sf-hr-le-ht: var(
188
+ --_ctm-mob-dn-rm-bn-hr-se-le-ht,
189
+ var(--_ctm-tab-dn-rm-bn-hr-se-le-ht, var(--_ctm-dn-rm-bn-hr-se-le-ht))
190
+ );
191
+
192
+ --_sf-hr-in-se: var(
193
+ --_ctm-mob-dn-rm-bn-hr-se-in-se,
194
+ var(--_ctm-tab-dn-rm-bn-hr-se-in-se, var(--_ctm-dn-rm-bn-hr-se-in-se))
195
+ );
196
+ --_sf-hr-in-se: var(
197
+ --_ctm-mob-dn-rm-bn-hr-se-in-se,
198
+ var(--_ctm-tab-dn-rm-bn-hr-se-in-se, var(--_ctm-dn-rm-bn-hr-se-in-se))
199
+ );
200
+ --_sf-hr-in-c1: var(
201
+ --_ctm-mob-dn-rm-bn-hr-se-in-c1,
202
+ var(--_ctm-tab-dn-rm-bn-hr-se-in-c1, var(--_ctm-dn-rm-bn-hr-se-in-c1))
203
+ );
204
+ --_sf-hr-ue: var(
205
+ --_ctm-mob-dn-rm-bn-hr-se-ue,
206
+ var(--_ctm-tab-dn-rm-bn-hr-se-ue, var(--_ctm-dn-rm-bn-hr-se-ue))
207
+ );
208
+
209
+ // for pading and width
210
+ --_sf-hr-pg: var(
211
+ --_ctm-mob-dn-rm-bn-hr-pg,
212
+ var(--_ctm-tab-dn-rm-bn-hr-pg, var(--_ctm-dn-rm-bn-hr-pg))
213
+ );
214
+ --_sf-hr-wh: var(
215
+ --_ctm-mob-dn-rm-bn-hr-wh,
216
+ var(--_ctm-tab-dn-rm-bn-hr-wh, var(--_ctm-dn-rm-bn-hr-wh))
217
+ );
218
+
219
+ &[data-hover-show-shadow="false"] {
220
+ --_hover-show-shadow: none;
221
+ }
222
+ &[data-hover-show-icon="false"] {
223
+ --_hover-show-icon: none;
224
+ }
225
+ }
226
+ background-color: var(--_sf-hr-bd-cr, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-bd-cr));
227
+ white-space: nowrap;
228
+ padding: var(--_sf-hr-pg, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-pg));
229
+ width: var(--_sf-hr-wh, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-wh));
230
+ display: flex;
231
+ flex-direction: var(--_sf-fd-bn);
232
+ align-items: center;
233
+
234
+ justify-content: var(--_sf-hr-at, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-at));
235
+ gap: var(--_sf-hr-gp, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-gp));
236
+
237
+ border-radius: var(--_sf-hr-br-rs, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-br-rs));
238
+
239
+ box-shadow: var(--_sf-hr-sw-ae, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-sw-ae))
240
+ var(--_sf-hr-sw-br, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-sw-br))
241
+ var(--_sf-hr-sw-sd, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-sw-sd))
242
+ var(--_sf-hr-sw-cr, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-sw-cr));
243
+
244
+ &[data-show-border="true"] {
245
+ border-color: var(--_sf-hr-br-cr, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-br-cr));
246
+
247
+ border-style: var(--_sf-hr-br-se, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-br-se));
248
+
249
+ border-width: var(--_sf-hr-br-wh, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-br-wh));
250
+ }
251
+
252
+ .txt {
253
+ display: flex;
254
+
255
+ color: var(--_sf-hr-cr, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-cr));
256
+
257
+ font-family: var(--_sf-hr-ft-fy, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-ft-fy));
258
+
259
+ font-size: var(--_sf-hr-ft-se, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-ft-se));
260
+
261
+ font-weight: var(--_sf-hr-ft-wt, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-ft-wt));
262
+
263
+ font-style: var(--_sf-hr-ft-se-ic, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-ft-se-ic));
264
+
265
+ text-align: var(--_sf-hr-tt-an, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-tt-an));
266
+
267
+ letter-spacing: var(--_sf-hr-lr-sg, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-lr-sg));
268
+
269
+ line-height: var(--_sf-hr-le-ht, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-le-ht));
270
+
271
+ text-decoration: var(--_sf-hr-ue, prepareMediaVariable(--_ctm-dn-dt-ue));
272
+ }
273
+
274
+ .icon {
275
+ display: var(--_hover-show-icon, var(--_show-icon, flex));
276
+ svg {
277
+ width: var(--_sf-hr-in-se, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-in-se));
278
+ height: var(--_sf-hr-in-se, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-in-se));
279
+
280
+ path {
281
+ stroke: var(--_sf-hr-in-c1, prepareMediaVariable(--_ctm-dn-bn-ss-dt-se-in-c1));
282
+ }
283
+ }
284
+ }
285
+ [data-element-style="Text"] {
286
+ display: inline-block;
287
+ width: 100%;
288
+ }
289
+
290
+ .icon--hover {
291
+ // position: absolute;
292
+ // inset: 0;
293
+ // opacity: 0;
294
+ display: none;
295
+ transition: opacity 0.2s ease;
296
+ }
297
+
298
+ &:hover .icon--hover {
299
+ // opacity: 1;
300
+ display: flex;
301
+ }
302
+
303
+ &:hover .icon--default {
304
+ // opacity: 0;
305
+ display: none;
306
+ }
307
+ }
308
+ }
309
+ .search__button {
310
+ background-color: blue;
311
+ color: white;
312
+ white-space: nowrap;
313
+ padding: 8px 12px;
314
+ border-radius: 4px;
87
315
  }
88
316
 
89
317
  .search-wrapper {
90
318
  display: flex;
319
+ flex-direction: var(--_sf-fd, row);
91
320
  align-items: center;
92
321
  width: 100%;
93
322
  height: 100%;
@@ -259,11 +488,15 @@
259
488
  // background: #0056b3;
260
489
  // }
261
490
  }
491
+ &[data-icon-position="Right"] {
492
+ --_sf-fd: row-reverse;
493
+ --_sf-jc: flex-end;
494
+ }
262
495
  }
263
496
 
264
497
  .dropdown__options {
265
498
  list-style: none;
266
- margin: 3px 0 0;
499
+ // margin: 3px 0 0;
267
500
  max-height: 200px;
268
501
  overflow-y: auto;
269
502
  border: 1px solid var(--_gray-200);
@@ -272,6 +505,8 @@
272
505
  position: absolute;
273
506
  width: 100%;
274
507
  z-index: 1000;
508
+ // top: 58px;
509
+ top: calc(var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht))) + 4px);
275
510
  // display: none; /* Hidden by default */
276
511
  cursor: pointer;
277
512
  transition: background 0.2s;
@@ -6,10 +6,12 @@ interface selfLayoutInterface {
6
6
  }
7
7
  export interface selfDesignInterface {
8
8
  selectorKey: string;
9
+ formContainer: any;
9
10
  }
10
11
  export declare enum createFormSelectorKeysEnum {
11
12
  LAYOUT = "layout",
12
- DESIGN = "design"
13
+ DESIGN = "design",
14
+ FORM_CONTAINER = "formContainer"
13
15
  }
14
16
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
15
17
  export {};
@@ -60,6 +60,12 @@ export interface selfDesignInterface {
60
60
  borderRadius?: CMSIBCommonInterface;
61
61
  };
62
62
  divider: any;
63
+ infoIcon?: any & {
64
+ selectorKey?: string;
65
+ showIcon?: CMSIBCommonInterface;
66
+ iconColor?: CMSIBCommonInterface;
67
+ iconSize?: CMSIBCommonInterface;
68
+ };
63
69
  }
64
70
  export declare enum ButtonSelectorKeysEnum {
65
71
  LAYOUT = "layout",
@@ -67,7 +73,8 @@ export declare enum ButtonSelectorKeysEnum {
67
73
  FAQ_WIDGET = "faqWidget",
68
74
  COLLAPSED_ACCRORDION_ITEM = "collapsedAccordionItem",
69
75
  EXPANDED_ACCRORDION_ITEM = "expandedAccordionItem",
70
- DIVIDER = "divider"
76
+ DIVIDER = "divider",
77
+ INFO_ICON = "infoIcon"
71
78
  }
72
79
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
73
80
  export {};
@@ -81,8 +81,13 @@ export interface selfDesignInterface {
81
81
  angle: CMSIBCommonInterface;
82
82
  spread: CMSIBCommonInterface;
83
83
  blur: CMSIBCommonInterface;
84
+ itemGap: CMSIBCommonInterface;
84
85
  };
85
- tooltipTextDesign: {
86
+ tooltipTextWrapper: {
87
+ selectorKey: string;
88
+ itemGap: CMSIBCommonInterface;
89
+ };
90
+ tooltipText: {
86
91
  selectorKey: string;
87
92
  font: CMSIBCommonInterface;
88
93
  fontSize: CMSIBCommonInterface;
@@ -107,13 +112,15 @@ export interface selfDesignInterface {
107
112
  cardLayout: controlInterface;
108
113
  productCardStyle: controlInterface;
109
114
  };
110
- tooltipImageDesign: {
115
+ tooltipImage: {
111
116
  selectorKey: string;
112
117
  cropRatio: CMSIBCommonInterface;
113
118
  zoomImage: CMSIBCommonInterface;
114
119
  flip: CMSIBCommonInterface;
115
120
  rotate: CMSIBCommonInterface;
116
121
  backgroundColor: CMSIBCommonInterface;
122
+ imageHeight: CMSIBCommonInterface;
123
+ imageWidth: CMSIBCommonInterface;
117
124
  exposure: CMSIBCommonInterface;
118
125
  contrast: CMSIBCommonInterface;
119
126
  saturation: CMSIBCommonInterface;
@@ -147,9 +154,13 @@ export declare enum SelectorKeysEnum {
147
154
  HOTSPOT_IMAGE_STYLE = "hotSpotStyle",
148
155
  HOTSPOT_STYLE = "hotspotStyle",
149
156
  TOOL_TIP_DESIGN = "tooltipDesign",
150
- TOOL_TIP_TEXT = "tooltipTextDesign",
157
+ TOOL_TIP_TEXT_WRAPPER = "tooltipTextWrapper",
158
+ TOOL_TIP_TEXT = "tooltipText",
151
159
  TOOL_TIP_PRODUCT_DESIGN = "tooltipProductDesign",
152
- TOOL_TIP_IMAGE_DESIGN = "tooltipImageDesign"
160
+ TOOL_TIP_IMAGE = "tooltipImage",
161
+ TOOL_TIP_BUTTON = "tooltipButton",
162
+ DEFAULT_STATE = "defaultState",
163
+ HOVER_STATE = "hoverState"
153
164
  }
154
- export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
165
+ export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface & any>;
155
166
  export {};
@@ -25,6 +25,7 @@ interface selfLayoutInterface {
25
25
  afterLoginDynamicLabel1: CMSIBCommonInterface;
26
26
  afterLoginDynamicLabel2: CMSIBCommonInterface;
27
27
  textAvatarSize: CMSIBCommonInterface;
28
+ alignment: CMSIBCommonInterface;
28
29
  }
29
30
  interface selfContentInterface {
30
31
  selectorKey: string;
@@ -49,6 +50,9 @@ export interface selfDesignInterface {
49
50
  dropdownItemsContainer: {
50
51
  selectorKey: string;
51
52
  [key: string]: any;
53
+ showIcon?: CMSIBCommonInterface;
54
+ iconColor?: CMSIBCommonInterface;
55
+ iconSize?: CMSIBCommonInterface;
52
56
  };
53
57
  profileWidget: {
54
58
  selectorKey: string;
@@ -120,7 +124,9 @@ export declare enum profileSelectorKeysEnum {
120
124
  DROPDOWN_ITEMS_DEFAULT_STYLE = "dropdownItemsDefaultStyle",
121
125
  DROPDOWN_CONTAINER_STYLE = "dropdownContainerStyle",
122
126
  EXPAND_ICON = "expandIcon",
123
- COLLAPSE_ICON = "collapseIcon"
127
+ COLLAPSE_ICON = "collapseIcon",
128
+ DEFAULT_STATE = "defaultState",
129
+ HOVER_STATE = "hoverState"
124
130
  }
125
131
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & selfContentInterface & CMSElementEditPopupDesignInterface>;
126
132
  export {};
@@ -105,6 +105,12 @@ export declare const getDefaultData: () => {
105
105
  property: string;
106
106
  propertyType: CMSElementEditTypes;
107
107
  };
108
+ dropdownGapBetweenItems: {
109
+ value: string;
110
+ unit: number;
111
+ property: string;
112
+ propertyType: CMSElementEditTypes;
113
+ };
108
114
  dropdownWidth: {
109
115
  value: string;
110
116
  unit: number;
@@ -42,6 +42,44 @@ interface selfDesignInterface {
42
42
  arrowSize: CMSIBCommonInterface;
43
43
  arrowColor: CMSIBCommonInterface;
44
44
  };
45
+ iconActions: {
46
+ selectorKey: string;
47
+ viewIcon: {
48
+ selectorKey: string;
49
+ showIcon: CMSIBCommonInterface;
50
+ iconSize: CMSIBCommonInterface;
51
+ iconColor: CMSIBCommonInterface;
52
+ icon: CMSIBCommonInterface;
53
+ };
54
+ printIcon: {
55
+ selectorKey: string;
56
+ showIcon: CMSIBCommonInterface;
57
+ iconSize: CMSIBCommonInterface;
58
+ iconColor: CMSIBCommonInterface;
59
+ icon: CMSIBCommonInterface;
60
+ };
61
+ downloadIcon: {
62
+ selectorKey: string;
63
+ showIcon: CMSIBCommonInterface;
64
+ iconSize: CMSIBCommonInterface;
65
+ iconColor: CMSIBCommonInterface;
66
+ icon: CMSIBCommonInterface;
67
+ };
68
+ cancelIcon: {
69
+ selectorKey: string;
70
+ showIcon: CMSIBCommonInterface;
71
+ iconSize: CMSIBCommonInterface;
72
+ iconColor: CMSIBCommonInterface;
73
+ icon: CMSIBCommonInterface;
74
+ };
75
+ sendMessageIcon: {
76
+ selectorKey: string;
77
+ showIcon: CMSIBCommonInterface;
78
+ iconSize: CMSIBCommonInterface;
79
+ iconColor: CMSIBCommonInterface;
80
+ icon: CMSIBCommonInterface;
81
+ };
82
+ };
45
83
  }
46
84
  export declare enum SelectorKeysEnum {
47
85
  LAYOUT = "layout",
@@ -52,7 +90,13 @@ export declare enum SelectorKeysEnum {
52
90
  RFQ_ID = "rfqId",
53
91
  RAISED_ON = "raisedOn",
54
92
  RFQ_STATUS = "rfqStatus",
55
- PAGINATION_ARROWS = "pagination-arrows"
93
+ PAGINATION_ARROWS = "pagination-arrows",
94
+ ICON_ACTIONS = "iconActions",
95
+ VIEW_ICON = "viewIcon",
96
+ PRINT_ICON = "printIcon",
97
+ DOWNLOAD_ICON = "downloadIcon",
98
+ CANCEL_ICON = "cancelIcon",
99
+ SEND_MESSAGE_ICON = "sendMessageIcon"
56
100
  }
57
101
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
58
102
  export {};
@@ -1,3 +1,4 @@
1
+ import { CMSCSSUnitTypesEnums, CMSElementEditTypes } from "../../enums";
1
2
  import { CMSIBCommonInterface } from "../../interfaces/global";
2
3
  import { CMSElementEditPopupDesignInterface, CMSElementEditPopupInterface, CMSElementEditPopupLayoutInterface } from "./common";
3
4
  interface selfLayoutInterface {
@@ -5,11 +6,23 @@ interface selfLayoutInterface {
5
6
  whenClicked: CMSIBCommonInterface;
6
7
  showSearchText: CMSIBCommonInterface;
7
8
  searchText: CMSIBCommonInterface;
9
+ iconPosition: CMSIBCommonInterface;
10
+ searchControl: CMSIBCommonInterface;
8
11
  showNoOfItems: CMSIBCommonInterface;
9
12
  searchPlaceholderText: CMSIBCommonInterface;
13
+ buttonPlaceholderText: CMSIBCommonInterface;
10
14
  }
11
15
  export interface selfDesignInterface {
12
16
  selectorKey: string;
17
+ searchContainer: {
18
+ selectorKey: string;
19
+ itemGap: {
20
+ value: CMSCSSUnitTypesEnums;
21
+ unit: CMSCSSUnitTypesEnums;
22
+ property: string;
23
+ propertyType: CMSElementEditTypes;
24
+ };
25
+ };
13
26
  searchBar: {
14
27
  selectorKey: string;
15
28
  backgroundColor: CMSIBCommonInterface;
@@ -71,6 +84,7 @@ export interface selfDesignInterface {
71
84
  characterSpacing: CMSIBCommonInterface;
72
85
  lineHeight: CMSIBCommonInterface;
73
86
  };
87
+ buttonStyles: any;
74
88
  }
75
89
  export declare enum searchSelectorKeysEnum {
76
90
  LAYOUT = "layout",
@@ -80,7 +94,12 @@ export declare enum searchSelectorKeysEnum {
80
94
  SEARCH_ICON = "searchIcon",
81
95
  SEARCH_BAR_FOCUS = "searchBarFocus",
82
96
  MINI_CART_TEXT = "miniSearchText",
83
- DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle"
97
+ DROPDOWN_DISPLAY_STYLE = "dropdownDisplayStyle",
98
+ BUTTON_STYLES = "buttonStyles",
99
+ HOVER_STATE = "hoverState",
100
+ DEFAULT_STATE = "defaultState",
101
+ SELECTED_STATE = "selected",
102
+ SEARCHBAR_CONTAINER = "searchBarContainer"
84
103
  }
85
104
  export declare const getDefaultData: () => CMSElementEditPopupInterface<selfLayoutInterface & CMSElementEditPopupLayoutInterface, selfDesignInterface & CMSElementEditPopupDesignInterface>;
86
105
  export {};
@@ -33,6 +33,10 @@ interface selfDesignInterface {
33
33
  selectorKey: string;
34
34
  [key: string]: any;
35
35
  };
36
+ label: {
37
+ selectorKey: string;
38
+ [key: string]: any;
39
+ };
36
40
  uomTitleStyle: {
37
41
  selectorKey: string;
38
42
  [key: string]: any;
@@ -128,6 +132,7 @@ export declare enum SelectorKeysEnum {
128
132
  CONTENT = "content",
129
133
  DESIGN = "design",
130
134
  DATA_CONNECTOR = "dataConnector",
135
+ LABEL = "label",
131
136
  ITEM_STYLE = "itemStyle",
132
137
  UOM_TITLE_STYLE = "uomTitleStyle",
133
138
  UOM_CONVERSION_STYLE = "uomConversionStyle",
@@ -99,7 +99,7 @@ export interface UploadMediaLabels {
99
99
  maxResolutionError: string;
100
100
  resolutionRangeError: string;
101
101
  }
102
- export type UploadMediaType = "images" | "image" | "doc" | "all";
102
+ export type UploadMediaType = "images" | "image" | "video" | "doc" | "all";
103
103
  export interface UploadMediaProps {
104
104
  api: UploadMediaAPI;
105
105
  onUploadComplete: (images: UploadResult[]) => void;
@@ -166,6 +166,7 @@ export interface UploadFileInfo {
166
166
  width: number;
167
167
  height: number;
168
168
  } | null;
169
+ thumbnailUrl?: string;
169
170
  }
170
171
  export interface SelectedAsset {
171
172
  id: string;
@@ -75,8 +75,66 @@
75
75
  margin-bottom: 6px;
76
76
  }
77
77
 
78
+ .meta_text_element {
79
+ display: block;
80
+ background-color: var(
81
+ --_ctm-mob-dn-ll-bd-cr,
82
+ var(--_ctm-tab-dn-ll-bd-cr, var(--_ctm-dn-ll-bd-cr))
83
+ );
84
+ color: var(--_ctm-mob-dn-ll-cr, var(--_ctm-tab-dn-ll-cr, var(--_ctm-dn-ll-cr)));
85
+ font-family: var(
86
+ --_ctm-mob-dn-ll-ft-fy,
87
+ var(--_ctm-tab-dn-ll-ft-fy, var(--_ctm-dn-ll-ft-fy))
88
+ );
89
+ font-size: var(--_ctm-mob-dn-ll-ft-se, var(--_ctm-tab-dn-ll-ft-se, var(--_ctm-dn-ll-ft-se)));
90
+ font-weight: var(
91
+ --_ctm-mob-dn-ll-ft-wt,
92
+ var(--_ctm-tab-dn-ll-ft-wt, var(--_ctm-dn-ll-ft-wt))
93
+ );
94
+ font-style: var(
95
+ --_ctm-mob-dn-ll-ft-se-ic,
96
+ var(--_ctm-tab-dn-ll-ft-se-ic, var(--_ctm-dn-ll-ft-se-ic))
97
+ );
98
+ text-align: var(--_ctm-mob-dn-ll-tt-an, var(--_ctm-tab-dn-ll-tt-an, var(--_ctm-dn-ll-tt-an)));
99
+ letter-spacing: var(
100
+ --_ctm-mob-dn-ll-lr-sg,
101
+ var(--_ctm-tab-dn-ll-lr-sg, var(--_ctm-dn-ll-lr-sg))
102
+ );
103
+ line-height: var(
104
+ --_ctm-mob-dn-ll-le-ht,
105
+ var(--_ctm-tab-dn-ll-le-ht, var(--_ctm-dn-ll-le-ht))
106
+ );
107
+ text-decoration: var(--_ctm-mob-dn-ll-ue, var(--_ctm-tab-dn-ll-ue, var(--_ctm-dn-ll-ue)));
108
+
109
+ border-color: var(
110
+ --_show-border,
111
+ var(--_ctm-mob-dn-ll-br-cr, var(--_ctm-tab-dn-ll-br-cr, var(--_ctm-dn-ll-br-cr)))
112
+ );
113
+ border-style: var(
114
+ --_show-border,
115
+ var(--_ctm-mob-dn-ll-br-se, var(--_ctm-tab-dn-ll-br-se, var(--_ctm-dn-ll-br-se)))
116
+ );
117
+ border-width: var(
118
+ --_show-border,
119
+ var(--_ctm-mob-dn-ll-br-wh, var(--_ctm-tab-dn-ll-br-wh, var(--_ctm-dn-ll-br-wh)))
120
+ );
121
+ border-radius: var(
122
+ --_ctm-mob-dn-ll-br-rs,
123
+ var(--_ctm-tab-dn-ll-br-rs, var(--_ctm-dn-ll-br-rs))
124
+ );
125
+
126
+ box-shadow: var(
127
+ --_show-shadow,
128
+ var(--_ctm-mob-dn-ll-sw-ae, var(--_ctm-tab-dn-ll-sw-ae, var(--_ctm-dn-ll-sw-ae)))
129
+ var(--_ctm-mob-dn-ll-sw-br, var(--_ctm-tab-dn-ll-sw-br, var(--_ctm-dn-ll-sw-br)))
130
+ var(--_ctm-mob-dn-ll-sw-sd, var(--_ctm-tab-dn-ll-sw-sd, var(--_ctm-dn-ll-sw-sd)))
131
+ var(--_ctm-mob-dn-ll-sw-cr, var(--_ctm-tab-dn-ll-sw-cr, var(--_ctm-dn-ll-sw-cr)))
132
+ );
133
+
134
+ padding: var(--_ctm-mob-dn-ll-pg, var(--_ctm-tab-dn-ll-pg, var(--_ctm-dn-ll-pg)));
135
+ }
136
+
78
137
  .uom__selector {
79
- padding: 10px;
80
138
  width: 100%;
81
139
  // height: var(--_ctm-mob-lt-ht, var(--_ctm-tab-lt-ht, var(--_ctm-lt-ht)));
82
140
  .uom__container {
@@ -748,7 +806,7 @@
748
806
  flex-wrap: nowrap;
749
807
  // overflow-x: auto;
750
808
  .item {
751
- min-width: 120px;
809
+ min-width: 3uom__selector0px;
752
810
  }
753
811
  }
754
812
  &[data-overflow-items="None"] {