wickes-css2 2.112.0-develop.6 → 2.112.0-develop.8

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/Readme.md +1 -1
  2. package/build/css/pdp-main-before-combine.css +1 -1
  3. package/build/css/pdp-main-non-critical.css +1 -1
  4. package/build/css/pdp-main.css +1 -1
  5. package/build/js/bloomreach-widget.min.js +1 -1
  6. package/build/js/emulation.min.js +334 -8
  7. package/build/js/page/bloomreach-widget/bloomreach-widget.js +250 -0
  8. package/build/js/page/{bloomreach-widget.js → bloomreach-widget/complete-your-project-widget.js} +205 -359
  9. package/build/js/page/bloomreach-widget/why-not-add-widget.js +198 -0
  10. package/package.json +1 -5
  11. package/src/components/bloomreach/complete-card.hbs +4 -32
  12. package/src/components/bloomreach/why-not-add-card-skeleton.hbs +14 -0
  13. package/src/components/bloomreach/why-not-add-card.hbs +73 -0
  14. package/src/components/bloomreach/why-not-add-content.hbs +41 -0
  15. package/src/components/bloomreach/why-not-add-skeleton.hbs +9 -0
  16. package/src/components/bloomreach/why-not-add.hbs +6 -0
  17. package/src/components/pdp-price-actions.hbs +2 -2
  18. package/src/components/price-block-v2.hbs +2 -0
  19. package/src/components/reviews-rating.hbs +22 -0
  20. package/src/components/share-list-modal-without-social-icons.hbs +1 -1
  21. package/src/components/share-list-modal.hbs +1 -1
  22. package/src/js/emulation/bloomreach-widget-loading.js +2 -2
  23. package/src/js/emulation/mock.js +309 -0
  24. package/src/js/emulation/why-not-add-loading.js +11 -0
  25. package/src/js/emulation/why-not-add.js +28 -0
  26. package/src/js/page/bloomreach-widget/bloomreach-widget.js +250 -0
  27. package/src/js/page/{bloomreach-widget.js → bloomreach-widget/complete-your-project-widget.js} +205 -359
  28. package/src/js/page/bloomreach-widget/why-not-add-widget.js +198 -0
  29. package/src/page_product-details-bloomreach.html +1 -1
  30. package/src/page_product-details-with-global-search-v2.html +2 -1
  31. package/src/page_product-details-with-why-not-add-single.html +131 -0
  32. package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
  33. package/src/scss/components/bloomreach/_complete-card.scss +0 -38
  34. package/src/scss/components/bloomreach/_reviews.scss +60 -0
  35. package/src/scss/components/bloomreach/_why-not-add-card.scss +223 -0
  36. package/src/scss/components/bloomreach/_why-not-add.scss +143 -0
  37. package/src/sitemap.html +10 -4
