@sc-360-v2/storefront-cms-library 0.3.28 → 0.3.30

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 (44) hide show
  1. package/dist/animation-control.scss +23 -0
  2. package/dist/builder.js +1 -1
  3. package/dist/bulk-order-pad.scss +328 -53
  4. package/dist/cart-details.scss +595 -300
  5. package/dist/cart-summary.scss +148 -40
  6. package/dist/cartAttributes.scss +24 -20
  7. package/dist/cartDropdownOverlay.scss +58 -10
  8. package/dist/checkout.scss +225 -79
  9. package/dist/contact-us.scss +3 -0
  10. package/dist/dropdownTemplate.scss +13 -2
  11. package/dist/fb-dropdown.scss +6 -2
  12. package/dist/filters.scss +0 -1
  13. package/dist/form-preview.scss +50 -9
  14. package/dist/form-zindex-module.scss +25 -0
  15. package/dist/functions.scss +72 -2
  16. package/dist/icons.js +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/light-box-v2.scss +1 -1
  19. package/dist/modal.scss +69 -31
  20. package/dist/order-status.scss +1 -0
  21. package/dist/position-module.scss +74 -0
  22. package/dist/prefix-list.scss +55 -0
  23. package/dist/quick-order-pad.scss +36 -8
  24. package/dist/responsive-behaviour.scss +21 -0
  25. package/dist/section.scss +13 -6
  26. package/dist/shareCartSideBar.scss +29 -14
  27. package/dist/submit-quote.scss +107 -49
  28. package/dist/types/builder/elements/form-builder/index.d.ts +14 -2
  29. package/dist/types/builder/interfaces/global.d.ts +13 -0
  30. package/dist/types/builder/tools/element-edit/amountEstimator.d.ts +441 -0
  31. package/dist/types/builder/tools/element-edit/buttonInstance.d.ts +364 -0
  32. package/dist/types/builder/tools/element-edit/cartSummary.d.ts +123 -55
  33. package/dist/types/builder/tools/element-edit/checkout.d.ts +120 -94
  34. package/dist/types/builder/tools/element-edit/common.d.ts +1 -0
  35. package/dist/types/builder/tools/element-edit/countdown.d.ts +384 -44
  36. package/dist/types/builder/tools/element-edit/dummy.d.ts +0 -0
  37. package/dist/types/builder/tools/element-edit/productActions.d.ts +390 -43
  38. package/dist/types/builder/tools/element-edit/quickLinks.d.ts +192 -22
  39. package/dist/types/builder/tools/element-edit/repeater.d.ts +439 -1
  40. package/dist/types/builder/tools/element-edit/table.d.ts +0 -1
  41. package/dist/types/builder/tools/element-edit/typographyInstance.d.ts +981 -0
  42. package/dist/types/builder/tools/element-edit/video.d.ts +192 -22
  43. package/dist/types/global/types.d.ts +2 -0
  44. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  .bulk-order-overlay {
2
2
  height: 100%;
3
+ width: 100%;
3
4
  }
