wickes-css2 2.113.0 → 2.117.0-develop.1

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 (233) hide show
  1. package/Readme.md +1 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/checkout-payment-details-v2.css +1 -1
  4. package/build/css/components/checkout-payment-repayment-terms.css +1 -1
  5. package/build/css/components/price-block-v2-critical.css +1 -1
  6. package/build/css/components/price-block-v2.css +1 -1
  7. package/build/css/kitchen-plp-main.css +1 -1
  8. package/build/css/main.css +1 -1
  9. package/build/css/my-account-main-v2.css +1 -1
  10. package/build/css/my-account-main.css +1 -1
  11. package/build/css/pages/checkout-new.css +1 -1
  12. package/build/css/pages/checkout.css +1 -1
  13. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  14. package/build/css/pages/page_product-details-v2-critical.css +1 -1
  15. package/build/css/pages/page_product-details-v2.css +1 -1
  16. package/build/css/pages/page_product-details.css +1 -1
  17. package/build/css/pages/page_products-list-combined.css +1 -1
  18. package/build/css/pages/page_products-list_v2.css +1 -1
  19. package/build/css/pages/tradePro-signup.css +1 -1
  20. package/build/css/pdp-main-before-combine.css +1 -1
  21. package/build/css/pdp-main-critical.css +1 -1
  22. package/build/css/pdp-main-non-critical.css +1 -1
  23. package/build/css/pdp-main.css +1 -1
  24. package/build/css/plp-main.css +1 -1
  25. package/build/css/store-locator-main.css +1 -1
  26. package/build/img/file-pdf-solid-full.svg +3 -0
  27. package/build/img/lorem_ipsum.pdf +150 -0
  28. package/build/js/account-members.min.js +1 -1
  29. package/build/js/add-project-list-id.min.js +1 -1
  30. package/build/js/address-book.min.js +1 -1
  31. package/build/js/basket.min.js +2 -2
  32. package/build/js/bloomreach-widget.min.js +1 -1
  33. package/build/js/bundle.min.js +1 -1
  34. package/build/js/change-password.min.js +1 -1
  35. package/build/js/checkout.min.js +2 -2
  36. package/build/js/emulation.min.js +400 -192
  37. package/build/js/general.bundle.min.js +1 -1
  38. package/build/js/gift-cards.min.js +1 -1
  39. package/build/js/kitchen/kitchen-plp.min.js +1 -1
  40. package/build/js/merged-checkout.min.js +2 -2
  41. package/build/js/package-bulk-add.min.js +1 -0
  42. package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +7 -6
  43. package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +47 -27
  44. package/build/js/page/bloomreach-widget/bloomreach-widget.js +5 -0
  45. package/build/js/page/bloomreach-widget/complete-your-project/view.js +11 -6
  46. package/build/js/page/bloomreach-widget/complete-your-project/widget.js +0 -1
  47. package/build/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  48. package/build/js/page/plp-load-more.js +81 -66
  49. package/build/js/page/ripple/bulk-add.js +71 -0
  50. package/build/js/page/ripple/package-bulk-add.js +43 -0
  51. package/build/js/page/ripple/postcode-checker.js +83 -0
  52. package/build/js/page/ripple/thumb-gallery.js +236 -0
  53. package/build/js/page/utils/validation.js +1 -1
  54. package/build/js/pdf-preview.min.js +1 -0
  55. package/build/js/pdp.bundle.min.js +2 -2
  56. package/build/js/personal-details.min.js +1 -1
  57. package/build/js/plp.bundle.min.js +1 -1
  58. package/build/js/postcode-checker.min.js +1 -0
  59. package/build/js/project-list.min.js +2 -2
  60. package/build/js/quiz.min.js +1 -1
  61. package/build/js/track-my-order.min.js +1 -1
  62. package/package.json +1 -1
  63. package/src/badges-ripple.html +120 -0
  64. package/src/badges.html +9 -18
  65. package/src/components/bloomreach/complete-card.hbs +1 -1
  66. package/src/components/bloomreach/why-not-add-card.hbs +26 -7
  67. package/src/components/bloomreach/why-not-add.hbs +1 -1
  68. package/src/components/fulfilment-accordions.hbs +1 -1
  69. package/src/components/image-accordion.hbs +18 -0
  70. package/src/components/kitchen/price.hbs +49 -29
  71. package/src/components/kitchen/strip-stickers.hbs +9 -3
  72. package/src/components/modal-capture.hbs +1 -1
  73. package/src/components/modal-id-type.hbs +271 -0
  74. package/src/components/modal-pdf-preview.hbs +70 -0
  75. package/src/components/package-card.hbs +30 -0
  76. package/src/components/partner-signup-form.hbs +1 -231
  77. package/src/components/pdp-price-actions.hbs +17 -0
  78. package/src/components/postcode-checker.hbs +24 -0
  79. package/src/components/price-badges.hbs +12 -10
  80. package/src/components/price-block-v2.hbs +289 -199
  81. package/src/components/product-main-info-v2.hbs +2 -0
  82. package/src/components/suite-includes.hbs +66 -0
  83. package/src/components/suite-product-card.hbs +47 -0
  84. package/src/components/thumb-gallery.hbs +23 -0
  85. package/src/data/data_badges.json +143 -0
  86. package/src/data/data_bathroom-plp.json +814 -0
  87. package/src/data/data_suite-includes-products.json +134 -0
  88. package/src/img/file-pdf-solid-full.svg +3 -0
  89. package/src/img/lorem_ipsum.pdf +150 -0
  90. package/src/js/components/banner-placement-manager.js +25 -9
  91. package/src/js/components/general/image-accordion.js +54 -0
  92. package/src/js/components/general/switchVat.js +8 -1
  93. package/src/js/components/package-card.js +69 -0
  94. package/src/js/components/store-locator-cards.js +76 -0
  95. package/src/js/emulation/banner-placement-manager.js +219 -188
  96. package/src/js/emulation/bloomreach-widget-calculations.js +1 -1
  97. package/src/js/emulation/mock.js +66 -34
  98. package/src/js/emulation/plp-load-more.js +13 -4
  99. package/src/js/emulation/postcode-checker.js +11 -0
  100. package/src/js/emulation/similar-products-loading.js +22 -0
  101. package/src/js/emulation/tradepro-id-pdf.js +182 -0
  102. package/src/js/libs/pdf-preview.js +1177 -0
  103. package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +7 -6
  104. package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +47 -27
  105. package/src/js/page/bloomreach-widget/bloomreach-widget.js +5 -0
  106. package/src/js/page/bloomreach-widget/complete-your-project/view.js +11 -6
  107. package/src/js/page/bloomreach-widget/complete-your-project/widget.js +0 -1
  108. package/src/js/page/bloomreach-widget/similar-products-widget.js +17 -0
  109. package/src/js/page/plp-load-more.js +81 -66
  110. package/src/js/page/ripple/bulk-add.js +71 -0
  111. package/src/js/page/ripple/package-bulk-add.js +43 -0
  112. package/src/js/page/ripple/postcode-checker.js +83 -0
  113. package/src/js/page/ripple/thumb-gallery.js +236 -0
  114. package/src/js/page/utils/validation.js +1 -1
  115. package/src/page_bathroom-plp-vat.html +81 -0
  116. package/src/page_bathroom-plp-without-load-more.html +83 -0
  117. package/src/page_bathroom-plp.html +98 -0
  118. package/src/page_checkout_confirmation-billie.html +5 -231
  119. package/src/page_checkout_confirmation-clearpay.html +5 -231
  120. package/src/page_checkout_confirmation-new-apple.html +5 -231
  121. package/src/page_checkout_confirmation-new-google.html +5 -231
  122. package/src/page_checkout_confirmation-new-klarna.html +5 -231
  123. package/src/page_checkout_confirmation-new-paypal.html +5 -231
  124. package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
  125. package/src/page_checkout_payment-details-v2-asm.html +2 -3
  126. package/src/page_checkout_payment-details-v2.html +2 -3
  127. package/src/page_checkout_payment-details_with-card-loader.html +2 -3
  128. package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
  129. package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
  130. package/src/page_klarna_payment-details_with-klarna.html +2 -3
  131. package/src/page_payment-details-billie-registered-only.html +2 -3
  132. package/src/page_payment-details-billie-unregistered-only.html +2 -3
  133. package/src/page_payment-details-with-billie.html +2 -3
  134. package/src/page_payment-details-with-clearpay.html +2 -3
  135. package/src/page_payment-details-with-gift-card.html +2 -3
  136. package/src/page_payment-details_with_apple-pay.html +0 -1
  137. package/src/page_payment-details_with_google-pay.html +2 -3
  138. package/src/page_pdf-preview-example.html +955 -0
  139. package/src/page_product-details-banner.html +1 -3
  140. package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
  141. package/src/page_product-details-big-wins-non-registered.html +1 -3
  142. package/src/page_product-details-big-wins-out-nearest.html +1 -3
  143. package/src/page_product-details-big-wins-unhappy.html +1 -3
  144. package/src/page_product-details-big-wins.html +1 -3
  145. package/src/page_product-details-billie.html +1 -3
  146. package/src/page_product-details-calculator.html +1 -3
  147. package/src/page_product-details-cashback-v2.html +1 -3
  148. package/src/page_product-details-clearpay.html +1 -3
  149. package/src/page_product-details-cnc-error-notification.html +1 -3
  150. package/src/page_product-details-cnc-success-notification-vat.html +1 -4
  151. package/src/page_product-details-cnc-success-notification.html +1 -3
  152. package/src/page_product-details-default-store.html +1 -3
  153. package/src/page_product-details-energy-efficiency.html +1 -3
  154. package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
  155. package/src/page_product-details-flooring.html +1 -3
  156. package/src/page_product-details-gallery-actual.html +1 -3
  157. package/src/page_product-details-mfe-calculator.html +1 -3
  158. package/src/page_product-details-mtm-doors.html +1 -3
  159. package/src/page_product-details-only-clearpay.html +1 -3
  160. package/src/page_product-details-paint-mixing.html +1 -3
  161. package/src/page_product-details-ripple-gallery-1-image.html +120 -0
  162. package/src/page_product-details-ripple-gallery-missing-image.html +121 -0
  163. package/src/page_product-details-ripple-gallery.html +121 -0
  164. package/src/page_product-details-saved-pl.html +1 -3
  165. package/src/page_product-details-suite-includes-banners.html +139 -0
  166. package/src/page_product-details-suite-includes-billie.html +128 -0
  167. package/src/page_product-details-suite-includes-klarna.html +120 -0
  168. package/src/page_product-details-suite-includes-vat.html +126 -0
  169. package/src/page_product-details-suite-includes.html +122 -0
  170. package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
  171. package/src/page_product-details-tile-steps-logout.html +1 -3
  172. package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
  173. package/src/page_product-details-tile-steps-with-klarna.html +1 -3
  174. package/src/page_product-details-tile-steps.html +1 -3
  175. package/src/page_product-details-v2.html +1 -3
  176. package/src/page_product-details-vat.html +1 -3
  177. package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
  178. package/src/page_product-details-wisdom-mcfc.html +1 -3
  179. package/src/page_product-details-wisdom-oos-registered.html +1 -3
  180. package/src/page_product-details-wisdom-oos.html +1 -3
  181. package/src/page_product-details-wisdom-registered.html +1 -3
  182. package/src/page_product-details-wisdom.html +1 -3
  183. package/src/page_product-details-with-favourite.html +1 -3
  184. package/src/page_product-details-with-global-search-v2.html +2 -3
  185. package/src/page_product-details-with-similar-products-widget.html +132 -0
  186. package/src/page_product-details-with-why-not-add-single.html +1 -0
  187. package/src/page_product-details_no-previous-default.html +1 -3
  188. package/src/page_tradePro-checkout-summary-klarna.html +4 -231
  189. package/src/page_tradePro-checkout-summary.html +4 -231
  190. package/src/page_tradePro-signup.html +5 -0
  191. package/src/scss/common/_loading-button.scss +3 -1
  192. package/src/scss/components/_date-selection-add-new-styles.scss +53 -3
  193. package/src/scss/components/_gift-cards.scss +1 -1
  194. package/src/scss/components/_id-type-modal.scss +39 -0
  195. package/src/scss/components/_image-accordion.scss +54 -0
  196. package/src/scss/components/_kitchen-card.scss +1 -0
  197. package/src/scss/components/_map.scss +38 -0
  198. package/src/scss/components/_package-card.scss +65 -0
  199. package/src/scss/components/_package-plp.scss +88 -0
  200. package/src/scss/components/_pdf-preview-modal.scss +122 -0
  201. package/src/scss/components/_postcode-checker.scss +115 -0
  202. package/src/scss/components/_price-badges-critical.scss +10 -0
  203. package/src/scss/components/_price-badges.scss +10 -0
  204. package/src/scss/components/_price-block-critical.scss +1 -0
  205. package/src/scss/components/_price-block.scss +1 -0
  206. package/src/scss/components/_suite-includes.scss +141 -0
  207. package/src/scss/components/_suite-product-card.scss +98 -0
  208. package/src/scss/components/_thumb-gallery-critical.scss +35 -0
  209. package/src/scss/components/_thumb-gallery.scss +200 -0
  210. package/src/scss/components/bloomreach/_why-not-add.scss +3 -1
  211. package/src/scss/components/checkout-payment-details-v2.scss +44 -20
  212. package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
  213. package/src/scss/components/kitchen/_price.scss +10 -0
  214. package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
  215. package/src/scss/components/price-block-v2-critical.scss +62 -0
  216. package/src/scss/components/price-block-v2.scss +62 -0
  217. package/src/scss/pages/_checkout-tradepro.scss +1 -0
  218. package/src/scss/pages/_checkout_delivery-details.scss +16 -104
  219. package/src/scss/pages/page_checkout_delivery-new.scss +252 -164
  220. package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
  221. package/src/scss/pages/page_product-details-v2.scss +168 -107
  222. package/src/scss/pages/page_product-details.scss +11 -0
  223. package/src/scss/pages/page_products-list-combined.scss +8 -6
  224. package/src/scss/pages/page_products-list_v2.scss +8 -6
  225. package/src/scss/pages/tradePro-signup.scss +1 -0
  226. package/src/scss/pdp-main-critical.scss +1 -0
  227. package/src/scss/pdp-main.scss +6 -0
  228. package/src/scss/plp-main.scss +5 -0
  229. package/src/sitemap.html +30 -6
  230. package/build/css/components/kitchen/strip-stickers.css +0 -1
  231. package/build/css/components/strip-stickers.css +0 -1
  232. package/src/scss/components/kitchen/strip-stickers.scss +0 -18
  233. package/src/scss/components/strip-stickers.scss +0 -18