@@ -0,0 +1,143 @@
1
+ .why-not-add {
2
+ display: flex;
3
+ flex-direction: column;
4
+ gap: 12px;
5
+ padding: 21px 0 12px;
6
+ margin-bottom: -19px;
7
+
8
+ &__header {
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: space-between;
12
+ }
13
+
14
+ &__title {
15
+ @include font-size(14);
16
+ @include line-height(22);
17
+
18
+ margin: 0;
19
+ font-weight: 700;
20
+ }
21
+
22
+ &__arrows {
23
+ display: flex;
24
+ align-items: center;
25
+ gap: 30px;
26
+ }
27
+
28
+ &__arrow {
29
+ @include font-size(24);
30
+
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: center;
34
+ width: 15px;
35
+ height: 24px;
36
+ padding: 0;
37
+ border: 0;
38
+ background: transparent;
39
+ color: $blue;
40
+ cursor: pointer;
41
+
42
+ &--disabled,
43
+ &.swiper-button-disabled {
44
+ color: $warm-grey;
45
+ cursor: default;
46
+ pointer-events: none;
47
+ }
48
+
49
+ &:focus {
50
+ outline: none;
51
+ }
52
+
53
+ &:focus-visible {
54
+ outline: 2px solid $blue;
55
+ outline-offset: 3px;
56
+ }
57
+ }
58
+
59
+ &__slider {
60
+ width: 100%;
61
+ }
62
+
63
+ &__slide {
64
+ height: auto;
65
+ }
66
+
67
+ &__pagination {
68
+ display: flex;
69
+ align-items: center;
70
+ justify-content: center;
71
+ gap: 6px;
72
+ min-height: 6px;
73
+ }
74
+
75
+ &__pagination-item {
76
+ cursor: pointer;
77
+ appearance: none;
78
+ display: block;
79
+ position: relative;
80
+ width: 6px;
81
+ height: 6px;
82
+ padding: 0;
83
+ border: 0;
84
+ border-radius: 8px;
85
+ background-color: $warm-grey;
86
+ line-height: 0;
87
+ transition-property: width, background-color;
88
+ transition-duration: 0.25s;
89
+ transition-timing-function: ease;
90
+ outline: none;
91
+
92
+ &:before {
93
+ content: '';
94
+ position: absolute;
95
+ top: 50%;
96
+ left: 50%;
97
+ transform: translate(-50%, -50%);
98
+ width: 200%;
99
+ height: 200%;
100
+ z-index: $dropdown-z-index;
101
+ }
102
+
103
+ &--active {
104
+ width: 24px;
105
+ background-color: $blue;
106
+ cursor: default;
107
+ z-index: $label-z-index;
108
+ }
109
+
110
+ &:focus {
111
+ outline: none;
112
+ }
113
+
114
+ &:focus-visible {
115
+ outline: 2px solid $blue;
116
+ outline-offset: 2px;
117
+ }
118
+ }
119
+
120
+ &--skeleton {
121
+ gap: 12px;
122
+
123
+ .why-not-add {
124
+ &__header {
125
+ min-height: 22px;
126
+ }
127
+
128
+ &__skeleton-title {
129
+ width: 112px;
130
+ height: 14px;
131
+ }
132
+
133
+ &__skeleton-cards {
134
+ width: 100%;
135
+ overflow: hidden;
136
+ }
137
+ }
138
+ }
139
+ }
140
+
141
+ [data-why-not-add-widget] + .pdp-price__quantity-calculator {
142
+ margin-top: 20px
143
+ }
package/src/sitemap.html CHANGED
@@ -230,30 +230,36 @@
230
230
  </li>
231
231
  <li>
232
232
  <span class="page-id">2.27</span>
233
+ <a href="page_product-details-with-why-not-add-single.html" target="_blank">
234
+ Product details page - With Why Not Add single widget
235
+ </a>
236
+ </li>
237
+ <li>
238
+ <span class="page-id">2.28</span>
233
239
  <a href="page_product-details-mfe-calculator.html" target="_blank">
234
240
  Product details page - With MFE calculator
235
241
  </a>
236
242
  </li>
237
243
  <li>
238
- <span class="page-id">2.28</span>
244
+ <span class="page-id">2.29</span>
239
245
  <a href="page_product-details-cnc-success-notification.html" target="_blank">
240
246
  Product details page - C&C success notifications
241
247
  </a>
242
248
  </li>
243
249
  <li>
244
- <span class="page-id">2.29</span>
250
+ <span class="page-id">2.30</span>
245
251
  <a href="page_product-details-cnc-error-notification.html" target="_blank">
246
252
  Product details page - C&C error notifications
247
253
  </a>
248
254
  </li>
249
255
  <li>
250
- <span class="page-id">2.30</span>
256
+ <span class="page-id">2.31</span>
251
257
  <a href="page_product-details-cnc-success-notification-vat.html" target="_blank">
252
258
  Product details page VAT
253
259
  </a>
254
260
  </li>
255
261
  <li>
256
- <span class="page-id">2.31</span>
262
+ <span class="page-id">2.32</span>
257
263
  <a href="page_product-details-paint-mixing.html" target="_blank">
258
264
  Product details page - Paint Mixing
259
265
  </a>