@sc-360-v2/storefront-cms-library 0.3.51 → 0.3.53

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 (52) hide show
  1. package/dist/add-products-tab copy.scss +1 -1
  2. package/dist/add-products-tab.scss +67 -23
  3. package/dist/allocationDetails.scss +33 -36
  4. package/dist/allocations.scss +11 -7
  5. package/dist/badge.scss +1 -1
  6. package/dist/builder.js +1 -1
  7. package/dist/bulk-order-pad.scss +1 -1
  8. package/dist/bulk-variant-picker.scss +23 -21
  9. package/dist/button copy.scss +3 -2
  10. package/dist/button.scss +1 -1
  11. package/dist/buyForHeaders.scss +2 -1
  12. package/dist/checkout.scss +634 -817
  13. package/dist/container.scss +1 -1
  14. package/dist/employee-bulk-order.scss +295 -126
  15. package/dist/filters.scss +5 -3
  16. package/dist/grid.scss +1 -1
  17. package/dist/icon-list.scss +3 -3
  18. package/dist/icons.js +1 -1
  19. package/dist/image-temp.scss +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/item-stock.scss +1 -1
  22. package/dist/language-selector.scss +5 -5
  23. package/dist/layouter-pro-item.scss +1 -1
  24. package/dist/layouter-pro.scss +1 -1
  25. package/dist/menu-item.scss +1 -1
  26. package/dist/menu-v2.scss +5 -3
  27. package/dist/order-status.scss +1 -1
  28. package/dist/overflow-module.scss +1 -1
  29. package/dist/past-orders.scss +1 -1
  30. package/dist/payment-methods.scss +1 -1
  31. package/dist/position-module.scss +1 -1
  32. package/dist/prefix-list.scss +1 -1
  33. package/dist/product-actions.scss +19 -19
  34. package/dist/product-basic-elements.scss +13 -13
  35. package/dist/product-options.scss +7 -6
  36. package/dist/product-sizechart.scss +15 -9
  37. package/dist/profile.scss +1 -1
  38. package/dist/quantity-selector.scss +11 -11
  39. package/dist/quick-links.scss +1 -1
  40. package/dist/quotes.scss +1 -1
  41. package/dist/repeater.scss +5 -3
  42. package/dist/responsive-behaviour.scss +1 -1
  43. package/dist/rfqs.scss +1 -1
  44. package/dist/section.scss +1 -1
  45. package/dist/shipping-payments.scss +650 -491
  46. package/dist/stack.scss +1 -1
  47. package/dist/text-temp-v2.scss +3 -3
  48. package/dist/types/icons/cms-svg-icons.d.ts +1 -1
  49. package/dist/user-elements.scss +1 -1
  50. package/dist/variant-picker.scss +13 -16
  51. package/dist/video.scss +1 -1
  52. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
- @use "../functions.scss" as *;
3
+ @use "./functions.scss" as *;
4
4
  $activeElementSelector: "[data-has-clicked='true']";