@@ -54,237 +54,7 @@
54
54
  <div class="signup-tradepro__attach checkout-tradepro__attach_id">
55
55
  {{> attach-make make-attachment=true}}
56
56
  {{> modal id="attac"}}
57
- {{#extend "modal" id="attach" title="Choose Type of ID" fullWidth=true classMod="id-type"}}
58
- {{#content "sections"}}
59
-
60
- {{#extend "modal-body-section" customSectionClass="id-type-signup"}}
61
- {{#content "body"}}
62
- {{> notifications notification-page.warning withCloseBtn="true"
63
- text="Unable to attach file. Only JPG, PNG, GIF, BMP, WEBP, TIFF and HEIF image files are supported."}}
64
- <div class="signup-tradepro__modal-info">
65
- Select two forms of ID.
66
- <div class="tradepro-id-counter_wrap">
67
- <span>1</span>
68
- of
69
- <span>2</span>
70
- </div>
71
- ID's chosen
72
- </div>
73
- <div class="signup-tradepro__modal-fields">
74
- <div class="tradepro-field">
75
- <span class="icon icon__link inactive-el">
76
- <i class="far fa-link"></i>
77
- </span>
78
- <a href="#" class="signup-tradepro__modal-trigger inactive-el">Trade business website</a>
79
- <div class="signup-tradepro__modal-action">
80
- <div class="form-row" data-row-required="">
81
- <label class="form-row__label"></label>
82
- <div class="form-row__field">
83
- {{> input need-pattern=true}}
84
- <div class="form-row__error">{{error}}</div>
85
- </div>
86
- </div>
87
- <div class="signup-tradepro__modal-buttons">
88
- <div class="row">
89
- <div class="button-done">
90
- <button class="btn btn-primary">
91
- Done
92
- </button>
93
- </div>
94
- <div class="button-cancel">
95
- <button class="btn btn-secondary">
96
- Cancel
97
- </button>
98
- </div>
99
- </div>
100
- </div>
101
- </div>
102
- </div>
103
- <div class="tradepro-field">
104
- <span class="icon icon__link">
105
- <i class="far fa-link"></i>
106
- </span>
107
- <span class="icon icon__pencil">
108
- <i class="far fa-pencil"></i>
109
- </span>
110
- <a href="#" class="signup-tradepro__modal-trigger">Check a trade profile</a>
111
- <div class="signup-tradepro__modal-action">
112
- <div class="form-row" data-row-required="">
113
- <label class="form-row__label"></label>
114
- <div class="form-row__field">
115
- {{> input need-pattern=true}}
116
- <div class="form-row__error">{{error}}</div>
117
- </div>
118
- </div>
119
- <div class="signup-tradepro__modal-buttons">
120
- <div class="row">
121
- <div class="button-done">
122
- <button class="btn btn-primary">
123
- Done
124
- </button>
125
- </div>
126
- <div class="button-cancel">
127
- <button class="btn btn-secondary">
128
- Cancel
129
- </button>
130
- </div>
131
- </div>
132
- </div>
133
- </div>
134
- </div>
135
- <div class="tradepro-field">
136
- <span class="icon icon__link">
137
- <i class="far fa-link"></i>
138
- </span>
139
- <a href="#" class="signup-tradepro__modal-trigger">Facebook trade business page</a>
140
- <span class="icon icon__notification">
141
- <span class="fas fa-check-circle"></span>
142
- </span>
143
- <div class="signup-tradepro__modal-action">
144
- <div class="form-row" data-row-required="">
145
- <label class="form-row__label"></label>
146
- <div class="form-row__field">
147
- {{> input need-pattern=true}}
148
- <div class="form-row__error">{{error}}</div>
149
- </div>
150
- </div>
151
- <div class="signup-tradepro__modal-buttons">
152
- <div class="row">
153
- <div class="button-done">
154
- <button class="btn btn-primary">
155
- Done
156
- </button>
157
- </div>
158
- <div class="button-cancel">
159
- <button class="btn btn-secondary">
160
- Cancel
161
- </button>
162
- </div>
163
- </div>
164
- </div>
165
- </div>
166
- </div>
167
- <div class="tradepro-field">
168
- <span class="icon icon__link">
169
- <i class="far fa-link"></i>
170
- </span>
171
- <a href="#" class="signup-tradepro__modal-trigger">Mybuilder profile</a>
172
- <div class="signup-tradepro__modal-action">
173
- <div class="form-row" data-row-required="">
174
- <label class="form-row__label"></label>
175
- <div class="form-row__field">
176
- {{> input need-pattern=true}}
177
- <div class="form-row__error">{{error}}</div>
178
- </div>
179
- </div>
180
- <div class="signup-tradepro__modal-buttons">
181
- <div class="row">
182
- <div class="button-done">
183
- <button class="btn btn-primary">
184
- Done
185
- </button>
186
- </div>
187
- <div class="button-cancel">
188
- <button class="btn btn-secondary">
189
- Cancel
190
- </button>
191
- </div>
192
- </div>
193
- </div>
194
- </div>
195
- </div>
196
- <div class="tradepro-field">
197
- <span class="icon icon__paperclip">
198
- <i class="far fa-paperclip"></i>
199
- </span>
200
- {{> attach-make make-capture=true}}
201
- <input class="tradepro-attachment" type="file" accept="image/*" capture>
202
- </div>
203
- <div class="tradepro-field">
204
- <img src="img/placeholders/thumbnail-sm.png"/>
205
- <span class="icon icon__paperclip">
206
- <i class="far fa-paperclip"></i>
207
- </span>
208
- <span class="icon icon__camera">
209
- <i class="far fa-camera"></i>
210
- </span>
211
- <a href="#" class="signup-tradepro__modal-trigger">Letterhead</a>
212
- <input class="tradepro-attachment" type="file" accept="image/*" capture>
213
- </div>
214
- <div class="tradepro-field">
215
- <span class="icon icon__paperclip">
216
- <i class="far fa-paperclip"></i>
217
- </span>
218
- <span class="icon icon__camera">
219
- <i class="far fa-camera"></i>
220
- </span>
221
- <a href="#" class="signup-tradepro__modal-trigger">Compliment slip</a>
222
- <input class="tradepro-attachment" type="file" accept="image/*" capture>
223
- </div>
224
- <div class="tradepro-field">
225
- <span class="icon icon__edit">
226
- <i class="fas fa-edit"></i>
227
- </span>
228
- <a href="#" class="signup-tradepro__modal-trigger">Ltd company: Registration number</a>
229
- <div class="signup-tradepro__modal-action">
230
- <div class="form-row" data-row-required="">
231
- <label class="form-row__label"></label>
232
- <div class="form-row__field">
233
- {{> input need-pattern=true}}
234
- <div class="form-row__error">{{error}}</div>
235
- </div>
236
- </div>
237
- <div class="signup-tradepro__modal-buttons">
238
- <div class="row">
239
- <div class="button-done">
240
- <button class="btn btn-primary">
241
- Done
242
- </button>
243
- </div>
244
- <div class="button-cancel">
245
- <button class="btn btn-secondary">
246
- Cancel
247
- </button>
248
- </div>
249
- </div>
250
- </div>
251
- </div>
252
- </div>
253
- <div class="tradepro-field">
254
- <span class="icon icon__edit">
255
- <i class="fas fa-edit"></i>
256
- </span>
257
- <a href="#" class="signup-tradepro__modal-trigger">Plc: Registration number</a>
258
- <div class="signup-tradepro__modal-action">
259
- <div class="form-row" data-row-required="">
260
- <label class="form-row__label"></label>
261
- <div class="form-row__field">
262
- {{> input need-pattern=true}}
263
- <div class="form-row__error">{{error}}</div>
264
- </div>
265
- </div>
266
- <div class="signup-tradepro__modal-buttons">
267
- <div class="row">
268
- <div class="button-done">
269
- <button class="btn btn-primary">
270
- Done
271
- </button>
272
- </div>
273
- <div class="button-cancel">
274
- <button class="btn btn-secondary">
275
- Cancel
276
- </button>
277
- </div>
278
- </div>
279
- </div>
280
- </div>
281
- </div>
282
- </div>
283
- {{/content}}
284
- {{/extend}}
285
-
286
- {{/content}}
287
- {{/extend}}
57
+ {{> modal-id-type }}
288
58
  </div>
289
59
  <div class="chosen-form-container">
290
60
  <div class="chosen-form-wrap">
@@ -335,8 +105,11 @@
335
105
  </div>
336
106
  {{/content}}
337
107
  {{#content "foot" mode="append"}}
108
+ <script src="./js/pdf-preview.min.js"></script>
338
109
  <!--<script defer src="js/page/checkout-confirmation.js"></script>-->
339
110
  {{/content}}
340
111
  {{/extend}}
341
112
 
342
113
  {{> modal-capture }}
114
+ {{> modal-pdf-preview }}
115
+ {{> loader hidden=true modifier="basket-loader tradepro-id-loader"}}
@@ -44,6 +44,11 @@ text="Sorry, your TradePro application has already been submitted with this info
44
44
  </div>
45
45
  </div>
46
46
  {{/content}}
47
+ {{#content "foot" mode="prepend"}}
48
+ <script src="./js/pdf-preview.min.js"></script>
49
+ {{/content}}
47
50
  {{/extend}}
48
51
 
49
52
  {{> modal-capture }}
53
+ {{> modal-pdf-preview }}
54
+ {{> loader hidden=true modifier="basket-loader tradepro-id-loader"}}
@@ -14,7 +14,9 @@
14
14
  background-color: $green;
15
15
  border: 1px solid $green;
16
16
 
17
- &:focus {
17
+ &:hover,
18
+ &:focus,
19
+ &:active {
18
20
  background-color: $green;
19
21
  }
20
22
 
@@ -1,8 +1,20 @@
1
1
  .date-selection {
2
+ &__inner {
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 16px;
6
+ };
7
+
2
8
  &-hidden {
3
9
  display: none;
4
10
  }
5
11
 
12
+ .delivery-time {
13
+ &__rapid-hint {
14
+ border-top: 0;
15
+ }
16
+ }
17
+
6
18
  &__info-block {
7
19
  &-error {
8
20
  display: flex;
@@ -25,8 +37,7 @@
25
37
  }
26
38
 
27
39
  .calendar {
28
- background: $white;
29
- border: 0;
40
+ padding: 16px;
30
41
 
31
42
  &__head {
32
43
  margin-bottom: 20px;
@@ -189,8 +200,8 @@
189
200
  border: 0;
190
201
 
191
202
  .delivery-types {
192
- padding: 0 0 10px;
193
203
  margin: 0;
204
+ padding: 0;
194
205
  background: initial;
195
206
 
196
207
  &__inner {
@@ -199,6 +210,10 @@
199
210
  }
200
211
  }
201
212
  }
213
+
214
+ .calendar {
215
+ border: 1px solid $gray;
216
+ }
202
217
  }
203
218
  }
204
219
 
@@ -286,6 +301,35 @@
286
301
  }
287
302
  }
288
303
  }
304
+
305
+ .rapid-info-icon {
306
+ display: inline-flex;
307
+ align-items: center;
308
+ vertical-align: bottom;
309
+ pointer-events: auto;
310
+ margin-left: 4px;
311
+ cursor: pointer;
312
+ color: $white;
313
+ font-size: 1rem;
314
+
315
+ [data-prefix='fas'],
316
+ [data-prefix='far'] {
317
+ color: $white;
318
+ }
319
+
320
+ &:hover {
321
+ opacity: 0.8;
322
+
323
+ [data-prefix='far'] {
324
+ color: $white;
325
+ }
326
+ }
327
+ }
328
+
329
+ &__image {
330
+ position: absolute;
331
+ right: 12px;
332
+ }
289
333
  }
290
334
 
291
335
  .delivery-container {
@@ -324,12 +368,18 @@
324
368
 
325
369
  @include media-breakpoint-up(md) {
326
370
  .date-selection {
371
+ &__inner {
372
+ flex-direction: row;
373
+ };
374
+
327
375
  .delivery-date,
328
376
  .delivery-time {
329
377
  height: auto;
330
378
  }
331
379
 
332
380
  .calendar {
381
+ padding: 24px;
382
+
333
383
  &__message {
334
384
  padding: 50px 40px 70px;
335
385
  }
@@ -149,7 +149,7 @@
149
149
 
150
150
  .giftcard-applied {
151
151
  width: 100%;
152
- border: 1px solid $gray-light;
152
+ border: 1px solid $gray;
153
153
  border-radius: 4px;
154
154
  background: $white;
155
155
  padding: 15px 16px;
@@ -71,6 +71,25 @@
71
71
  vertical-align: middle;
72
72
  }
73
73
  }
74
+
75
+ &__lock,
76
+ &__info {
77
+ font-size: 0.75rem;
78
+ color: $gray;
79
+ margin-right: 5px;
80
+ width: auto;
81
+ }
82
+ }
83
+
84
+ &__hint {
85
+ margin-top: 5px;
86
+ padding-left: 34px;
87
+ font-size: 0.75rem;
88
+ color: $gray-dark;
89
+
90
+ & + & {
91
+ margin-top: 10px;
92
+ }
74
93
  }
75
94
 
76
95
  .tradepro-attachment {
@@ -80,6 +99,20 @@
80
99
  cursor: pointer;
81
100
  }
82
101
 
102
+ &[data-pdf-preview-field] {
103
+ .tradepro-attachment {
104
+ top: 0;
105
+ width: 100%;
106
+ height: 100%;
107
+ }
108
+ }
109
+
110
+ &--has-pdf {
111
+ .tradepro-attachment {
112
+ pointer-events: none;
113
+ }
114
+ }
115
+
83
116
  img {
84
117
  margin-right: 10px;
85
118
  width: 30px;
@@ -193,3 +226,9 @@
193
226
  .id-capture {
194
227
  padding-bottom: 30px;
195
228
  }
229
+
230
+ // Full-page loader shown while an ID file uploads. The "Choose Type of ID"
231
+ // modal is open at that point, so it has to sit above the modal.
232
+ .tradepro-id-loader {
233
+ z-index: $zindex-modal + 10;
234
+ }
@@ -0,0 +1,54 @@
1
+ .image-accordion {
2
+ padding-bottom: 8px;
3
+ border-bottom: 1px solid $gray;
4
+
5
+ &__preview {
6
+ display: flex;
7
+ flex-wrap: wrap;
8
+ gap: 8px;
9
+ margin-bottom: 8px;
10
+
11
+ & img {
12
+ flex-basis: calc((100% - 40px) / 6);
13
+ min-width: 45px;
14
+ }
15
+ }
16
+
17
+ &__content {
18
+ margin-bottom: 8px;
19
+ }
20
+
21
+ &__header {
22
+ position: relative;
23
+ margin-bottom: 0;
24
+ padding-left: 32px;
25
+ color: $blue;
26
+ cursor: pointer;
27
+
28
+ font-size: 0.875rem;
29
+ line-height: 1.375rem;
30
+ }
31
+
32
+ &__icon {
33
+ position: absolute;
34
+ left: 0;
35
+ top: 0;
36
+ font-size: 18px;
37
+ }
38
+
39
+ &:not(.image-accordion--collapsed) {
40
+ .image-accordion__preview {
41
+ display: none;
42
+ }
43
+ }
44
+
45
+ &--collapsed {
46
+ & .image-accordion__header {
47
+ & > .image-accordion__icon {
48
+ & > .fa-angle-up {
49
+ transform: rotate(180deg);
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
@@ -49,6 +49,7 @@
49
49
 
50
50
  &__title {
51
51
  margin-bottom: 0;
52
+ user-select: none;
52
53
  }
53
54
 
54
55
  &__parameters {
@@ -160,3 +160,41 @@
160
160
  .map-container img {
161
161
  max-width: none;
162
162
  }
163
+
164
+ // Google Maps InfoWindow overrides
165
+ .gm {
166
+ &-style-iw {
167
+ &-chr {
168
+ height: 10px;
169
+ min-height: 0 !important;
170
+ }
171
+
172
+ &-d {
173
+ max-height: 130px !important;
174
+ min-height: 0 !important;
175
+ margin-right: 30px;
176
+
177
+ div div:nth-of-type(2) {
178
+ min-height: 0 !important;
179
+ }
180
+ }
181
+
182
+ &.gm-style-iw-c {
183
+ min-height: 0 !important;
184
+ }
185
+ }
186
+
187
+ &-ui-hover-effect {
188
+ position: absolute !important;
189
+ top: 0;
190
+ right: 0;
191
+
192
+ &:focus {
193
+ outline: none !important;
194
+ }
195
+
196
+ &:focus-visible {
197
+ outline: 5px auto #005fcc !important;
198
+ }
199
+ }
200
+ }
@@ -0,0 +1,65 @@
1
+ .package-card {
2
+ display: grid;
3
+ grid-template-rows: subgrid;
4
+ grid-row: span 5;
5
+ gap: 0;
6
+
7
+ border: 1px solid $gray;
8
+ border-radius: 4px;
9
+
10
+ &.has-stickers-row {
11
+ grid-row: span 6;
12
+
13
+ .package-card__content {
14
+ grid-row: span 5;
15
+ }
16
+ }
17
+
18
+ &__image {
19
+ width: 100%;
20
+ aspect-ratio: 16/9;
21
+ object-fit: contain;
22
+ }
23
+
24
+ &__content {
25
+ display: grid;
26
+ grid-template-rows: subgrid;
27
+ grid-row: span 4;
28
+ row-gap: 12px;
29
+ padding: 16px;
30
+ }
31
+
32
+ &__title {
33
+ margin-bottom: 0;
34
+ }
35
+
36
+ &__usp {
37
+ display: flex;
38
+ flex-direction: column;
39
+ row-gap: 8px;
40
+
41
+ margin-bottom: 0;
42
+ padding-left: 0;
43
+ list-style: none;
44
+
45
+ &-item {
46
+ display: flex;
47
+ align-items: baseline;
48
+ column-gap: 8px;
49
+ }
50
+ }
51
+
52
+ &__icon {
53
+ font-size: 1rem;
54
+ flex-shrink: 0;
55
+ }
56
+
57
+ &__price,
58
+ &__button {
59
+ align-self: end;
60
+ }
61
+
62
+ &__stickers {
63
+ min-width: 0;
64
+ }
65
+ }
@@ -0,0 +1,88 @@
1
+ .package-plp {
2
+ margin-bottom: 24px;
3
+
4
+ &__cards {
5
+ display: flex;
6
+ flex-direction: column;
7
+ row-gap: 16px;
8
+ margin-top: 16px;
9
+ margin-bottom: 32px;
10
+
11
+ .card-product-banner,
12
+ .card-sponsor-banner,
13
+ .card-bloomreach-media-banner {
14
+ flex: unset;
15
+ max-width: initial;
16
+ width: 100%;
17
+ margin-bottom: 0;
18
+ padding: 0;
19
+ grid-row: span 5;
20
+ align-self: start;
21
+
22
+ &.has-stickers-row {
23
+ grid-row: span 6;
24
+ }
25
+
26
+ &__link {
27
+ padding: 0;
28
+ display: block;
29
+ height: max-content;
30
+ }
31
+
32
+ &__picture {
33
+ display: block;
34
+ }
35
+
36
+ &__image {
37
+ display: block;
38
+ width: 100%;
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ @include media-breakpoint-up(md) {
45
+ .package-plp {
46
+ &__container {
47
+ display: flex;
48
+ column-gap: 32px;
49
+ }
50
+
51
+ &__search-filter {
52
+ min-width: 210px;
53
+ }
54
+
55
+ &__content {
56
+ flex-basis: 100%;
57
+ }
58
+
59
+ &__cards {
60
+ row-gap: 24px;
61
+ margin-top: 24px;
62
+ }
63
+ }
64
+ }
65
+
66
+ @include media-breakpoint-up(md) {
67
+ .package-plp {
68
+ margin-bottom: 40px;
69
+ }
70
+ }
71
+
72
+ @include media-breakpoint-up(lg) {
73
+ .package-plp {
74
+ &__cards {
75
+ display: grid;
76
+ grid-template-columns: repeat(2, minmax(0, 1fr));
77
+ gap: 24px;
78
+ }
79
+ }
80
+ }
81
+
82
+ @include media-breakpoint-up(xl) {
83
+ .package-plp {
84
+ &__cards {
85
+ grid-template-columns: repeat(3, minmax(0, 1fr));
86
+ }
87
+ }
88
+ }