@sc-360-v2/storefront-cms-library 0.3.68 → 0.3.70

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 (50) hide show
  1. package/dist/add-order.scss +31 -14
  2. package/dist/builder.js +1 -1
  3. package/dist/bulk-order-pad.scss +0 -5
  4. package/dist/bundle.scss +1 -0
  5. package/dist/cart-details.scss +45 -2
  6. package/dist/checkbox-radio.scss +16 -0
  7. package/dist/checkout.scss +63 -63
  8. package/dist/confirmationModal.scss +2 -4
  9. package/dist/dropdownTemplate.scss +285 -307
  10. package/dist/employee-bulk-order.scss +2674 -2667
  11. package/dist/modal.scss +7 -0
  12. package/dist/my-templates.scss +284 -70
  13. package/dist/profile.scss +2 -1
  14. package/dist/quick-links.scss +175 -18
  15. package/dist/request-for-quotes.scss +348 -48
  16. package/dist/skeleton.scss +1 -1
  17. package/dist/types/builder/tools/element-edit/addProductsTab.d.ts +11 -11
  18. package/dist/types/builder/tools/element-edit/breadcrumbs.d.ts +1 -1
  19. package/dist/types/builder/tools/element-edit/bundle.d.ts +5 -1
  20. package/dist/types/builder/tools/element-edit/bundleDetails.d.ts +1 -1
  21. package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +3 -24
  22. package/dist/types/builder/tools/element-edit/buyForWithTab.d.ts +18 -18
  23. package/dist/types/builder/tools/element-edit/cartAttributes.d.ts +10 -10
  24. package/dist/types/builder/tools/element-edit/cartDetails.d.ts +12 -3
  25. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +30 -114
  26. package/dist/types/builder/tools/element-edit/checkout.d.ts +39 -57
  27. package/dist/types/builder/tools/element-edit/common.d.ts +1 -1
  28. package/dist/types/builder/tools/element-edit/countdown.d.ts +1 -1
  29. package/dist/types/builder/tools/element-edit/filterResults.d.ts +3 -17
  30. package/dist/types/builder/tools/element-edit/grid.d.ts +3 -3
  31. package/dist/types/builder/tools/element-edit/icon-list.d.ts +2 -9
  32. package/dist/types/builder/tools/element-edit/iconLibrary.d.ts +1 -1
  33. package/dist/types/builder/tools/element-edit/layouter-pro-item.d.ts +2 -2
  34. package/dist/types/builder/tools/element-edit/layouterPro.d.ts +2 -2
  35. package/dist/types/builder/tools/element-edit/line.d.ts +1 -1
  36. package/dist/types/builder/tools/element-edit/marchandiserSets.d.ts +1 -1
  37. package/dist/types/builder/tools/element-edit/orderStatus.d.ts +24 -24
  38. package/dist/types/builder/tools/element-edit/productCustomizations.d.ts +1 -1
  39. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +4 -4
  40. package/dist/types/builder/tools/element-edit/scroll.d.ts +1 -1
  41. package/dist/types/builder/tools/element-edit/shipping-payments.d.ts +4 -22
  42. package/dist/types/builder/tools/element-edit/shippingEstimator.d.ts +1 -1
  43. package/dist/types/builder/tools/element-edit/social.d.ts +1 -1
  44. package/dist/types/builder/tools/element-edit/table.d.ts +1 -0
  45. package/dist/types/builder/tools/element-edit/tabs.d.ts +1 -1
  46. package/dist/types/builder/tools/element-edit/tabsV2.d.ts +1 -1
  47. package/dist/types/builder/tools/element-edit/userElements.d.ts +5 -5
  48. package/dist/types/builder/tools/element-edit/video.d.ts +14 -9
  49. package/dist/video.scss +9 -4
  50. package/package.json +1 -1