5
5
  [data-div-type="element"] {
6
6
  &[data-element-type="container"] {
@@ -76,31 +76,40 @@
76
76
  display: flex;
77
77
  align-items: center;
78
78
  justify-content: right;
79
- padding: 0 12px;
79
+ padding-left: 30px;
80
80
  .products_header {
81
- display: flex;
82
- align-items: center;
83
- gap: 12px;
84
- }
85
- .employee_product_actions_sec {
86
- width: 50%;
87
- display: flex;
88
- justify-content: right;
89
- gap: 12px;
90
- .employee_product_action {
91
- padding: 8px;
92
- color: #667085;
93
- }
94
-
95
- .employee_product_action_save {
96
- color: #243dc6;
81
+ width: 100%;
82
+ .hr_line {
83
+ position: relative;
84
+ text-align: center;
85
+ display: inline-block;
86
+ padding: 0 10px;
87
+ font-size: 24px;
88
+ z-index: -1;
89
+ width: 100%;
90
+ &::before {
91
+ content: "";
92
+ position: absolute;
93
+ top: 50%;
94
+ left: 0;
95
+ width: 100%;
96
+ height: 1px;
97
+ background: var(--_gray-200); /* line color */
98
+ z-index: -1;
99
+ }
100
+ span {
101
+ padding: 8px 12px;
102
+ display: inline-block;
103
+ background: var(--_base-white);
104
+ font-size: 14px;
105
+ }
97
106
  }
98
107
  }
99
108
  }
100
109
  .employee-content-section {
101
110
  display: flex;
102
- height: calc(100% - 50px);
103
- width: calc(100% - 10px);
111
+ height: calc(100% - 70px);
112
+ width: 100%;
104
113
  .employees-section-title {
105
114
  writing-mode: vertical-rl;
106
115
  transform: rotate(180deg);
@@ -135,7 +144,7 @@
135
144
  }
136
145
  }
137
146
  .employee-content {
138
- width: calc(100% - 21px);
147
+ width: calc(100% - 30px);
139
148
  display: flex;
140
149
  .em_content {
141
150
  // display: flex;
@@ -143,9 +152,10 @@
143
152
  width: 250px;
144
153
  height: 88px;
145
154
  position: relative;
146
- border: 1px solid #d0d5dd;
155
+ border: 1px solid var(--_gray-200);
147
156
  border-bottom: none;
148
157
  border-right: none;
158
+ border-radius: 6px;
149
159
  .svg_icon {
150
160
  position: absolute;
151
161
  display: flex;
@@ -167,6 +177,7 @@
167
177
  right: 0;
168
178
  .svg_icon {
169
179
  right: -10px;
180
+ top: -10px;
170
181
  }
171
182
  }
172
183
  .em_add-employee {
@@ -174,6 +185,7 @@
174
185
  bottom: 0;
175
186
  .svg_icon {
176
187
  left: -10px;
188
+ bottom: -10px;
177
189
  }
178
190
  }
179
191
  .em_add-product-disabled {
@@ -184,29 +196,32 @@
184
196
  }
185
197
  .employees-section {
186
198
  height: calc(100% - 88px);
187
- border: 1px solid #d0d5dd;
199
+ border: 1px solid var(--_gray-200);
188
200
  overflow: auto;
189
201
  width: 250px;
190
202
  .employee_card {
191
203
  padding: 12px;
192
- display: grid;
204
+ // display: grid;
193
205
  gap: 12px;
194
- border-bottom: 1px solid #d0d5dd;
195
- height: 112px;
206
+ border-bottom: 1px solid var(--_gray-200);
207
+ // height: 112px;
196
208
  width: 100%;
197
209
  .em_data {
198
210
  display: flex;
199
211
  // align-items: baseline;
200
212
  gap: 10px;
213
+ margin-bottom: 6px;
201
214
  .em_profile {
202
- width: 40px;
203
- height: 40px;
204
- background: #ededed;
215
+ width: 32px;
216
+ height: 32px;
217
+ background: var(--_gray-200);
205
218
  border-radius: 50%;
206
- align-items: center;
207
- text-align: center;
208
219
  display: flex;
209
- background-size: 100% 100%;
220
+ align-items: center;
221
+ justify-content: center;
222
+ font-size: 14px;
223
+ font-weight: 600;
224
+ flex-shrink: 0;
210
225
  .em_profile_text {
211
226
  width: 100%;
212
227
  }
@@ -221,10 +236,16 @@
221
236
  width: 158px;
222
237
  color: var(--_gray-900);
223
238
  font-size: 14px;
239
+ font-weight: 600;
224
240
  }
225
241
  .svg_icon {
226
242
  display: flex;
227
243
  cursor: pointer;
244
+ &:hover {
245
+ svg path {
246
+ stroke: var(--_error-700);
247
+ }
248
+ }
228
249
  }
229
250
  }
230
251
  .em_code {
@@ -237,11 +258,37 @@
237
258
  .em_entity-status {
238
259
  display: flex;
239
260
  gap: 10px;
261
+ margin-left: 14px;
262
+ margin-top: 12px;
263
+ }
264
+ .emp_action_btns {
265
+ display: flex;
266
+ gap: 8px;
267
+ margin-top: 12px;
268
+ .discard_btn {
269
+ padding: 8px 16px;
270
+ border-radius: 4px;
271
+ width: 100%;
272
+ &:hover {
273
+ background-color: var(--_gray-50);
274
+ }
275
+ }
276
+ .save_btn {
277
+ padding: 8px 16px;
278
+ border-radius: 4px;
279
+ width: 100%;
280
+ color: var(--_primary-400);
281
+ border: 1px solid var(--_primary-400);
282
+ &:hover {
283
+ background-color: var(--_primary-50);
284
+ }
285
+ }
240
286
  }
241
287
  }
242
288
  }
243
289
  .employee_card.selected {
244
- background: #e6f0ff;
290
+ background: var(--_primary-25);
291
+ border-bottom: 2px solid var(--_primary-400);
245
292
  }
246
293
  .em_empty_section {
247
294
  width: 100%;
@@ -255,60 +302,86 @@
255
302
  .products-section {
256
303
  width: calc(100% - 250px);
257
304
  height: 100%;
258
- border: 1px solid #d0d5dd;
305
+ border: 1px solid var(--_gray-200);
259
306
  display: flex;
260
307
  overflow-x: auto;
261
308
  .em_product {
262
309
  min-width: 320px;
263
310
  width: 320px;
264
311
  height: 100%;
265
- border: 1px solid #d0d5dd;
312
+ border: 1px solid var(--_gray-200);
266
313
  border-left: 0;
267
314
  border-top: 0;
315
+ display: flex;
316
+ flex-direction: column;
317
+ &:hover {
318
+ box-shadow: 0 0 10px rgb(0, 0, 0, 0.2);
319
+ }
268
320
  .em_product-data {
269
321
  width: 100%;
270
- border-bottom: 1px solid #d0d5dd;
322
+ border-bottom: 1px solid var(--_gray-200);
271
323
  .em_product-info {
272
- height: 88px;
273
- border-bottom: 1px solid #d0d5dd;
324
+ height: 65px;
325
+ border-bottom: 1px solid var(--_gray-200);
274
326
  }
275
327
  .selecte_variants_for_cart {
276
328
  height: 68px;
277
329
  overflow: auto;
278
- cursor: pointer;
330
+ padding: 8px;
331
+ color: var(--_gray-600);
332
+ .no_variants {
333
+ display: flex;
334
+ justify-content: center;
335
+ align-items: center;
336
+ height: 100%;
337
+ }
279
338
  .variantOptionValues {
280
339
  height: 24px;
281
340
  color: #475467;
282
341
  font-size: 14px;
283
- padding: 0 8px;
284
342
  margin-bottom: 1px;
285
343
  display: flex;
286
344
  justify-content: space-between;
287
345
  align-items: center;
346
+ cursor: pointer;
347
+ &.active_vr {
348
+ background-color: var(--_primary-25);
349
+ color: var(--_primary-500);
350
+ padding: 4px 8px;
351
+ border-radius: 4px !important;
352
+ line-height: 14px;
353
+ }
288
354
  &:hover {
289
- background: #e6f0ff;
290
- .variantOptionValues_acttions {
355
+ color: var(--_primary-400);
356
+ .variantOptionValues_actions {
291
357
  opacity: 1;
292
358
  }
359
+
360
+ .svg_icon {
361
+ svg path {
362
+ stroke: var(--_error-700);
363
+ }
364
+ }
293
365
  }
294
366
  .variantOptionValues_text {
295
367
  width: calc(100% - 40px);
296
368
  padding-right: 4px;
297
369
  }
298
- .variantOptionValues_acttions {
370
+ .variantOptionValues_actions {
299
371
  display: flex;
300
372
  gap: 8px;
301
373
  align-items: center;
302
- width: 40px;
374
+ // width: 40px;
303
375
  opacity: 0;
304
376
  .svg_icon {
305
377
  display: flex;
378
+ svg {
379
+ width: 18px;
380
+ height: 18px;
381
+ }
306
382
  }
307
383
  }
308
384
  }
309
- .active_vr {
310
- background: #e6f0ff;
311
- }
312
385
  }
313
386
  .em_product-variant,
314
387
  .em_product-info {
@@ -342,79 +415,114 @@
342
415
  color: #243dc6;
343
416
  }
344
417
  }
418
+ .qty_exist_info {
419
+ background-color: var(--_warning-50);
420
+ color: var(--_warning-500);
421
+ padding: 0px 8px 4px 8px;
422
+ text-align: center;
423
+ border-bottom: 1px solid var(--_warning-200);
424
+ }
345
425
  .product-option-details {
346
426
  height: calc(100% - 214px);
347
427
  width: 100%;
348
428
  overflow: auto;
349
- .em_p_variant_options {
350
- padding: 12px;
351
- .em_p_opt {
352
- margin-bottom: 4px;
353
- .em_opt_name {
354
- font-size: 12px;
355
- color: #101828;
356
- font-weight: 500;
357
- }
358
- .em_p_opt_values {
359
- display: inline-block;
360
- padding: 8px 0;
361
- .em_opt_val {
362
- cursor: pointer;
363
- &:hover {
364
- // scale: 1.01;
365
- transition: all 0.2s;
366
- }
367
- }
368
- .em_opt_val.selected {
369
- border: 1px solid #243dc6;
370
- color: #243dc6;
371
- font-weight: 600;
429
+ padding: 8px;
430
+ flex-grow: 1;
431
+ overflow-y: auto;
432
+ .em_product_options {
433
+ display: flex;
434
+ flex-direction: column;
435
+ gap: 12px;
436
+ .em_p_variant_options {
437
+ display: flex;
438
+ flex-direction: column;
439
+ gap: 12px;
440
+ .em_p_opt {
441
+ margin-bottom: 4px;
442
+ .em_opt_name {
443
+ font-size: 12px;
444
+ color: #101828;
445
+ font-weight: 500;
446
+ display: block;
447
+ margin-bottom: 6px;
372
448
  }
373
- .em_opt_val.not-avl {
374
- position: relative;
375
- overflow: hidden;
376
- &:after {
377
- content: "";
378
- width: 100%;
379
- height: 100%;
380
- position: absolute;
381
- left: 0;
382
- top: 0;
383
- background: url(https://sellerscommerce.sirv.com/00000000-0000-0000-0000-000000000000/development/Line%207.png);
384
- background-repeat: no-repeat;
385
- background-size: 100% 100%;
449
+ .em_p_opt_values {
450
+ display: flex;
451
+ gap: 8px;
452
+ align-items: center;
453
+ // padding: 8px 0;
454
+ .em_opt_val {
455
+ cursor: pointer;
456
+ &:hover {
457
+ // scale: 1.01;
458
+ transition: all 0.2s;
459
+ }
460
+ }
461
+ .em_opt_val.selected {
462
+ border: 1px solid var(--_primary-400);
463
+ color: var(--_primary-400);
464
+ font-weight: 600;
465
+ }
466
+ .em_opt_val.not-avl {
467
+ position: relative;
386
468
  overflow: hidden;
469
+ cursor: not-allowed;
470
+ pointer-events: none;
471
+ &:after {
472
+ content: "";
473
+ width: 100%;
474
+ height: 100%;
475
+ position: absolute;
476
+ left: 0;
477
+ top: 0;
478
+ background: url(https://sellerscommerce.sirv.com/00000000-0000-0000-0000-000000000000/development/Line%207.png);
479
+ background-repeat: no-repeat;
480
+ background-size: 100% 100%;
481
+ overflow: hidden;
482
+ }
483
+ }
484
+ .em_opt_val_swatch {
485
+ min-width: 28px;
486
+ min-height: 28px;
487
+ float: left;
488
+ margin: 0px 4px 4px 0px;
489
+ border-radius: 50%;
490
+ background-size: 100% 100%;
491
+ background-repeat: no-repeat;
492
+ display: flex;
493
+ align-items: center;
494
+ justify-content: center;
495
+ &.selected {
496
+ min-width: 45px;
497
+ border-radius: 20px;
498
+ outline: 1px solid var(--_primary-400);
499
+ border: 2px solid var(--_base-white);
500
+ }
501
+ }
502
+ .em_opt_val_single {
503
+ min-width: 32px;
504
+ min-height: 32px;
505
+ max-width: max-content;
506
+ padding-inline: 6px;
507
+ text-align: center;
508
+ border-radius: 6px;
509
+ float: left;
510
+ border: 1px solid #d0d5dd;
511
+ font-size: 16px;
512
+ font-weight: 400;
513
+ color: var(--_gray-600);
514
+ display: flex;
515
+ align-items: center;
516
+ justify-content: center;
517
+ }
518
+ .em_opt_val_single.selected {
519
+ background: var(--_primary-25);
387
520
  }
388
- }
389
- .em_opt_val_swatch {
390
- width: 25px;
391
- height: 25px;
392
- float: left;
393
- margin: 0px 4px 4px 0px;
394
- border-radius: 50%;
395
- background-size: 100% 100%;
396
- background-repeat: no-repeat;
397
- }
398
- .em_opt_val_single {
399
- min-width: 25px;
400
- max-width: max-content;
401
- padding: 4px;
402
- text-align: center;
403
- border-radius: 6px;
404
- margin: 0px 4px 4px 0px;
405
- float: left;
406
- border: 1px solid #d0d5dd;
407
- font-size: 16px;
408
- font-weight: 400;
409
- color: var(--_gray-600);
410
- }
411
- .em_opt_val_single.selected {
412
- background: #f2f4fc;
413
- }
414
521
 
415
- // .em_opt_val_swatch.selected {
522
+ // .em_opt_val_swatch.selected {
416
523
 
417
- // }
524
+ // }
525
+ }
418
526
  }
419
527
  }
420
528
  }
@@ -438,11 +546,13 @@
438
546
  .add_to_cart_btn_for_employee_bulk {
439
547
  height: 100%;
440
548
  width: 50%;
441
- background: #243dc6;
549
+ background: var(--_primary-400);
442
550
  border-radius: 4px;
443
- color: #fff;
444
- font-weight: 600;
551
+ color: var(--_base-white);
445
552
  font-size: 16px;
553
+ &:hover {
554
+ background-color: var(--_primary-500);
555
+ }
446
556
  }
447
557
  // .qty-action {
448
558
  // position: absolute;
@@ -487,6 +597,33 @@
487
597
  }
488
598
  }
489
599
  }
600
+
601
+ .employee_product_actions_sec {
602
+ width: 50%;
603
+ display: flex;
604
+ justify-content: right;
605
+ gap: 12px;
606
+ .employee_product_action {
607
+ padding: 12px 16px;
608
+ color: var(--_gray-600);
609
+ border-radius: 6px;
610
+ cursor: pointer;
611
+ &:hover {
612
+ background-color: var(--_primary-25);
613
+ }
614
+ }
615
+
616
+ .employee_product_action_save {
617
+ color: var(--_primary-400);
618
+ padding: 12px 16px;
619
+ border-radius: 6px;
620
+ cursor: pointer;
621
+
622
+ &:hover {
623
+ background-color: var(--_primary-25);
624
+ }
625
+ }
626
+ }
490
627
  }
491
628
 
492
629
  .right_col {
@@ -496,6 +633,7 @@
496
633
  .employee_bulk_order_header {
497
634
  display: flex;
498
635
  justify-self: end;
636
+ align-items: center;
499
637
  gap: 24px;
500
638
  .single_payment_action {
501
639
  display: flex;
@@ -516,6 +654,7 @@
516
654
  align-items: center;
517
655
  gap: 4px;
518
656
  position: relative;
657
+ line-height: 20px;
519
658
  &:after {
520
659
  content: "";
521
660
  width: 1px;
@@ -557,33 +696,46 @@
557
696
  }
558
697
  .emp_options {
559
698
  position: absolute;
560
- top: 65px;
561
- width: 200px;
699
+ top: 44px;
700
+ width: 300px;
562
701
  background-color: var(--_base-white);
563
702
  border: 1px solid var(--_gray-200);
564
703
  border-radius: 4px;
704
+ z-index: 10;
565
705
  .emp_options_header {
566
- padding: 12px 16px;
706
+ padding: 12px;
567
707
  font-size: 14px;
568
708
  font-weight: 600;
569
709
  color: var(--_gray-600);
570
710
  border-bottom: 1px solid var(--_gray-200);
571
711
  }
572
712
  .emp_options_list {
713
+ padding: 12px;
573
714
  .emp_options_list_item {
574
- padding: 12px 16px;
575
715
  display: flex;
576
716
  justify-content: space-between;
577
717
  align-items: center;
578
- &:hover {
579
- background-color: var(--_primary-25);
580
- color: var(--_primary-400);
718
+ gap: 8px;
719
+ .emp_options_list_item_label {
720
+ display: flex;
721
+ gap: 12px;
581
722
  }
723
+
724
+ // &:hover {
725
+ // background-color: var(--_primary-25);
726
+ // color: var(--_primary-400);
727
+ // }
728
+ }
729
+ p {
730
+ font-size: 12px;
731
+ color: var(--_gray-500);
732
+ padding-block: 4px 16px;
582
733
  }
583
734
  }
584
735
  .emp_options_footer {
585
736
  display: flex;
586
737
  border-top: 1px solid var(--_gray-200);
738
+
587
739
  & > div {
588
740
  flex-basis: 50%;
589
741
  display: flex;
@@ -591,6 +743,9 @@
591
743
  align-items: center;
592
744
  padding: 16px;
593
745
  cursor: pointer;
746
+ &:first-child {
747
+ border-right: 1px solid var(--_gray-200);
748
+ }
594
749
  &:hover {
595
750
  background-color: var(--_primary-25);
596
751
  svg path {
@@ -612,10 +767,13 @@
612
767
  }
613
768
  }
614
769
  .emp_discard_btn {
615
- padding: 8px 16px;
770
+ padding-inline: 16px;
616
771
  border-radius: 6px;
617
772
  color: var(--_gray-700);
618
773
  cursor: pointer;
774
+ height: 32px;
775
+ display: flex;
776
+ align-items: center;
619
777
  &.disabled {
620
778
  pointer-events: none;
621
779
  opacity: 0.8;
@@ -631,8 +789,8 @@
631
789
  width: 40px;
632
790
  }
633
791
  .em_btn_act {
634
- padding: 8px 14px;
635
- height: 40px;
792
+ padding-inline: 16px;
793
+ height: 32px;
636
794
  border-radius: 4px;
637
795
  }
638
796
 
@@ -650,11 +808,12 @@
650
808
 
651
809
  .product-card {
652
810
  display: flex;
811
+ align-items: center;
653
812
  width: 100%;
654
813
  height: 100%;
655
814
  .image-section {
656
- width: 48px;
657
- height: 64px;
815
+ width: 32px;
816
+ height: 32px;
658
817
  img {
659
818
  width: 100%;
660
819
  height: 100%;
@@ -665,7 +824,6 @@
665
824
  .info-section {
666
825
  margin-left: 12px;
667
826
  display: flex;
668
- gap: 4px;
669
827
  flex-direction: column;
670
828
  justify-content: center;
671
829
  width: calc(100% - 48px);
@@ -687,6 +845,11 @@
687
845
  display: flex;
688
846
  align-items: center;
689
847
  cursor: pointer;
848
+ &:hover {
849
+ svg path {
850
+ stroke: var(--_error-700);
851
+ }
852
+ }
690
853
  }
691
854
  }
692
855
  .em_p_code_s {
@@ -712,8 +875,14 @@
712
875
  .icon_with_label_section {
713
876
  display: flex;
714
877
  gap: 4px;
878
+ .svg_icon {
879
+ svg path {
880
+ stroke: var(--_primary-400);
881
+ }
882
+ }
715
883
  .label_elm {
716
884
  color: var(--_primary-400);
717
885
  font-size: 14px;
886
+ text-decoration: underline;
718
887
  }
719
888
  }