4
5
  .bulk-order-container {
5
6
  background: #fff;
@@ -10,8 +11,38 @@
10
11
  font-family: "Segoe UI", sans-serif;
11
12
  overflow: auto;
12
13
  .select-product-dropdown {
13
- padding: 16px 24px;
14
- border-bottom: 1px solid #e0e0e0;
14
+ padding: 12px;
15
+ border-bottom: 1px solid var(--_gray-200);
16
+
17
+ .dropdown-with-input-section {
18
+ border: 0.5px solid var(--_gray-300);
19
+ border-radius: 4px;
20
+ }
21
+ }
22
+
23
+ .bulk_order_pad_empty_msg_container {
24
+ display: flex;
25
+ width: 100%;
26
+ flex-direction: column;
27
+ gap: 6px;
28
+ align-items: center;
29
+ justify-content: center;
30
+ flex: 1 1 auto;
31
+
32
+ .bulk_order_pad_empty_msg {
33
+ font-family: "Lato";
34
+ font-weight: 700;
35
+ font-size: 24px;
36
+ color: var(--_gray-900);
37
+ line-height: 32px;
38
+ }
39
+
40
+ .bulk_order_pad_support_msg {
41
+ font-family: "Lato";
42
+ font-size: 14px;
43
+ line-height: 20px;
44
+ color: var(--_gray-900);
45
+ }
15
46
  }
16
47
 
17
48
  .bulkOrderPad-grid {
@@ -206,71 +237,270 @@
206
237
  justify-content: space-between;
207
238
  background: #f9fafb;
208
239
  padding: 12px;
240
+ border-bottom: 1px solid var(--_gray-200);
241
+
242
+ @media (max-width: 1024px) {
243
+ gap: 24px;
244
+ white-space: nowrap;
245
+ overflow-x: auto;
246
+ }
209
247
  .product-details {
210
248
  display: flex;
211
- gap: 10px;
249
+ gap: 12px;
212
250
  .product-image {
213
251
  img {
214
252
  width: 64px;
253
+ height: 96px;
215
254
  }
216
255
  }
217
256
 
218
257
  .details {
219
- display: grid;
220
- .p-before-price {
221
- text-decoration: line-through;
258
+ display: flex;
259
+ flex-direction: column;
260
+ gap: 2px;
261
+ font-family: "Lato";
262
+ word-break: break-all;
263
+
264
+ .p-name {
265
+ display: flex;
266
+ align-items: center;
267
+ font-weight: 700;
268
+ font-size: 18px;
269
+ line-height: 28px;
270
+ color: var(--_gray-900);
271
+ }
272
+
273
+ .p-title {
274
+ display: flex;
275
+ align-items: center;
276
+ font-weight: 400;
277
+ font-size: 14px;
278
+ line-height: 20px;
279
+ color: var(--_gray-600);
280
+ }
281
+
282
+ .p-price {
283
+ display: flex;
284
+ align-items: flex-end;
285
+ gap: 12px;
286
+
287
+ font-weight: 400;
288
+ font-size: 12px;
289
+ line-height: 150%;
290
+ color: #4c4759;
291
+
292
+ .p-current-price {
293
+ display: flex;
294
+ align-items: center;
295
+ gap: 6px;
296
+ font-weight: 700;
297
+ font-size: 20px;
298
+ line-height: 150%;
299
+ color: #1f1930;
300
+ }
301
+
302
+ .p-before-price {
303
+ text-decoration: line-through;
304
+ }
222
305
  }
223
306
  }
224
307
  }
225
308
  .product-entity-info,
226
309
  .actions {
227
310
  display: flex;
228
- gap: 8px;
311
+ gap: 12px;
229
312
  align-items: center;
313
+ flex-wrap: nowrap;
314
+ font-family: "Lato";
315
+
316
+ @media (max-width: 1024px) {
317
+ justify-content: center;
318
+ }
319
+
320
+ .info {
321
+ display: flex;
322
+ gap: 4px;
323
+ align-items: center;
324
+
325
+ .info-label {
326
+ font-weight: 400;
327
+ font-size: 14px;
328
+ line-height: 20px;
329
+ color: var(--_gray-500);
330
+ }
331
+
332
+ .info-val {
333
+ font-weight: 600;
334
+ font-size: 18px;
335
+ line-height: 28px;
336
+ color: var(--_gray-900);
337
+ }
338
+
339
+ &::after:not(:last-of-type) {
340
+ content: ".";
341
+ font-size: 4px;
342
+ color: var(--_gray-500);
343
+ }
344
+ }
345
+
346
+ .discard {
347
+ padding: 10px 18px;
348
+ border-radius: 4px;
349
+ color: var(--_gray-600);
350
+ font-weight: 600;
351
+ font-size: 16px;
352
+ border: 1px solid transparent;
353
+ line-height: 24px;
354
+
355
+ &:hover {
356
+ border: 1px solid var(--_gray-600);
357
+ }
358
+ }
359
+
360
+ .add-tocart {
361
+ padding: 10px 18px;
362
+ border-radius: 4px;
363
+ border: 1px solid var(--_primary-500);
364
+ color: #fff;
365
+ font-weight: 600;
366
+ font-size: 16px;
367
+ line-height: 24px;
368
+ display: flex;
369
+ align-items: center;
370
+ gap: 8px;
371
+ background: var(--_primary-500);
372
+
373
+ svg {
374
+ width: 20px;
375
+ height: 20px;
376
+ display: flex;
377
+ stroke-width: 2px;
378
+ }
379
+
380
+ &:hover {
381
+ background: var(--_primary-400);
382
+ }
383
+ }
230
384
  }
231
385
  }
232
386
  .bulkOrderPad-content {
233
- padding: 16px;
234
- .dropdown-options {
235
- display: inline-block;
236
- width: 100%;
237
- border-bottom: 1px solid #e0e0e0;
387
+ display: flex;
388
+ flex-direction: column;
389
+
390
+ .bulk-order-pad-filter-wrapper {
391
+ background-color: var(--_gray-50);
392
+ border-bottom: 1px solid var(--_gray-200);
393
+ align-items: center;
394
+ justify-content: center;
395
+ gap: 12px;
396
+ display: flex;
397
+ justify-content: center;
398
+ padding: 12px;
399
+
400
+ @media (max-width: 500px) {
401
+ gap: 8px;
402
+ justify-content: flex-start;
403
+ overflow-x: auto;
404
+ }
405
+
238
406
  .dropdown-with-input-section {
239
- float: left;
240
- margin-right: 14px;
241
- margin-bottom: 14px;
407
+ gap: 6px;
408
+
409
+ label {
410
+ font-size: 14px;
411
+ line-height: 20px;
412
+ color: var(--_gray-700);
413
+ font-family: "Lato";
414
+ }
415
+
416
+ .dropdown-input-section {
417
+ border: 1px solid var(--_gray-300);
418
+ border-radius: 4px;
419
+ max-width: 320px;
420
+ background: #fff;
421
+ }
422
+ }
423
+
424
+ .dropdown-options {
425
+ display: flex;
426
+ flex-direction: column;
427
+ gap: 6px;
428
+
429
+ .dropdown-with-input-section {
430
+ gap: 6px;
431
+
432
+ label {
433
+ font-size: 14px;
434
+ line-height: 20px;
435
+ color: var(--_gray-700);
436
+ font-family: "Lato";
437
+ }
438
+
439
+ .dropdown-input-section {
440
+ border: 1px solid var(--_gray-300);
441
+ border-radius: 4px;
442
+ max-width: 320px;
443
+ background: #fff;
444
+ }
445
+ }
446
+ }
447
+
448
+ span {
449
+ margin-bottom: -30px;
242
450
  }
243
451
  }
244
- .secont-option-title {
452
+
453
+ .bulkOrderPad-content-container {
245
454
  display: flex;
246
- justify-content: center;
247
- overflow: visible;
248
- font-weight: bold;
249
- font-size: 1.2rem;
250
- margin-right: 10px;
251
- .title {
252
- background: #ffffff;
253
- width: max-content;
455
+ align-items: flex-start;
456
+ height: auto;
457
+
458
+ .first-option-title {
459
+ writing-mode: vertical-rl;
460
+ transform: rotate(180deg);
461
+ font-weight: 500;
462
+ font-size: 14px;
463
+ display: flex;
464
+ justify-content: center;
465
+ color: var(--_gray-700);
466
+ align-self: stretch;
467
+ width: 36px;
468
+ align-items: center;
469
+ margin-top: 32px;
470
+
471
+ .vertical_vector {
472
+ height: 100%;
473
+ width: 1px;
474
+ margin: 4px 0px;
475
+ background-color: #f0f0f0;
476
+ }
254
477
  }
255
478
  }
479
+
256
480
  .bulkOrderPad-section {
257
481
  display: flex;
258
- max-height: calc(100vh - 154px);
259
482
  overflow: auto;
260
- .first-option-title {
261
- writing-mode: vertical-rl;
262
- transform: rotate(180deg);
263
- font-weight: bold;
264
- font-size: 1.2rem;
265
- margin-right: 10px;
483
+ flex-direction: column;
484
+ width: 100%;
485
+ max-height: none !important;
486
+
487
+ .secont-option-title {
488
+ height: auto;
489
+ width: 100%;
490
+ padding: 12px 0px;
491
+ font-size: 14px;
492
+ line-height: 20px;
493
+ color: var(--_gray-700);
266
494
  display: flex;
267
495
  justify-content: center;
268
- overflow: visible;
269
- position: sticky;
270
- top: 0;
271
- .title {
272
- background: #ffffff;
273
- height: max-content;
496
+ font-weight: 500;
497
+ align-items: center;
498
+
499
+ .horizontal_vector {
500
+ margin: 0px 4px;
501
+ width: 100%;
502
+ height: 1px;
503
+ background: #f0f0f0;
274
504
  }
275
505
  }
276
506
 
@@ -278,19 +508,50 @@
278
508
  border-collapse: collapse;
279
509
  width: 100%;
280
510
 
511
+ tr {
512
+ &:last-of-type {
513
+ td {
514
+ border-bottom: 1px solid #f0f0f0;
515
+ }
516
+
517
+ .option-cell {
518
+ border-bottom: none;
519
+ }
520
+
521
+ .action-td {
522
+ border-bottom: none;
523
+ }
524
+ }
525
+
526
+ &:hover {
527
+ .action-td {
528
+ .reset-icon {
529
+ display: block !important;
530
+ }
531
+ }
532
+ }
533
+ }
534
+
281
535
  th,
282
536
  td {
283
537
  text-align: center;
284
538
  white-space: nowrap;
285
539
  // width: 150px;
286
540
  border: none;
541
+ padding: 0px 16px;
287
542
  }
288
543
 
289
544
  td.action-td {
290
- width: 40px;
291
- padding: 12px;
545
+ width: 72px;
546
+ height: 88px;
547
+ display: flex;
548
+ align-items: center;
549
+ justify-content: center;
550
+ padding: 0px !important;
551
+ border-left: 1px solid #f0f0f0;
292
552
  .reset-icon {
293
553
  cursor: pointer;
554
+ display: none;
294
555
  }
295
556
  }
296
557
  td.option-cell:first-child {
@@ -306,6 +567,13 @@
306
567
  position: sticky;
307
568
  top: 0;
308
569
  background: #fff;
570
+
571
+ th {
572
+ font-weight: 600;
573
+ color: var(--_gray-900);
574
+ line-height: 24px;
575
+ padding: 16px;
576
+ }
309
577
  th {
310
578
  border-bottom: 1px solid #f0f0f0;
311
579
  &:first-child,
@@ -317,39 +585,42 @@
317
585
 
318
586
  .option-cell {
319
587
  border-right: 1px solid #f0f0f0;
588
+ padding: 0px 16px;
589
+
320
590
  .option-cell-section {
321
- height: 40px;
591
+ height: 88px;
322
592
  display: flex;
323
- gap: 8px;
593
+ gap: 12px;
324
594
  align-items: center;
325
- padding: 8px;
326
595
  width: 100%;
327
596
  justify-content: flex-end;
597
+ font-size: 16px;
598
+ line-height: 24px;
599
+ color: var(--_gray-900);
600
+
328
601
  .option-swatch {
329
- width: 16px;
330
- height: 16px;
602
+ width: 32px;
603
+ height: 32px;
331
604
  border-radius: 50%;
332
- border: 1px solid #f0f0f0;
605
+ border: 1px solid #f5f5f5;
333
606
  }
334
607
  }
335
608
  }
336
609
 
337
610
  .availability {
338
- font-size: 0.85rem;
339
- color: #333;
340
- min-height: 40px;
341
- padding: 10px;
611
+ color: var(--_gray-600);
612
+ min-height: 56px;
342
613
  display: flex;
343
- font-size: 14px;
614
+ font-size: 16px;
344
615
  align-items: center;
345
616
  justify-content: center;
346
617
 
347
618
  input {
348
619
  // background: #f9fafb !important;
349
620
  border: 1px solid #ddd !important;
350
- width: 120px !important;
351
- height: 40px;
352
- border-radius: 6px;
621
+ width: 128px !important;
622
+ height: 56px;
623
+ border-radius: 4px;
353
624
  padding: 8px !important;
354
625
  border: none;
355
626
  outline: none;
@@ -360,6 +631,10 @@
360
631
  // cursor: pointer;
361
632
  }
362
633
  }
634
+
635
+ .disabled {
636
+ cursor: not-allowed;
637
+ }
363
638
  }
364
639
  }
365
640
  }