@@ -1,47 +1,41 @@
1
1
  .dropdown-with-input-section {
2
- display: grid;
3
- gap: 2px;
4
2
  width: 100%;
5
- border: 1px solid var(--_gray-300);
6
3
  background-color: var(--_base-white);
7
- border-radius: 6px;
8
- &:focus-within {
9
- border: 1px solid var(--_primary-300);
10
- outline: 2px solid var(--_primary-100);
11
- }
12
-
13
- .dropdown-disabled {
14
- opacity: 0.6;
15
- pointer-events: none;
16
- user-select: none;
17
-
18
- input {
19
- background-color: #f5f5f5;
20
- cursor: not-allowed;
21
- }
22
- }
23
4
 
24
5
  .dropdown-input-section {
25
6
  position: relative;
26
7
  display: flex;
27
8
  justify-content: space-between;
28
9
  padding: 0px 12px;
29
-
10
+ border-radius: 6px;
30
11
  width: 100%;
31
12
  align-items: center;
32
13
  height: 40px;
14
+ outline: 2px solid var(--_base-white);
15
+ border: 1px solid var(--_gray-300);
16
+ &.visibility_hidden {
17
+ visibility: hidden;
18
+ }
19
+ &:focus-within {
20
+ border: 1px solid var(--_primary-300);
21
+ outline: 2px solid var(--_primary-100);
22
+ }
23
+ &.w-full {
24
+ width: 100%;
25
+ }
33
26
 
34
- // .dropdown-disabled {
35
- // opacity: 0.6;
36
- // pointer-events: none;
37
- // user-select: none;
27
+ &.disabled {
28
+ opacity: 0.6;
29
+ pointer-events: none;
30
+ user-select: none;
38
31
 
39
- // input {
40
- // background-color: #f5f5f5;
41
- // cursor: not-allowed;
42
- // }
43
- // }
32
+ input {
33
+ background-color: #f5f5f5;
34
+ cursor: not-allowed;
35
+ }
36
+ }
44
37
 
38
+ // chips
45
39
  .dropdown-chips {
46
40
  display: flex;
47
41
  // flex-wrap: wrap;
@@ -80,10 +74,10 @@
80
74
  }
81
75
  }
82
76
 
83
- .input-field {
84
- flex: 1;
85
- font-size: 14px;
86
- }
77
+ // .input-field {
78
+ // flex: 1;
79
+ // font-size: 14px;
80
+ // }
87
81
  .readonly-input,
88
82
  .dropdown__clear__icon,
89
83
  .dropdown__icon {
@@ -132,326 +126,310 @@
132
126
  }
133
127
  }
134
128
  }
135
- .dropdown-menu {
136
- position: absolute;
129
+
130
+ .dropdown-with-icon {
131
+ width: 100%;
132
+ // pointer-events: none;
133
+ border: none;
134
+ padding: 0;
135
+ }
136
+ }
137
+
138
+ .dropdown-menu {
139
+ position: fixed;
140
+ width: 100%;
141
+ background: white;
142
+ border: 1px solid var(--_gray-200);
143
+ border-radius: 6px;
144
+ max-height: 200px;
145
+ box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
146
+ z-index: 10;
147
+ min-width: 240px;
148
+ max-height: 300px;
149
+ display: flex;
150
+ flex-direction: column;
151
+ // margin-left: -6px;
152
+ &.w-full {
137
153
  width: 100%;
138
- top: 40px;
139
- left: 0px;
140
- right: 24px;
141
- background: white;
142
- border: 1px solid var(--_gray-200);
143
- border-radius: 6px;
144
- max-height: 200px;
145
- // overflow-y: auto;
146
- box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1);
147
- z-index: 10;
148
- min-width: 240px;
149
- max-height: 300px;
154
+ }
155
+ .dropdown_template_panel_search {
156
+ background: none;
157
+ padding: 8px;
158
+ border-bottom: 1px solid var(--_gray-100);
159
+ height: max-content !important;
160
+ position: relative;
161
+ &:hover {
162
+ background: none !important;
163
+ }
164
+
165
+ input {
166
+ width: 100%;
167
+ padding-inline: 10px;
168
+ border-radius: 4px;
169
+ border: 1px solid var(--_gray-200);
170
+ height: 40px;
171
+ &:focus {
172
+ border: 1px solid var(--_gray-300);
173
+ }
174
+ }
175
+ .close_btn {
176
+ position: absolute;
177
+ right: 20px;
178
+ top: 20px;
179
+ z-index: 10;
180
+ }
181
+ }
182
+
183
+ .dropdown_menu_ul {
184
+ height: 200px;
185
+ overflow-y: auto;
150
186
  display: flex;
151
187
  flex-direction: column;
152
- // padding: 4px;
153
- // &.uom_dropdown {
154
- // margin-left: -10px;
155
- // width: 303px !important;
156
- // max-height: 260px !important;
157
- // }
188
+ gap: 4px;
189
+ padding: 4px;
190
+ }
191
+ .empty_message {
192
+ height: 200px;
193
+ display: flex;
194
+ justify-content: center;
195
+ align-items: center;
196
+ padding: 24px;
197
+ font-size: 16px;
198
+ font-weight: 500;
199
+ text-align: center;
200
+ .dots {
201
+ display: inline-flex;
202
+ width: 20px; /* fixed space so text doesn’t shift */
203
+ justify-content: space-between;
204
+ align-items: flex-end;
205
+ margin-left: 6px;
206
+ margin-bottom: -9px;
207
+ }
158
208
 
159
- .dropdown_menu_ul {
160
- height: 200px;
161
- overflow-y: auto;
162
- display: flex;
163
- flex-direction: column;
164
- gap: 4px;
165
- padding: 4px;
209
+ .dots span {
210
+ animation: blink 1.5s infinite;
211
+ opacity: 0;
212
+ width: 2px;
213
+ height: 2px;
214
+ border-radius: 50%;
215
+ background-color: var(--_gray-700);
166
216
  }
167
- .empty_message {
168
- height: 200px;
169
- display: flex;
170
- justify-content: center;
171
- align-items: center;
172
- padding: 24px;
173
- font-size: 16px;
174
- font-weight: 500;
175
- text-align: center;
176
- .dots {
177
- display: inline-flex;
178
- width: 20px; /* fixed space so text doesn’t shift */
179
- justify-content: space-between;
180
- align-items: flex-end;
181
- margin-left: 6px;
182
- margin-bottom: -9px;
183
- }
184
217
 
185
- .dots span {
186
- animation: blink 1.5s infinite;
187
- opacity: 0;
188
- width: 2px;
189
- height: 2px;
190
- border-radius: 50%;
191
- background-color: var(--_gray-700);
192
- }
218
+ .dots span:nth-child(1) {
219
+ animation-delay: 0s;
220
+ }
221
+ .dots span:nth-child(2) {
222
+ animation-delay: 0.3s;
223
+ }
224
+ .dots span:nth-child(3) {
225
+ animation-delay: 0.6s;
226
+ }
193
227
 
194
- .dots span:nth-child(1) {
195
- animation-delay: 0s;
196
- }
197
- .dots span:nth-child(2) {
198
- animation-delay: 0.3s;
228
+ @keyframes blink {
229
+ 0% {
230
+ opacity: 0;
199
231
  }
200
- .dots span:nth-child(3) {
201
- animation-delay: 0.6s;
232
+ 50% {
233
+ opacity: 1;
202
234
  }
203
-
204
- @keyframes blink {
205
- 0% {
206
- opacity: 0;
207
- }
208
- 50% {
209
- opacity: 1;
210
- }
211
- 100% {
212
- opacity: 0;
213
- }
235
+ 100% {
236
+ opacity: 0;
214
237
  }
215
238
  }
239
+ }
216
240
 
217
- .dropdown-opt {
218
- font-size: 14px;
219
- cursor: pointer;
241
+ .dropdown-opt {
242
+ font-size: 14px;
243
+ cursor: pointer;
220
244
 
221
- &.no-result {
222
- color: #aaa;
223
- cursor: default;
224
- }
225
- .dropdown-item {
226
- width: 100%;
227
- height: 100%;
228
- padding: 8px 12px;
229
- text-align: left;
245
+ &.no-result {
246
+ color: #aaa;
247
+ cursor: default;
248
+ }
249
+ .dropdown-item {
250
+ width: 100%;
251
+ height: 100%;
252
+ padding: 8px 12px;
253
+ text-align: left;
254
+ display: flex;
255
+ align-items: center;
256
+ gap: 8px;
257
+ height: auto !important;
258
+ max-height: 52px;
259
+ border-radius: 4px;
260
+ .profile_block {
261
+ width: 32px;
262
+ height: 32px;
263
+ border-radius: 50%;
264
+ overflow: hidden;
265
+ background-color: var(--_gray-200);
230
266
  display: flex;
267
+ justify-content: center;
231
268
  align-items: center;
232
- gap: 8px;
233
- height: auto !important;
234
- max-height: 52px;
235
- border-radius: 4px;
236
- .profile_block {
237
- width: 32px;
238
- height: 32px;
239
- border-radius: 50%;
240
- overflow: hidden;
241
- background-color: var(--_gray-200);
242
- display: flex;
243
- justify-content: center;
244
- align-items: center;
245
- color: var(--_gray-600);
246
- font-size: 12px;
247
- font-weight: 600;
248
- img {
249
- max-width: 100%;
250
- max-height: 100%;
251
- object-fit: contain;
252
- }
253
- }
254
- &:hover {
255
- background-color: var(--_primary-25);
256
- color: var(--_primary-400);
257
- }
258
-
259
- .item-image {
260
- // background-image: url("");
261
- width: 32px;
262
- height: 32px;
263
- background-size: 100%;
264
- background-position: center;
265
- border-radius: 50%;
266
- }
267
- .item-image-svg {
268
- display: flex;
269
- align-items: center;
270
- justify-content: center;
271
- background: #dfdfdf;
272
- margin-right: 8px;
273
- }
274
-
275
- .dropdown-item-details {
269
+ color: var(--_gray-600);
270
+ font-size: 12px;
271
+ font-weight: 600;
272
+ img {
276
273
  max-width: 100%;
277
- // width: 100%;
278
- .item-name {
279
- color: var(--_gray-900);
280
- }
281
- .item-code {
282
- color: var(--_gray-600);
283
- }
274
+ max-height: 100%;
275
+ object-fit: contain;
284
276
  }
285
277
  }
286
- .selected {
278
+ &:hover {
287
279
  background-color: var(--_primary-25);
288
- font-weight: normal;
289
280
  color: var(--_primary-400);
290
- .dropdown-item-details {
291
- width: 70% !important;
281
+ }
282
+
283
+ .item-image {
284
+ // background-image: url("");
285
+ width: 32px;
286
+ height: 32px;
287
+ background-size: 100%;
288
+ background-position: center;
289
+ border-radius: 50%;
290
+ }
291
+ .item-image-svg {
292
+ display: flex;
293
+ align-items: center;
294
+ justify-content: center;
295
+ background: #dfdfdf;
296
+ margin-right: 8px;
297
+ }
298
+
299
+ .dropdown-item-details {
300
+ max-width: 100%;
301
+ // width: 100%;
302
+ .item-name {
303
+ color: var(--_gray-900);
292
304
  }
293
- .check_mark {
294
- margin-left: auto;
295
- svg path {
296
- stroke: var(--_primary-400);
297
- }
305
+ .item-code {
306
+ color: var(--_gray-600);
298
307
  }
299
308
  }
300
309
  }
301
- .dropdown-group-li {
302
- height: auto;
303
- .group-header {
304
- height: 40px;
305
- align-items: center;
306
- display: flex;
307
- gap: 4px;
308
- padding: 4px;
309
- input {
310
- width: auto;
310
+ .selected {
311
+ background-color: var(--_primary-25);
312
+ font-weight: normal;
313
+ color: var(--_primary-400);
314
+ .dropdown-item-details {
315
+ width: 70% !important;
316
+ }
317
+ .check_mark {
318
+ margin-left: auto;
319
+ svg path {
320
+ stroke: var(--_primary-400);
311
321
  }
312
322
  }
313
- // .input-checkbox {
314
- // display: flex;
315
- // align-items: center;
316
- // cursor: pointer;
317
- // font-size: 16px;
318
- // user-select: none;
323
+ }
324
+ }
325
+ .dropdown-group-li {
326
+ height: auto;
327
+ .group-header {
328
+ height: 40px;
329
+ align-items: center;
330
+ display: flex;
331
+ gap: 4px;
332
+ padding: 4px;
333
+ input {
334
+ width: auto;
335
+ }
336
+ }
337
+ // .input-checkbox {
338
+ // display: flex;
339
+ // align-items: center;
340
+ // cursor: pointer;
341
+ // font-size: 16px;
342
+ // user-select: none;
319
343
 
320
- // input[type="checkbox"] {
321
- // display: none;
344
+ // input[type="checkbox"] {
345
+ // display: none;
322
346
 
323
- // &:checked + .checkmark::after {
324
- // content: "";
325
- // position: absolute;
326
- // left: 5px;
327
- // top: 1px;
328
- // width: 6px;
329
- // height: 12px;
330
- // border: solid #2196f3;
331
- // border-width: 0 2px 2px 0;
332
- // transform: rotate(45deg);
333
- // }
334
- // }
347
+ // &:checked + .checkmark::after {
348
+ // content: "";
349
+ // position: absolute;
350
+ // left: 5px;
351
+ // top: 1px;
352
+ // width: 6px;
353
+ // height: 12px;
354
+ // border: solid #2196f3;
355
+ // border-width: 0 2px 2px 0;
356
+ // transform: rotate(45deg);
357
+ // }
358
+ // }
335
359
 
336
- // .checkmark {
337
- // height: 18px;
338
- // width: 18px;
339
- // background-color: #eee;
340
- // border: 2px solid #ccc;
341
- // border-radius: 4px;
342
- // margin-right: 10px;
343
- // position: relative;
344
- // transition: all 0.2s ease;
345
- // }
360
+ // .checkmark {
361
+ // height: 18px;
362
+ // width: 18px;
363
+ // background-color: #eee;
364
+ // border: 2px solid #ccc;
365
+ // border-radius: 4px;
366
+ // margin-right: 10px;
367
+ // position: relative;
368
+ // transition: all 0.2s ease;
369
+ // }
346
370
 
347
- // &:hover .checkmark {
348
- // background-color: #f0f0f0;
349
- // }
350
- // }
371
+ // &:hover .checkmark {
372
+ // background-color: #f0f0f0;
373
+ // }
374
+ // }
351
375
 
352
- .dropdown-item {
353
- height: 40px;
354
- &:not(:last-child) {
355
- margin-bottom: 2px;
356
- }
376
+ .dropdown-item {
377
+ height: 40px;
378
+ &:not(:last-child) {
379
+ margin-bottom: 2px;
357
380
  }
358
381
  }
382
+ }
359
383
 
360
- .dropdown_selection_actions {
384
+ .dropdown_selection_actions {
385
+ display: flex;
386
+ align-items: center;
387
+ height: 50px;
388
+ // position: absolute;
389
+ // bottom: 0;
390
+ width: 100%;
391
+ background: #fff;
392
+ border-top: 1px solid var(--_gray-200);
393
+ .opts_selection_action {
394
+ width: 50%;
395
+ height: 100%;
396
+ /* text-align: center; */
361
397
  display: flex;
362
398
  align-items: center;
363
- height: 50px;
364
- // position: absolute;
365
- // bottom: 0;
366
- width: 100%;
367
- background: #fff;
368
- border-top: 1px solid var(--_gray-200);
369
- .opts_selection_action {
370
- width: 50%;
371
- height: 100%;
372
- /* text-align: center; */
373
- display: flex;
374
- align-items: center;
375
- justify-content: center;
376
- cursor: pointer;
377
- .add_selected_options {
378
- &:hover {
379
- background-color: var(--_primary-25);
380
- svg path {
381
- stroke: var(--_primary-400);
382
- }
383
- }
384
- }
385
- &:not(:last-child) {
386
- border-right: 1px solid var(--_gray-200);
387
- }
388
- &.discard_selection {
389
- &:hover {
390
- background-color: var(--_gray-50);
391
- }
392
- }
399
+ justify-content: center;
400
+ cursor: pointer;
401
+ .add_selected_options {
393
402
  &:hover {
394
403
  background-color: var(--_primary-25);
404
+ svg path {
405
+ stroke: var(--_primary-400);
406
+ }
395
407
  }
396
- .svg_icon {
397
- cursor: pointer;
398
- position: relative !important;
399
- background: none !important;
400
- right: 0px !important;
408
+ }
409
+ &:not(:last-child) {
410
+ border-right: 1px solid var(--_gray-200);
411
+ }
412
+ &.discard_selection {
413
+ &:hover {
414
+ background-color: var(--_gray-50);
401
415
  }
402
416
  }
403
- }
404
- }
405
- .drodown-menu-with-icon-dropdown {
406
- top: 11px;
407
- }
408
- .dropdown_template_panel_search {
409
- background: none;
410
- padding: 8px;
411
- border-bottom: 1px solid var(--_gray-100);
412
- height: max-content !important;
413
- position: relative;
414
- &:hover {
415
- background: none !important;
416
- }
417
-
418
- input {
419
- width: 100%;
420
- padding-inline: 10px;
421
- border-radius: 4px;
422
- border: 1px solid var(--_gray-200);
423
- height: 40px;
424
- &:focus {
425
- border: 1px solid var(--_gray-300);
417
+ &:hover {
418
+ background-color: var(--_primary-25);
419
+ }
420
+ .svg_icon {
421
+ cursor: pointer;
422
+ position: relative !important;
423
+ background: none !important;
424
+ right: 0px !important;
426
425
  }
427
426
  }
428
- .close_btn {
429
- position: absolute;
430
- right: 20px;
431
- top: 20px;
432
- z-index: 10;
433
- }
434
- }
435
- .dropdown-with-icon {
436
- width: 100%;
437
- // pointer-events: none;
438
- border: none;
439
- padding: 0;
440
427
  }
441
428
  }
429
+ .drodown-menu-with-icon-dropdown {
430
+ top: 11px;
431
+ }
442
432
  }
443
- // .dropdown-with-input-section.full-width {
444
- // width: auto;
445
- // .dropdown-input-section {
446
- // width: 100%;
447
- // border-radius: 6px;
448
-
449
- // &:focus-within {
450
- // border: 1px solid var(--_primary-300);
451
- // outline: 2px solid var(--_primary-50);
452
- // }
453
- // }
454
- // }
455
433
 
456
434
  .icon_with_label_section {
457
435
  display: flex;