@magento/venia-ui 8.0.0-alpha.6 → 9.0.0-alpha.3

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 (709) hide show
  1. package/i18n/en_US.json +17 -2
  2. package/lib/RootComponents/CMS/cms.js +3 -3
  3. package/lib/RootComponents/CMS/{cms.css → cms.module.css} +0 -0
  4. package/lib/RootComponents/Category/NoProductsFound/noProductsFound.js +1 -1
  5. package/lib/RootComponents/Category/NoProductsFound/{noProductsFound.css → noProductsFound.module.css} +0 -0
  6. package/lib/RootComponents/Category/__tests__/__snapshots__/category.spec.js.snap +11 -0
  7. package/lib/RootComponents/Category/__tests__/__snapshots__/categoryContent.shimmer.spec.js.snap +430 -0
  8. package/lib/RootComponents/Category/__tests__/__snapshots__/categoryContent.spec.js.snap +272 -306
  9. package/lib/RootComponents/Category/__tests__/categoryContent.shimmer.spec.js +11 -0
  10. package/lib/RootComponents/Category/__tests__/categoryContent.spec.js +52 -6
  11. package/lib/RootComponents/Category/category.js +1 -1
  12. package/lib/RootComponents/Category/{category.css → category.module.css} +3 -1
  13. package/lib/RootComponents/Category/categoryContent.js +64 -32
  14. package/lib/RootComponents/Category/categoryContent.shimmer.js +74 -0
  15. package/lib/RootComponents/Product/__tests__/__snapshots__/product.shimmer.spec.js.snap +159 -0
  16. package/lib/RootComponents/Product/__tests__/__snapshots__/product.spec.js.snap +10 -20
  17. package/lib/RootComponents/Product/__tests__/product.shimmer.spec.js +49 -0
  18. package/lib/RootComponents/Product/__tests__/product.spec.js +45 -8
  19. package/lib/RootComponents/Product/product.js +10 -3
  20. package/lib/RootComponents/Product/product.shimmer.js +96 -0
  21. package/lib/RootComponents/Shimmer/index.js +1 -0
  22. package/lib/RootComponents/Shimmer/shimmer.js +26 -0
  23. package/lib/RootComponents/Shimmer/types/index.js +23 -0
  24. package/lib/__mocks__/classify.js +2 -0
  25. package/lib/components/Accordion/accordion.js +1 -1
  26. package/lib/components/Accordion/{accordion.css → accordion.module.css} +0 -0
  27. package/lib/components/Accordion/section.js +1 -1
  28. package/lib/components/Accordion/{section.css → section.module.css} +0 -0
  29. package/lib/components/AccountChip/__tests__/__snapshots__/accountChip.spec.js.snap +4 -4
  30. package/lib/components/AccountChip/accountChip.js +1 -1
  31. package/lib/components/AccountChip/{accountChip.css → accountChip.module.css} +1 -1
  32. package/lib/components/AccountInformationPage/__tests__/__snapshots__/accountInformationPage.spec.js.snap +0 -6
  33. package/lib/components/AccountInformationPage/__tests__/__snapshots__/editForm.spec.js.snap +50 -6
  34. package/lib/components/AccountInformationPage/__tests__/__snapshots__/editModal.spec.js.snap +50 -4
  35. package/lib/components/AccountInformationPage/__tests__/accountInformationPage.spec.js +1 -12
  36. package/lib/components/AccountInformationPage/accountInformationPage.js +1 -7
  37. package/lib/components/AccountInformationPage/{accountInformationPage.css → accountInformationPage.module.css} +1 -1
  38. package/lib/components/AccountInformationPage/editForm.js +1 -1
  39. package/lib/components/AccountInformationPage/{editForm.css → editForm.module.css} +0 -0
  40. package/lib/components/AccountInformationPage/editModal.js +1 -1
  41. package/lib/components/AccountInformationPage/{editModal.css → editModal.module.css} +0 -0
  42. package/lib/components/AccountMenu/accountMenu.js +1 -1
  43. package/lib/components/AccountMenu/{accountMenu.css → accountMenu.module.css} +0 -0
  44. package/lib/components/AccountMenu/accountMenuItems.js +1 -1
  45. package/lib/components/AccountMenu/{accountMenuItems.css → accountMenuItems.module.css} +1 -1
  46. package/lib/components/AddToCartDialog/__tests__/__snapshots__/addToCartDialog.spec.js.snap +12 -1
  47. package/lib/components/AddToCartDialog/addToCartDialog.js +15 -8
  48. package/lib/components/AddToCartDialog/{addToCartDialog.css → addToCartDialog.module.css} +1 -1
  49. package/lib/components/AddressBookPage/__tests__/__snapshots__/addEditDialog.spec.js.snap +8 -8
  50. package/lib/components/AddressBookPage/__tests__/__snapshots__/addressBookPage.spec.js.snap +73 -4
  51. package/lib/components/AddressBookPage/__tests__/__snapshots__/addressCard.spec.js.snap +110 -0
  52. package/lib/components/AddressBookPage/addEditDialog.js +1 -1
  53. package/lib/components/AddressBookPage/{addEditDialog.css → addEditDialog.module.css} +0 -0
  54. package/lib/components/AddressBookPage/addressBookPage.js +1 -1
  55. package/lib/components/AddressBookPage/{addressBookPage.css → addressBookPage.module.css} +0 -0
  56. package/lib/components/AddressBookPage/addressCard.js +1 -1
  57. package/lib/components/AddressBookPage/{addressCard.css → addressCard.module.css} +3 -3
  58. package/lib/components/App/__tests__/__snapshots__/app.spec.js.snap +2 -6
  59. package/lib/components/App/__tests__/app.spec.js +4 -1
  60. package/lib/components/App/app.js +6 -7
  61. package/lib/components/AriaButton/__tests__/__snapshots__/ariaButton.spec.js.snap +7 -0
  62. package/lib/components/AriaButton/__tests__/ariaButton.spec.js +41 -0
  63. package/lib/components/AriaButton/ariaButton.js +40 -0
  64. package/lib/components/AriaButton/index.js +1 -0
  65. package/lib/components/AuthBar/authBar.js +1 -1
  66. package/lib/components/AuthBar/{authBar.css → authBar.module.css} +1 -1
  67. package/lib/components/AuthModal/authModal.js +1 -1
  68. package/lib/components/AuthModal/{authModal.css → authModal.module.css} +2 -2
  69. package/lib/components/Breadcrumbs/__tests__/__snapshots__/breadcrumbs.spec.js.snap +10 -6
  70. package/lib/components/Breadcrumbs/__tests__/breadcrumbs.spec.js +13 -1
  71. package/lib/components/Breadcrumbs/breadcrumbs.js +29 -10
  72. package/lib/components/Breadcrumbs/{breadcrumbs.css → breadcrumbs.module.css} +0 -0
  73. package/lib/components/Breadcrumbs/breadcrumbs.shimmer.js +24 -0
  74. package/lib/components/Breadcrumbs/index.js +1 -0
  75. package/lib/components/Button/button.js +18 -7
  76. package/lib/components/Button/{button.css → button.module.css} +1 -1
  77. package/lib/components/ButtonGroup/button.js +1 -1
  78. package/lib/components/ButtonGroup/{button.css → button.module.css} +1 -1
  79. package/lib/components/ButtonGroup/buttonGroup.js +1 -1
  80. package/lib/components/ButtonGroup/{buttonGroup.css → buttonGroup.module.css} +0 -0
  81. package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCard.spec.js.snap +22 -0
  82. package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap +66 -0
  83. package/lib/components/CartPage/GiftCards/__tests__/giftCards.spec.js +10 -0
  84. package/lib/components/CartPage/GiftCards/giftCard.js +2 -2
  85. package/lib/components/CartPage/GiftCards/{giftCard.css → giftCard.module.css} +0 -0
  86. package/lib/components/CartPage/GiftCards/giftCards.js +4 -19
  87. package/lib/components/CartPage/GiftCards/{giftCards.css → giftCards.module.css} +2 -2
  88. package/lib/components/CartPage/PriceAdjustments/CouponCode/__tests__/__snapshots__/couponCode.spec.js.snap +58 -0
  89. package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.js +4 -62
  90. package/lib/components/CartPage/PriceAdjustments/CouponCode/{couponCode.css → couponCode.module.css} +1 -1
  91. package/lib/components/CartPage/PriceAdjustments/GiftOptions/__tests__/__snapshots__/giftOptions.spec.js.snap +4 -4
  92. package/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.js +5 -6
  93. package/lib/components/CartPage/PriceAdjustments/GiftOptions/{giftOptions.css → giftOptions.module.css} +0 -0
  94. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingForm.spec.js.snap +48 -0
  95. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingMethods.spec.js.snap +11 -0
  96. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingRadios.spec.js.snap +8 -8
  97. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.js +3 -37
  98. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/{shippingForm.css → shippingForm.module.css} +1 -1
  99. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.js +3 -4
  100. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/{shippingMethods.css → shippingMethods.module.css} +1 -1
  101. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.js +1 -1
  102. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/{shippingRadio.css → shippingRadio.module.css} +0 -0
  103. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.js +4 -4
  104. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/{shippingRadios.css → shippingRadios.module.css} +1 -1
  105. package/lib/components/CartPage/PriceAdjustments/priceAdjustments.js +2 -2
  106. package/lib/components/CartPage/PriceAdjustments/{priceAdjustments.css → priceAdjustments.module.css} +0 -0
  107. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/priceSummary.spec.js.snap +22 -0
  108. package/lib/components/CartPage/PriceSummary/priceSummary.js +3 -18
  109. package/lib/components/CartPage/PriceSummary/{priceSummary.css → priceSummary.module.css} +0 -0
  110. package/lib/components/CartPage/ProductListing/EditModal/__tests__/__snapshots__/productForm.spec.js.snap +77 -8
  111. package/lib/components/CartPage/ProductListing/EditModal/editModal.js +1 -1
  112. package/lib/components/CartPage/ProductListing/EditModal/productDetail.js +1 -1
  113. package/lib/components/CartPage/ProductListing/EditModal/{productDetail.css → productDetail.module.css} +0 -0
  114. package/lib/components/CartPage/ProductListing/EditModal/productForm.js +1 -76
  115. package/lib/components/CartPage/ProductListing/EditModal/{productForm.css → productForm.module.css} +3 -3
  116. package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +36 -9
  117. package/lib/components/CartPage/ProductListing/product.js +3 -3
  118. package/lib/components/CartPage/ProductListing/{product.css → product.module.css} +0 -0
  119. package/lib/components/CartPage/ProductListing/productListing.js +5 -19
  120. package/lib/components/CartPage/ProductListing/{productListing.css → productListing.module.css} +0 -0
  121. package/lib/components/CartPage/ProductListing/quantity.js +1 -1
  122. package/lib/components/CartPage/ProductListing/{quantity.css → quantity.module.css} +1 -1
  123. package/lib/components/CartPage/__tests__/cartPage.spec.js +10 -1
  124. package/lib/components/CartPage/cartPage.js +4 -9
  125. package/lib/components/CartPage/{cartPage.css → cartPage.module.css} +0 -0
  126. package/lib/components/CategoryList/categoryList.js +3 -2
  127. package/lib/components/CategoryList/{categoryList.css → categoryList.module.css} +0 -0
  128. package/lib/components/CategoryList/categoryTile.js +9 -5
  129. package/lib/components/CategoryList/{categoryTile.css → categoryTile.module.css} +0 -0
  130. package/lib/components/CategoryTree/__tests__/categoryLeaf.spec.js +3 -3
  131. package/lib/components/CategoryTree/categoryBranch.js +1 -1
  132. package/lib/components/CategoryTree/categoryBranch.module.css +11 -0
  133. package/lib/components/CategoryTree/categoryLeaf.js +6 -5
  134. package/lib/components/CategoryTree/{categoryLeaf.css → categoryLeaf.module.css} +0 -0
  135. package/lib/components/CategoryTree/categoryTree.js +8 -3
  136. package/lib/components/CategoryTree/{categoryTree.css → categoryTree.module.css} +0 -0
  137. package/lib/components/Checkbox/__tests__/__snapshots__/checkbox.spec.js.snap +2 -2
  138. package/lib/components/Checkbox/checkbox.js +3 -6
  139. package/lib/components/Checkbox/{checkbox.css → checkbox.module.css} +0 -0
  140. package/lib/components/Checkout/Receipt/__tests__/__snapshots__/receipt.spec.js.snap +11 -0
  141. package/lib/components/Checkout/Receipt/receipt.js +1 -1
  142. package/lib/components/Checkout/Receipt/{receipt.css → receipt.module.css} +0 -0
  143. package/lib/components/Checkout/__tests__/__snapshots__/addressForm.spec.js.snap +46 -0
  144. package/lib/components/Checkout/__tests__/__snapshots__/checkoutButton.spec.js.snap +22 -0
  145. package/lib/components/Checkout/__tests__/__snapshots__/overview.spec.js.snap +66 -0
  146. package/lib/components/Checkout/__tests__/__snapshots__/paymentsForm.spec.js.snap +50 -4
  147. package/lib/components/Checkout/__tests__/__snapshots__/shippingform.spec.js.snap +46 -0
  148. package/lib/components/Checkout/addressForm.js +1 -1
  149. package/lib/components/Checkout/{addressForm.css → addressForm.module.css} +3 -3
  150. package/lib/components/Checkout/braintreeDropin.js +1 -1
  151. package/lib/components/Checkout/{braintreeDropin.css → braintreeDropin.module.css} +0 -0
  152. package/lib/components/Checkout/checkoutButton.js +1 -1
  153. package/lib/components/Checkout/{checkoutButton.css → checkoutButton.module.css} +1 -1
  154. package/lib/components/Checkout/flow.js +1 -1
  155. package/lib/components/Checkout/{flow.css → flow.module.css} +0 -0
  156. package/lib/components/Checkout/form.js +1 -1
  157. package/lib/components/Checkout/{form.css → form.module.css} +2 -2
  158. package/lib/components/Checkout/label.js +1 -1
  159. package/lib/components/Checkout/{label.css → label.module.css} +0 -0
  160. package/lib/components/Checkout/paymentsForm.js +1 -1
  161. package/lib/components/Checkout/{paymentsForm.css → paymentsForm.module.css} +3 -3
  162. package/lib/components/Checkout/section.js +1 -1
  163. package/lib/components/Checkout/{section.css → section.module.css} +0 -0
  164. package/lib/components/Checkout/shippingForm.js +1 -1
  165. package/lib/components/Checkout/shippingForm.module.css +19 -0
  166. package/lib/components/CheckoutPage/AddressBook/__tests__/__snapshots__/addressBook.spec.js.snap +76 -1
  167. package/lib/components/CheckoutPage/AddressBook/addressBook.js +23 -22
  168. package/lib/components/CheckoutPage/AddressBook/{addressBook.css → addressBook.module.css} +0 -0
  169. package/lib/components/CheckoutPage/AddressBook/addressCard.js +1 -1
  170. package/lib/components/CheckoutPage/AddressBook/{addressCard.css → addressCard.module.css} +0 -0
  171. package/lib/components/CheckoutPage/BillingAddress/__tests__/billingAddress.spec.js +1 -1
  172. package/lib/components/CheckoutPage/BillingAddress/billingAddress.js +1 -1
  173. package/lib/components/CheckoutPage/BillingAddress/{billingAddress.css → billingAddress.module.css} +0 -0
  174. package/lib/components/CheckoutPage/GuestSignIn/__tests__/__snapshots__/guestSignIn.spec.js.snap +33 -0
  175. package/lib/components/CheckoutPage/GuestSignIn/guestSignIn.js +1 -1
  176. package/lib/components/CheckoutPage/GuestSignIn/{guestSignIn.css → guestSignIn.module.css} +3 -3
  177. package/lib/components/CheckoutPage/ItemsReview/__tests__/__snapshots__/itemsReview.spec.js.snap +3 -3
  178. package/lib/components/CheckoutPage/ItemsReview/__tests__/__snapshots__/showAllButton.spec.js.snap +2 -2
  179. package/lib/components/CheckoutPage/ItemsReview/item.js +1 -1
  180. package/lib/components/CheckoutPage/ItemsReview/{item.css → item.module.css} +0 -0
  181. package/lib/components/CheckoutPage/ItemsReview/itemsReview.js +1 -1
  182. package/lib/components/CheckoutPage/ItemsReview/{itemsReview.css → itemsReview.module.css} +0 -0
  183. package/lib/components/CheckoutPage/ItemsReview/showAllButton.js +1 -1
  184. package/lib/components/CheckoutPage/ItemsReview/{showAllButton.css → showAllButton.module.css} +1 -1
  185. package/lib/components/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/createAccount.spec.js.snap +54 -8
  186. package/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.js +1 -1
  187. package/lib/components/CheckoutPage/OrderConfirmationPage/{createAccount.css → createAccount.module.css} +1 -1
  188. package/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.js +1 -1
  189. package/lib/components/CheckoutPage/OrderConfirmationPage/{orderConfirmationPage.css → orderConfirmationPage.module.css} +0 -0
  190. package/lib/components/CheckoutPage/OrderSummary/orderSummary.js +1 -1
  191. package/lib/components/CheckoutPage/OrderSummary/{orderSummary.css → orderSummary.module.css} +0 -0
  192. package/lib/components/CheckoutPage/PaymentInformation/__tests__/__snapshots__/braintreeSummary.spec.js.snap +33 -0
  193. package/lib/components/CheckoutPage/PaymentInformation/__tests__/__snapshots__/paymentInformation.spec.js.snap +80 -0
  194. package/lib/components/CheckoutPage/PaymentInformation/__tests__/braintreeSummary.spec.js +1 -1
  195. package/lib/components/CheckoutPage/PaymentInformation/__tests__/creditCard.spec.js +1 -1
  196. package/lib/components/CheckoutPage/PaymentInformation/__tests__/paymentInformation.spec.js +10 -0
  197. package/lib/components/CheckoutPage/PaymentInformation/brainTreeDropIn.js +1 -1
  198. package/lib/components/CheckoutPage/PaymentInformation/{braintreeDropin.css → braintreeDropin.module.css} +0 -0
  199. package/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.js +14 -11
  200. package/lib/components/CheckoutPage/PaymentInformation/{braintreeSummary.css → braintreeSummary.module.css} +1 -1
  201. package/lib/components/CheckoutPage/PaymentInformation/creditCard.js +1 -1
  202. package/lib/components/CheckoutPage/PaymentInformation/{creditCard.css → creditCard.module.css} +0 -0
  203. package/lib/components/CheckoutPage/PaymentInformation/editCard.js +1 -1
  204. package/lib/components/CheckoutPage/PaymentInformation/{editCard.css → editCard.module.css} +0 -0
  205. package/lib/components/CheckoutPage/PaymentInformation/editModal.js +1 -2
  206. package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.js +2 -4
  207. package/lib/components/CheckoutPage/PaymentInformation/{paymentInformation.css → paymentInformation.module.css} +1 -1
  208. package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.js +2 -5
  209. package/lib/components/CheckoutPage/PaymentInformation/{paymentMethods.css → paymentMethods.module.css} +0 -0
  210. package/lib/components/CheckoutPage/PaymentInformation/summary.js +1 -1
  211. package/lib/components/CheckoutPage/PaymentInformation/{summary.css → summary.module.css} +0 -0
  212. package/lib/components/CheckoutPage/PriceAdjustments/priceAdjustments.js +1 -1
  213. package/lib/components/CheckoutPage/PriceAdjustments/{priceAdjustments.css → priceAdjustments.module.css} +0 -0
  214. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/customerForm.spec.js.snap +62 -4
  215. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/guestForm.spec.js.snap +70 -0
  216. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.js +1 -3
  217. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/{customerForm.css → customerForm.module.css} +0 -0
  218. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.js +1 -3
  219. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/{guestForm.css → guestForm.module.css} +0 -0
  220. package/lib/components/CheckoutPage/ShippingInformation/__tests__/__snapshots__/editModal.spec.js.snap +4 -4
  221. package/lib/components/CheckoutPage/ShippingInformation/__tests__/__snapshots__/shippingInformation.spec.js.snap +22 -0
  222. package/lib/components/CheckoutPage/ShippingInformation/card.js +1 -1
  223. package/lib/components/CheckoutPage/ShippingInformation/{card.css → card.module.css} +0 -0
  224. package/lib/components/CheckoutPage/ShippingInformation/editModal.js +1 -1
  225. package/lib/components/CheckoutPage/ShippingInformation/{editModal.css → editModal.module.css} +0 -0
  226. package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.js +2 -4
  227. package/lib/components/CheckoutPage/ShippingInformation/{shippingInformation.css → shippingInformation.module.css} +1 -1
  228. package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/completedView.spec.js.snap +22 -0
  229. package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/shippingMethod.spec.js.snap +28 -4
  230. package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/updateModal.spec.js.snap +54 -8
  231. package/lib/components/CheckoutPage/ShippingMethod/__tests__/shippingMethod.spec.js +3 -3
  232. package/lib/components/CheckoutPage/ShippingMethod/completedView.js +1 -1
  233. package/lib/components/CheckoutPage/ShippingMethod/{completedView.css → completedView.module.css} +0 -0
  234. package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.js +3 -6
  235. package/lib/components/CheckoutPage/ShippingMethod/{shippingMethod.css → shippingMethod.module.css} +0 -0
  236. package/lib/components/CheckoutPage/ShippingMethod/shippingRadios.js +1 -1
  237. package/lib/components/CheckoutPage/ShippingMethod/{shippingRadios.css → shippingRadios.module.css} +1 -1
  238. package/lib/components/CheckoutPage/ShippingMethod/updateModal.js +1 -1
  239. package/lib/components/CheckoutPage/ShippingMethod/{updateModal.css → updateModal.module.css} +0 -0
  240. package/lib/components/CheckoutPage/__tests__/__snapshots__/checkoutPage.spec.js.snap +170 -1
  241. package/lib/components/CheckoutPage/__tests__/checkoutPage.spec.js +28 -2
  242. package/lib/components/CheckoutPage/checkoutPage.js +1 -1
  243. package/lib/components/CheckoutPage/{checkoutPage.css → checkoutPage.module.css} +4 -4
  244. package/lib/components/CmsBlock/cmsBlock.js +1 -1
  245. package/lib/components/CmsBlock/{cmsBlock.css → cmsBlock.module.css} +0 -0
  246. package/lib/components/CommunicationsPage/__tests__/__snapshots__/communicationsPage.spec.js.snap +56 -14
  247. package/lib/components/CommunicationsPage/__tests__/communicationsPage.spec.js +4 -17
  248. package/lib/components/CommunicationsPage/communicationsPage.js +2 -13
  249. package/lib/components/CommunicationsPage/{communicationsPage.css → communicationsPage.module.css} +0 -0
  250. package/lib/components/Country/country.js +1 -1
  251. package/lib/components/Country/{country.css → country.module.css} +0 -0
  252. package/lib/components/CreateAccount/__tests__/__snapshots__/createAccount.spec.js.snap +54 -8
  253. package/lib/components/CreateAccount/__tests__/createAccount.spec.js +1 -2
  254. package/lib/components/CreateAccount/createAccount.js +1 -7
  255. package/lib/components/CreateAccount/{createAccount.css → createAccount.module.css} +2 -2
  256. package/lib/components/CreateAccountPage/__tests__/__snapshots__/createAccountPage.spec.js.snap +12 -9
  257. package/lib/components/CreateAccountPage/__tests__/createAccountPage.spec.js +21 -15
  258. package/lib/components/CreateAccountPage/createAccountPage.js +34 -13
  259. package/lib/components/CreateAccountPage/createAccountPage.module.css +20 -0
  260. package/lib/components/Dialog/__stories__/dialog.js +1 -1
  261. package/lib/components/Dialog/__stories__/{dialog.css → dialog.module.css} +0 -0
  262. package/lib/components/Dialog/__tests__/__snapshots__/dialog.spec.js.snap +150 -12
  263. package/lib/components/Dialog/dialog.js +1 -1
  264. package/lib/components/Dialog/{dialog.css → dialog.module.css} +2 -2
  265. package/lib/components/ErrorMessage/errorMessage.js +1 -1
  266. package/lib/components/ErrorMessage/{errorMessage.css → errorMessage.module.css} +0 -0
  267. package/lib/components/ErrorView/errorView.js +1 -1
  268. package/lib/components/ErrorView/{errorView.css → errorView.module.css} +0 -0
  269. package/lib/components/Field/field.js +1 -1
  270. package/lib/components/Field/{field.css → field.module.css} +0 -0
  271. package/lib/components/Field/fieldIcons.js +1 -1
  272. package/lib/components/Field/{fieldIcons.css → fieldIcons.module.css} +0 -0
  273. package/lib/components/Field/message.js +1 -1
  274. package/lib/components/Field/{message.css → message.module.css} +0 -0
  275. package/lib/components/FilterModal/CurrentFilters/__tests__/currentFilter.spec.js +73 -0
  276. package/lib/components/FilterModal/CurrentFilters/__tests__/currentFilters.spec.js +60 -0
  277. package/lib/components/FilterModal/CurrentFilters/currentFilter.js +1 -1
  278. package/lib/components/FilterModal/CurrentFilters/{currentFilter.css → currentFilter.module.css} +0 -0
  279. package/lib/components/FilterModal/CurrentFilters/currentFilters.js +1 -1
  280. package/lib/components/FilterModal/CurrentFilters/{currentFilters.css → currentFilters.module.css} +0 -0
  281. package/lib/components/FilterModal/FilterList/__tests__/filterDefault.spec.js +77 -0
  282. package/lib/components/FilterModal/FilterList/__tests__/filterItem.spec.js +1 -6
  283. package/lib/components/FilterModal/FilterList/__tests__/filterList.spec.js +94 -0
  284. package/lib/components/FilterModal/FilterList/filterDefault.js +2 -9
  285. package/lib/components/FilterModal/FilterList/{filterDefault.css → filterDefault.module.css} +0 -0
  286. package/lib/components/FilterModal/FilterList/filterItem.js +1 -2
  287. package/lib/components/FilterModal/FilterList/filterList.js +11 -16
  288. package/lib/components/FilterModal/FilterList/{filterList.css → filterList.module.css} +0 -4
  289. package/lib/components/FilterModal/__tests__/filterBlock.spec.js +77 -0
  290. package/lib/components/FilterModal/__tests__/filterFooter.spec.js +59 -0
  291. package/lib/components/FilterModal/__tests__/filterModal.spec.js +42 -3
  292. package/lib/components/FilterModal/filterBlock.js +16 -16
  293. package/lib/components/FilterModal/{filterBlock.css → filterBlock.module.css} +0 -9
  294. package/lib/components/FilterModal/filterFooter.js +1 -1
  295. package/lib/components/FilterModal/{filterFooter.css → filterFooter.module.css} +0 -0
  296. package/lib/components/FilterModal/filterModal.js +2 -2
  297. package/lib/components/FilterModal/{filterModal.css → filterModal.module.css} +0 -0
  298. package/lib/components/FilterModal/{filterSearch.css → filterSearch.module.css} +0 -0
  299. package/lib/components/FilterModalOpenButton/__tests__/filterModalOpenButton.shimmer.spec.js +63 -0
  300. package/lib/components/FilterModalOpenButton/__tests__/filterModalOpenButton.spec.js +43 -0
  301. package/lib/components/FilterModalOpenButton/filterModalOpenButton.js +5 -3
  302. package/lib/components/FilterModalOpenButton/{filterModalOpenButton.css → filterModalOpenButton.module.css} +1 -1
  303. package/lib/components/FilterModalOpenButton/filterModalOpenButton.shimmer.js +27 -0
  304. package/lib/components/FilterModalOpenButton/filterModalOpenButton.shimmer.module.css +4 -0
  305. package/lib/components/FilterModalOpenButton/index.js +3 -0
  306. package/lib/components/FilterSidebar/__tests__/filterSidebar.spec.js +82 -5
  307. package/lib/components/FilterSidebar/filterSidebar.js +26 -23
  308. package/lib/components/FilterSidebar/{filterSidebar.css → filterSidebar.module.css} +0 -0
  309. package/lib/components/FilterSidebar/filterSidebar.shimmer.js +24 -0
  310. package/lib/components/FilterSidebar/index.js +1 -0
  311. package/lib/components/Footer/__tests__/__snapshots__/footer.spec.js.snap +3 -3
  312. package/lib/components/Footer/footer.js +3 -3
  313. package/lib/components/Footer/{footer.css → footer.module.css} +0 -0
  314. package/lib/components/ForgotPassword/ForgotPasswordForm/__tests__/__snapshots__/forgotPasswordForm.spec.js.snap +23 -0
  315. package/lib/components/ForgotPassword/ForgotPasswordForm/forgotPasswordForm.js +1 -1
  316. package/lib/components/ForgotPassword/ForgotPasswordForm/{forgotPasswordForm.css → forgotPasswordForm.module.css} +2 -2
  317. package/lib/components/ForgotPassword/FormSubmissionSuccessful/formSubmissionSuccessful.js +1 -1
  318. package/lib/components/ForgotPassword/FormSubmissionSuccessful/{formSubmissionSuccessful.css → formSubmissionSuccessful.module.css} +0 -0
  319. package/lib/components/ForgotPassword/forgotPassword.js +1 -1
  320. package/lib/components/ForgotPassword/{forgotPassword.css → forgotPassword.module.css} +0 -0
  321. package/lib/components/ForgotPasswordPage/__tests__/__snapshots__/forgotPasswordPage.spec.js.snap +16 -0
  322. package/lib/components/ForgotPasswordPage/__tests__/forgotPasswordPage.spec.js +34 -0
  323. package/lib/components/ForgotPasswordPage/forgotPasswordPage.js +53 -0
  324. package/lib/components/ForgotPasswordPage/forgotPasswordPage.module.css +20 -0
  325. package/lib/components/ForgotPasswordPage/index.js +1 -0
  326. package/lib/components/FormError/formError.js +1 -1
  327. package/lib/components/FormError/{formError.css → formError.module.css} +0 -0
  328. package/lib/components/Gallery/__tests__/__snapshots__/addToCartButton.spec.js.snap +177 -0
  329. package/lib/components/Gallery/__tests__/__snapshots__/gallery.spec.js.snap +64 -4
  330. package/lib/components/Gallery/__tests__/__snapshots__/item.spec.js.snap +54 -8
  331. package/lib/components/Gallery/__tests__/addToCartButton.spec.js +44 -0
  332. package/lib/components/Gallery/__tests__/gallery.shimmer.spec.js +75 -0
  333. package/lib/components/Gallery/__tests__/gallery.spec.js +19 -8
  334. package/lib/components/Gallery/__tests__/item.spec.js +19 -5
  335. package/lib/components/Gallery/addToCartButton.js +109 -0
  336. package/lib/components/Gallery/addToCartButton.module.css +36 -0
  337. package/lib/components/Gallery/gallery.js +4 -3
  338. package/lib/components/Gallery/{gallery.css → gallery.module.css} +0 -0
  339. package/lib/components/Gallery/gallery.shimmer.js +39 -0
  340. package/lib/components/Gallery/index.js +2 -0
  341. package/lib/components/Gallery/item.js +58 -40
  342. package/lib/components/Gallery/{item.css → item.module.css} +24 -30
  343. package/lib/components/Gallery/item.shimmer.js +38 -0
  344. package/lib/components/Header/__stories__/header.js +1 -1
  345. package/lib/components/Header/__tests__/__snapshots__/cartTrigger.spec.js.snap +12 -12
  346. package/lib/components/Header/__tests__/__snapshots__/header.spec.js.snap +4 -25
  347. package/lib/components/Header/__tests__/cartTrigger.spec.js +7 -8
  348. package/lib/components/Header/__tests__/currencySwitcher.spec.js +0 -1
  349. package/lib/components/Header/__tests__/header.spec.js +6 -4
  350. package/lib/components/Header/__tests__/storeSwitcher.spec.js +0 -1
  351. package/lib/components/Header/accountTrigger.js +1 -1
  352. package/lib/components/Header/{accountTrigger.css → accountTrigger.module.css} +1 -1
  353. package/lib/components/Header/cartTrigger.js +1 -1
  354. package/lib/components/Header/{cartTrigger.css → cartTrigger.module.css} +1 -1
  355. package/lib/components/Header/currencySwitcher.js +6 -3
  356. package/lib/components/Header/{currencySwitcher.css → currencySwitcher.module.css} +0 -0
  357. package/lib/components/Header/currencySwitcher.shimmer.js +6 -0
  358. package/lib/components/Header/header.js +4 -7
  359. package/lib/components/Header/{header.css → header.module.css} +1 -1
  360. package/lib/components/Header/navTrigger.js +1 -1
  361. package/lib/components/Header/{navTrigger.css → navTrigger.module.css} +1 -1
  362. package/lib/components/Header/onlineIndicator.js +1 -1
  363. package/lib/components/Header/{onlineIndicator.css → onlineIndicator.module.css} +0 -0
  364. package/lib/components/Header/searchTrigger.js +1 -1
  365. package/lib/components/Header/{searchTrigger.css → searchTrigger.module.css} +1 -1
  366. package/lib/components/Header/storeSwitcher.js +5 -2
  367. package/lib/components/Header/{storeSwitcher.css → storeSwitcher.module.css} +0 -0
  368. package/lib/components/Header/storeSwitcher.shimmer.js +6 -0
  369. package/lib/components/Header/switcherItem.js +1 -1
  370. package/lib/components/Header/{switcherItem.css → switcherItem.module.css} +0 -0
  371. package/lib/components/HomePage/homePage.ee.js +1 -1
  372. package/lib/components/HomePage/{homePage.css → homePage.module.css} +5 -0
  373. package/lib/components/Icon/icon.js +3 -3
  374. package/lib/components/Icon/{icon.css → icon.module.css} +0 -0
  375. package/lib/components/Image/__stories__/image.js +1 -1
  376. package/lib/components/Image/__stories__/{image.css → image.module.css} +0 -0
  377. package/lib/components/Image/image.js +1 -1
  378. package/lib/components/Image/{image.css → image.module.css} +1 -1
  379. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/cartOptions.spec.js.snap +2 -2
  380. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/header.spec.js.snap +10 -1
  381. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/kebab.spec.js.snap +20 -2
  382. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/miniCart.spec.js.snap +2 -2
  383. package/lib/components/LegacyMiniCart/__tests__/__snapshots__/section.spec.js.snap +20 -2
  384. package/lib/components/LegacyMiniCart/body.js +1 -1
  385. package/lib/components/LegacyMiniCart/{body.css → body.module.css} +0 -0
  386. package/lib/components/LegacyMiniCart/cartOptions.gql.js +1 -2
  387. package/lib/components/LegacyMiniCart/cartOptions.js +1 -1
  388. package/lib/components/LegacyMiniCart/{cartOptions.css → cartOptions.module.css} +2 -2
  389. package/lib/components/LegacyMiniCart/emptyMiniCartBody.js +1 -1
  390. package/lib/components/LegacyMiniCart/{emptyMiniCartBody.css → emptyMiniCartBody.module.css} +1 -1
  391. package/lib/components/LegacyMiniCart/footer.js +1 -1
  392. package/lib/components/LegacyMiniCart/{footer.css → footer.module.css} +0 -0
  393. package/lib/components/LegacyMiniCart/header.js +1 -1
  394. package/lib/components/LegacyMiniCart/{header.css → header.module.css} +0 -0
  395. package/lib/components/LegacyMiniCart/kebab.js +1 -1
  396. package/lib/components/LegacyMiniCart/{kebab.css → kebab.module.css} +0 -0
  397. package/lib/components/LegacyMiniCart/mask.js +1 -1
  398. package/lib/components/LegacyMiniCart/mask.module.css +4 -0
  399. package/lib/components/LegacyMiniCart/miniCart.js +1 -1
  400. package/lib/components/LegacyMiniCart/{miniCart.css → miniCart.module.css} +0 -0
  401. package/lib/components/LegacyMiniCart/product.js +1 -1
  402. package/lib/components/LegacyMiniCart/{product.css → product.module.css} +0 -0
  403. package/lib/components/LegacyMiniCart/productList.js +1 -1
  404. package/lib/components/LegacyMiniCart/{productList.css → productList.module.css} +0 -0
  405. package/lib/components/LegacyMiniCart/productOptions.js +1 -1
  406. package/lib/components/LegacyMiniCart/{productOptions.css → productOptions.module.css} +0 -0
  407. package/lib/components/LegacyMiniCart/section.js +1 -1
  408. package/lib/components/LegacyMiniCart/{section.css → section.module.css} +1 -1
  409. package/lib/components/LegacyMiniCart/totalsSummary.js +1 -1
  410. package/lib/components/LegacyMiniCart/{totalsSummary.css → totalsSummary.module.css} +0 -0
  411. package/lib/components/Link/__tests__/link.spec.js +53 -0
  412. package/lib/components/Link/index.js +1 -0
  413. package/lib/components/Link/link.js +38 -0
  414. package/lib/components/LinkButton/linkButton.js +1 -1
  415. package/lib/components/LinkButton/{linkButton.css → linkButton.module.css} +1 -1
  416. package/lib/components/LoadingIndicator/index.js +1 -0
  417. package/lib/components/LoadingIndicator/indicator.js +1 -1
  418. package/lib/components/LoadingIndicator/{indicator.css → indicator.module.css} +0 -0
  419. package/lib/components/{PageLoadingIndicator/indicator.js → LoadingIndicator/spinner.js} +3 -3
  420. package/lib/components/{PageLoadingIndicator/indicator.css → LoadingIndicator/spinner.module.css} +0 -0
  421. package/lib/components/Logo/logo.js +6 -7
  422. package/lib/components/MagentoRoute/magentoRoute.js +12 -6
  423. package/lib/components/Main/main.js +1 -1
  424. package/lib/components/Main/{main.css → main.module.css} +0 -0
  425. package/lib/components/Mask/mask.js +12 -50
  426. package/lib/components/Mask/{mask.css → mask.module.css} +0 -0
  427. package/lib/components/MegaMenu/__tests__/MegaMenu.spec.js +48 -15
  428. package/lib/components/MegaMenu/__tests__/MegaMenuItem.spec.js +66 -26
  429. package/lib/components/MegaMenu/__tests__/Submenu.spec.js +16 -4
  430. package/lib/components/MegaMenu/__tests__/SubmenuColumn.spec.js +2 -3
  431. package/lib/components/MegaMenu/__tests__/__snapshots__/MegaMenu.spec.js.snap +35 -3
  432. package/lib/components/MegaMenu/__tests__/__snapshots__/MegaMenuItem.spec.js.snap +47 -56
  433. package/lib/components/MegaMenu/__tests__/__snapshots__/Submenu.spec.js.snap +40 -45
  434. package/lib/components/MegaMenu/__tests__/__snapshots__/SubmenuColumn.spec.js.snap +2 -2
  435. package/lib/components/MegaMenu/megaMenu.js +32 -7
  436. package/lib/components/MegaMenu/{megaMenu.css → megaMenu.module.css} +0 -0
  437. package/lib/components/MegaMenu/megaMenuItem.js +80 -12
  438. package/lib/components/MegaMenu/{megaMenuItem.css → megaMenuItem.module.css} +10 -0
  439. package/lib/components/MegaMenu/submenu.js +45 -9
  440. package/lib/components/MegaMenu/{submenu.css → submenu.module.css} +5 -0
  441. package/lib/components/MegaMenu/submenuColumn.js +33 -11
  442. package/lib/components/MegaMenu/{submenuColumn.css → submenuColumn.module.css} +0 -0
  443. package/lib/components/MiniCart/ProductList/__tests__/__snapshots__/item.spec.js.snap +12 -12
  444. package/lib/components/MiniCart/ProductList/item.js +5 -4
  445. package/lib/components/MiniCart/ProductList/{item.css → item.module.css} +0 -0
  446. package/lib/components/MiniCart/ProductList/productList.js +11 -3
  447. package/lib/components/MiniCart/ProductList/{productList.css → productList.module.css} +0 -0
  448. package/lib/components/MiniCart/__tests__/__snapshots__/miniCart.spec.js.snap +22 -0
  449. package/lib/components/MiniCart/miniCart.gql.js +1 -1
  450. package/lib/components/MiniCart/miniCart.js +4 -2
  451. package/lib/components/MiniCart/{miniCart.css → miniCart.module.css} +1 -1
  452. package/lib/components/MyAccount/ResetPassword/__tests__/__snapshots__/resetPassword.spec.js.snap +50 -4
  453. package/lib/components/MyAccount/ResetPassword/resetPassword.js +1 -1
  454. package/lib/components/MyAccount/ResetPassword/{resetPassword.css → resetPassword.module.css} +1 -1
  455. package/lib/components/MyAccount/accountLink.js +1 -1
  456. package/lib/components/MyAccount/{accountLink.css → accountLink.module.css} +0 -0
  457. package/lib/components/MyAccount/myAccount.js +1 -1
  458. package/lib/components/MyAccount/{myAccount.css → myAccount.module.css} +0 -0
  459. package/lib/components/Navigation/__tests__/__snapshots__/navHeader.spec.js.snap +2 -2
  460. package/lib/components/Navigation/navHeader.js +3 -3
  461. package/lib/components/Navigation/{navHeader.css → navHeader.module.css} +0 -0
  462. package/lib/components/Navigation/navigation.js +1 -1
  463. package/lib/components/Navigation/{navigation.css → navigation.module.css} +0 -0
  464. package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/item.spec.js.snap +12 -1
  465. package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/orderDetails.spec.js.snap +75 -2
  466. package/lib/components/OrderHistoryPage/OrderDetails/__tests__/orderDetails.spec.js +42 -0
  467. package/lib/components/OrderHistoryPage/OrderDetails/billingInformation.js +1 -1
  468. package/lib/components/OrderHistoryPage/OrderDetails/{billingInformation.css → billingInformation.module.css} +0 -0
  469. package/lib/components/OrderHistoryPage/OrderDetails/item.js +1 -1
  470. package/lib/components/OrderHistoryPage/OrderDetails/{item.css → item.module.css} +0 -0
  471. package/lib/components/OrderHistoryPage/OrderDetails/items.js +1 -1
  472. package/lib/components/OrderHistoryPage/OrderDetails/{items.css → items.module.css} +0 -0
  473. package/lib/components/OrderHistoryPage/OrderDetails/orderDetails.js +26 -8
  474. package/lib/components/OrderHistoryPage/OrderDetails/{orderDetails.css → orderDetails.module.css} +0 -0
  475. package/lib/components/OrderHistoryPage/OrderDetails/orderTotal.js +1 -1
  476. package/lib/components/OrderHistoryPage/OrderDetails/{orderTotal.css → orderTotal.module.css} +0 -0
  477. package/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.js +1 -1
  478. package/lib/components/OrderHistoryPage/OrderDetails/{paymentMethod.css → paymentMethod.module.css} +0 -0
  479. package/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.js +1 -1
  480. package/lib/components/OrderHistoryPage/OrderDetails/{shippingInformation.css → shippingInformation.module.css} +0 -0
  481. package/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.js +1 -1
  482. package/lib/components/OrderHistoryPage/OrderDetails/{shippingMethod.css → shippingMethod.module.css} +0 -0
  483. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderHistoryPage.spec.js.snap +81 -1
  484. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderRow.spec.js.snap +297 -0
  485. package/lib/components/OrderHistoryPage/__tests__/orderRow.spec.js +36 -0
  486. package/lib/components/OrderHistoryPage/collapsedImageGallery.js +1 -1
  487. package/lib/components/OrderHistoryPage/{collapsedImageGallery.css → collapsedImageGallery.module.css} +0 -0
  488. package/lib/components/OrderHistoryPage/orderHistoryPage.js +1 -1
  489. package/lib/components/OrderHistoryPage/{orderHistoryPage.css → orderHistoryPage.module.css} +2 -2
  490. package/lib/components/OrderHistoryPage/orderProgressBar.js +1 -1
  491. package/lib/components/OrderHistoryPage/{orderProgressBar.css → orderProgressBar.module.css} +0 -0
  492. package/lib/components/OrderHistoryPage/orderRow.js +9 -4
  493. package/lib/components/OrderHistoryPage/{orderRow.css → orderRow.module.css} +0 -0
  494. package/lib/components/PageLoadingIndicator/__tests__/pageLoadingIndicator.spec.js +63 -0
  495. package/lib/components/PageLoadingIndicator/index.js +1 -1
  496. package/lib/components/PageLoadingIndicator/pageLoadingIndicator.js +35 -0
  497. package/lib/components/PageLoadingIndicator/pageLoadingIndicator.module.css +39 -0
  498. package/lib/components/Pagination/navButton.js +1 -1
  499. package/lib/components/Pagination/{navButton.css → navButton.module.css} +2 -2
  500. package/lib/components/Pagination/pagination.js +1 -1
  501. package/lib/components/Pagination/{pagination.css → pagination.module.css} +0 -0
  502. package/lib/components/Pagination/tile.js +1 -1
  503. package/lib/components/Pagination/{tile.css → tile.module.css} +0 -0
  504. package/lib/components/Password/__tests__/__snapshots__/password.spec.js.snap +26 -4
  505. package/lib/components/Password/password.js +1 -1
  506. package/lib/components/Password/{password.css → password.module.css} +1 -1
  507. package/lib/components/Postcode/postcode.js +1 -1
  508. package/lib/components/Postcode/{postcode.css → postcode.module.css} +0 -0
  509. package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap +369 -110
  510. package/lib/components/ProductFullDetail/__tests__/productFullDetail.spec.js +46 -3
  511. package/lib/components/ProductFullDetail/productFullDetail.js +27 -15
  512. package/lib/components/ProductFullDetail/{productFullDetail.css → productFullDetail.module.css} +3 -3
  513. package/lib/components/ProductImageCarousel/__tests__/__snapshots__/carousel.spec.js.snap +71 -19
  514. package/lib/components/ProductImageCarousel/__tests__/__snapshots__/thumbnail.spec.js.snap +16 -13
  515. package/lib/components/ProductImageCarousel/__tests__/carousel.spec.js +4 -4
  516. package/lib/components/ProductImageCarousel/__tests__/thumbnail.spec.js +2 -2
  517. package/lib/components/ProductImageCarousel/carousel.js +30 -14
  518. package/lib/components/ProductImageCarousel/{carousel.css → carousel.module.css} +10 -2
  519. package/lib/components/ProductImageCarousel/carousel.shimmer.js +51 -0
  520. package/lib/components/ProductImageCarousel/carousel.shimmer.module.css +7 -0
  521. package/lib/components/ProductImageCarousel/thumbnail.js +5 -4
  522. package/lib/components/ProductImageCarousel/{thumbnail.css → thumbnail.module.css} +0 -0
  523. package/lib/components/ProductOptions/__tests__/__snapshots__/option.spec.js.snap +3 -5
  524. package/lib/components/ProductOptions/__tests__/__snapshots__/options.spec.js.snap +6 -10
  525. package/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap +4 -4
  526. package/lib/components/ProductOptions/index.js +1 -0
  527. package/lib/components/ProductOptions/option.js +2 -4
  528. package/lib/components/ProductOptions/{option.css → option.module.css} +1 -0
  529. package/lib/components/ProductOptions/option.shimmer.js +25 -0
  530. package/lib/components/ProductOptions/options.shimmer.js +16 -0
  531. package/lib/components/ProductOptions/swatch.js +1 -1
  532. package/lib/components/ProductOptions/{swatch.css → swatch.module.css} +1 -1
  533. package/lib/components/ProductOptions/swatchList.js +1 -1
  534. package/lib/components/ProductOptions/swatchList.module.css +3 -0
  535. package/lib/components/ProductOptions/tile.js +1 -1
  536. package/lib/components/ProductOptions/{tile.css → tile.module.css} +1 -1
  537. package/lib/components/ProductOptions/tileList.js +1 -1
  538. package/lib/components/ProductOptions/{tileList.css → tileList.module.css} +0 -0
  539. package/lib/components/ProductOptions/tileList.shimmer.js +32 -0
  540. package/lib/components/ProductQuantity/quantity.js +1 -1
  541. package/lib/components/ProductQuantity/{quantity.css → quantity.module.css} +0 -0
  542. package/lib/components/ProductSort/__tests__/__snapshots__/productSort.spec.js.snap +17 -3
  543. package/lib/components/ProductSort/__tests__/productSort.shimmer.spec.js +63 -0
  544. package/lib/components/ProductSort/index.js +1 -0
  545. package/lib/components/ProductSort/productSort.js +7 -2
  546. package/lib/components/ProductSort/{productSort.css → productSort.module.css} +3 -3
  547. package/lib/components/ProductSort/productSort.shimmer.js +28 -0
  548. package/lib/components/ProductSort/productSort.shimmer.module.css +14 -0
  549. package/lib/components/ProductSort/sortItem.js +1 -1
  550. package/lib/components/ProductSort/{sortItem.css → sortItem.module.css} +0 -0
  551. package/lib/components/RadioGroup/__tests__/__snapshots__/radioGroup.spec.js.snap +32 -32
  552. package/lib/components/RadioGroup/radio.js +1 -1
  553. package/lib/components/RadioGroup/{radio.css → radio.module.css} +0 -0
  554. package/lib/components/RadioGroup/radioGroup.js +3 -2
  555. package/lib/components/RadioGroup/{radioGroup.css → radioGroup.module.css} +0 -0
  556. package/lib/components/Region/region.js +1 -1
  557. package/lib/components/Region/{region.css → region.module.css} +0 -0
  558. package/lib/components/RichContent/richContent.js +1 -1
  559. package/lib/components/RichContent/{richContent.css → richContent.module.css} +0 -0
  560. package/lib/components/RichText/richText.js +1 -1
  561. package/lib/components/RichText/{richText.css → richText.module.css} +0 -0
  562. package/lib/components/Routes/__tests__/authRoute.spec.js +55 -0
  563. package/lib/components/Routes/authRoute.js +36 -0
  564. package/lib/components/Routes/routes.js +3 -1
  565. package/lib/components/SavedPaymentsPage/__tests__/__snapshots__/creditCard.spec.js.snap +76 -1
  566. package/lib/components/SavedPaymentsPage/creditCard.js +1 -1
  567. package/lib/components/SavedPaymentsPage/{creditCard.css → creditCard.module.css} +3 -3
  568. package/lib/components/SavedPaymentsPage/savedPaymentsPage.js +1 -1
  569. package/lib/components/SavedPaymentsPage/{savedPaymentsPage.css → savedPaymentsPage.module.css} +0 -0
  570. package/lib/components/ScrollAnchor/scrollAnchor.js +1 -1
  571. package/lib/components/ScrollAnchor/{scrollAnchor.css → scrollAnchor.module.css} +0 -0
  572. package/lib/components/SearchBar/__stories__/searchBar.js +1 -1
  573. package/lib/components/SearchBar/__tests__/__snapshots__/suggestedCategories.spec.js.snap +24 -4
  574. package/lib/components/SearchBar/__tests__/__snapshots__/suggestedProduct.spec.js.snap +1 -1
  575. package/lib/components/SearchBar/__tests__/suggestedCategories.spec.js +5 -6
  576. package/lib/components/SearchBar/autocomplete.js +1 -1
  577. package/lib/components/SearchBar/{autocomplete.css → autocomplete.module.css} +0 -0
  578. package/lib/components/SearchBar/searchBar.js +1 -1
  579. package/lib/components/SearchBar/{searchBar.css → searchBar.module.css} +1 -0
  580. package/lib/components/SearchBar/suggestedCategories.js +1 -1
  581. package/lib/components/SearchBar/{suggestedCategories.css → suggestedCategories.module.css} +0 -0
  582. package/lib/components/SearchBar/suggestedCategory.js +1 -1
  583. package/lib/components/SearchBar/{suggestedCategory.css → suggestedCategory.module.css} +0 -0
  584. package/lib/components/SearchBar/suggestedProduct.js +1 -1
  585. package/lib/components/SearchBar/{suggestedProduct.css → suggestedProduct.module.css} +0 -0
  586. package/lib/components/SearchBar/suggestedProducts.js +1 -1
  587. package/lib/components/SearchBar/{suggestedProducts.css → suggestedProducts.module.css} +0 -0
  588. package/lib/components/SearchBar/suggestions.js +1 -1
  589. package/lib/components/SearchBar/{suggestions.css → suggestions.module.css} +0 -0
  590. package/lib/components/SearchPage/__tests__/__snapshots__/searchPage.spec.js.snap +63 -90
  591. package/lib/components/SearchPage/__tests__/searchPage.spec.js +27 -5
  592. package/lib/components/SearchPage/searchPage.js +41 -9
  593. package/lib/components/SearchPage/{searchPage.css → searchPage.module.css} +0 -0
  594. package/lib/components/Select/select.js +1 -1
  595. package/lib/components/Select/{select.css → select.module.css} +1 -1
  596. package/lib/components/Shimmer/__stories__/shimmer.js +72 -0
  597. package/lib/components/Shimmer/__tests__/__snapshots__/shimmer.spec.js.snap +12 -0
  598. package/lib/components/Shimmer/__tests__/shimmer.spec.js +74 -0
  599. package/lib/components/Shimmer/index.js +1 -0
  600. package/lib/components/Shimmer/shimmer.js +101 -0
  601. package/lib/components/Shimmer/shimmer.module.css +77 -0
  602. package/lib/components/SignIn/__tests__/__snapshots__/signIn.spec.js.snap +4 -4
  603. package/lib/components/SignIn/signIn.gql.js +1 -2
  604. package/lib/components/SignIn/signIn.js +3 -3
  605. package/lib/components/SignIn/{signIn.css → signIn.module.css} +2 -1
  606. package/lib/components/SignInPage/__tests__/__snapshots__/signInPage.spec.js.snap +16 -0
  607. package/lib/components/SignInPage/__tests__/signInPage.spec.js +31 -0
  608. package/lib/components/SignInPage/index.js +1 -0
  609. package/lib/components/SignInPage/signInPage.js +55 -0
  610. package/lib/components/SignInPage/signInPage.module.css +20 -0
  611. package/lib/components/SortedByContainer/__tests__/sortedByContainer.shimmer.spec.js +36 -0
  612. package/lib/components/SortedByContainer/index.js +3 -0
  613. package/lib/components/SortedByContainer/sortedByContainer.js +2 -2
  614. package/lib/components/SortedByContainer/sortedByContainer.module.css +16 -0
  615. package/lib/components/SortedByContainer/sortedByContainer.shimmer.js +24 -0
  616. package/lib/components/StockStatusMessage/stockStatusMessage.js +1 -1
  617. package/lib/components/StockStatusMessage/{stockStatusMessage.css → stockStatusMessage.module.css} +0 -0
  618. package/lib/components/StoreCodeRoute/storeCodeRoute.js +3 -3
  619. package/lib/components/TextArea/textArea.js +3 -2
  620. package/lib/components/TextArea/{textArea.css → textArea.module.css} +1 -1
  621. package/lib/components/TextInput/textInput.js +3 -2
  622. package/lib/components/TextInput/{textInput.css → textInput.module.css} +2 -2
  623. package/lib/components/ToastContainer/toast.js +1 -1
  624. package/lib/components/ToastContainer/{toast.css → toast.module.css} +0 -0
  625. package/lib/components/ToastContainer/toastContainer.js +1 -1
  626. package/lib/components/ToastContainer/{toastContainer.css → toastContainer.module.css} +0 -0
  627. package/lib/components/Trigger/trigger.js +1 -1
  628. package/lib/components/Trigger/trigger.module.css +3 -0
  629. package/lib/components/Wishlist/AddToListButton/__tests__/__snapshots__/addToListButton.ce.spec.js.snap +26 -3
  630. package/lib/components/Wishlist/AddToListButton/__tests__/__snapshots__/addToListButton.ee.spec.js.snap +39 -3
  631. package/lib/components/Wishlist/AddToListButton/__tests__/__snapshots__/useCommonToasts.spec.js.snap +30 -3
  632. package/lib/components/Wishlist/AddToListButton/__tests__/addToListButton.ce.spec.js +18 -3
  633. package/lib/components/Wishlist/AddToListButton/__tests__/addToListButton.ee.spec.js +22 -3
  634. package/lib/components/Wishlist/AddToListButton/addToListButton.ce.js +7 -3
  635. package/lib/components/Wishlist/AddToListButton/addToListButton.ee.js +10 -3
  636. package/lib/components/Wishlist/AddToListButton/{addToListButton.css → addToListButton.module.css} +3 -4
  637. package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/__tests__/__snapshots__/createWishlistForm.spec.js.snap +44 -0
  638. package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/createWishlistForm.js +1 -1
  639. package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/{createWishlistForm.css → createWishlistForm.module.css} +0 -0
  640. package/lib/components/Wishlist/WishlistDialog/WishlistLineItem/wishlistLineItem.js +1 -1
  641. package/lib/components/Wishlist/WishlistDialog/WishlistLineItem/{wishlistLineItem.css → wishlistLineItem.module.css} +0 -0
  642. package/lib/components/Wishlist/WishlistDialog/wishlistDialog.js +1 -1
  643. package/lib/components/Wishlist/WishlistDialog/{wishlistDialog.css → wishlistDialog.module.css} +0 -0
  644. package/lib/components/WishlistPage/__tests__/__snapshots__/actionMenu.ee.spec.js.snap +2 -0
  645. package/lib/components/WishlistPage/__tests__/__snapshots__/createWishlist.ee.spec.js.snap +2 -2
  646. package/lib/components/WishlistPage/__tests__/__snapshots__/wishlistItem.spec.js.snap +2 -2
  647. package/lib/components/WishlistPage/__tests__/actionMenu.ee.spec.js +13 -1
  648. package/lib/components/WishlistPage/actionMenu.ee.js +6 -1
  649. package/lib/components/WishlistPage/createWishlist.ee.js +1 -1
  650. package/lib/components/WishlistPage/{createWishlist.css → createWishlist.module.css} +2 -2
  651. package/lib/components/WishlistPage/wishlist.js +2 -2
  652. package/lib/components/WishlistPage/{wishlist.css → wishlist.module.css} +1 -1
  653. package/lib/components/WishlistPage/wishlistConfirmRemoveProductDialog.js +1 -1
  654. package/lib/components/WishlistPage/{wishlistConfirmRemoveProductDialog.css → wishlistConfirmRemoveProductDialog.module.css} +2 -2
  655. package/lib/components/WishlistPage/wishlistEditFavoritesListDialog.js +1 -1
  656. package/lib/components/WishlistPage/{wishlistEditFavoritesListDialog.css → wishlistEditFavoritesListDialog.module.css} +3 -3
  657. package/lib/components/WishlistPage/wishlistItem.js +2 -2
  658. package/lib/components/WishlistPage/{wishlistItem.css → wishlistItem.module.css} +1 -1
  659. package/lib/components/WishlistPage/wishlistItems.js +1 -1
  660. package/lib/components/WishlistPage/{wishlistItems.css → wishlistItems.module.css} +0 -0
  661. package/lib/components/WishlistPage/wishlistListActionsDialog.js +1 -1
  662. package/lib/components/WishlistPage/wishlistMoreActionsDialog.js +1 -1
  663. package/lib/components/WishlistPage/{wishlistMoreActionsDialog.css → wishlistMoreActionsDialog.module.css} +0 -0
  664. package/lib/components/WishlistPage/wishlistPage.js +1 -1
  665. package/lib/components/WishlistPage/{wishlistPage.css → wishlistPage.module.css} +0 -0
  666. package/lib/components/{clickable.css → clickable.module.css} +0 -0
  667. package/lib/defaultRoutes.json +31 -7
  668. package/lib/{index.css → index.module.css} +1 -1
  669. package/lib/targets/RootShimmerTypes.js +31 -0
  670. package/lib/targets/__tests__/RootShimmerTypes.spec.js +22 -0
  671. package/lib/targets/__tests__/makeRoutesTarget.spec.js +29 -3
  672. package/lib/targets/makeRoutesTarget.js +19 -3
  673. package/lib/targets/venia-ui-declare.js +43 -3
  674. package/lib/targets/venia-ui-intercept.js +8 -0
  675. package/lib/{tokens.css → tokens.module.css} +0 -0
  676. package/package.json +11 -13
  677. package/upward.yml +68 -2
  678. package/venia-static/veniaClosed.png +0 -0
  679. package/lib/components/CartPage/GiftCards/giftCardFragments.ee.js +0 -14
  680. package/lib/components/CartPage/GiftCards/giftCardFragments.js +0 -8
  681. package/lib/components/CartPage/GiftCards/giftCardQueries.ee.js +0 -66
  682. package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCodeFragments.js +0 -10
  683. package/lib/components/CartPage/PriceAdjustments/GiftOptions/giftOptions.gql.js +0 -23
  684. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.gql.js +0 -20
  685. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethodsFragments.gql.js +0 -60
  686. package/lib/components/CartPage/PriceSummary/queries/giftCardSummary.ce.js +0 -8
  687. package/lib/components/CartPage/PriceSummary/queries/giftCardSummary.ee.js +0 -15
  688. package/lib/components/CartPage/ProductListing/EditModal/productFormFragment.gql.js +0 -47
  689. package/lib/components/CartPage/ProductListing/productListingFragments.js +0 -53
  690. package/lib/components/CartPage/cartPage.gql.js +0 -12
  691. package/lib/components/CartPage/cartPageFragments.gql.js +0 -21
  692. package/lib/components/CategoryTree/categoryBranch.css +0 -11
  693. package/lib/components/Checkout/shippingForm.css +0 -19
  694. package/lib/components/CheckoutPage/AddressBook/addressBook.gql.js +0 -38
  695. package/lib/components/CheckoutPage/AddressBook/addressBookFragments.gql.js +0 -31
  696. package/lib/components/CheckoutPage/PaymentInformation/editModal.gql.js +0 -19
  697. package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.gql.js +0 -131
  698. package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.gql.js +0 -20
  699. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.gql.js +0 -59
  700. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.gql.js +0 -47
  701. package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.gql.js +0 -58
  702. package/lib/components/CheckoutPage/ShippingInformation/shippingInformationFragments.gql.js +0 -25
  703. package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.gql.js +0 -68
  704. package/lib/components/CheckoutPage/ShippingMethod/shippingMethodFragments.gql.js +0 -64
  705. package/lib/components/CreateAccountPage/createAccountPage.css +0 -4
  706. package/lib/components/LegacyMiniCart/mask.css +0 -4
  707. package/lib/components/ProductOptions/swatchList.css +0 -3
  708. package/lib/components/SortedByContainer/sortedByContainer.css +0 -16
  709. package/lib/components/Trigger/trigger.css +0 -3
@@ -11,7 +11,7 @@ import Icon from '../Icon';
11
11
  import LoadingIndicator from '../LoadingIndicator';
12
12
  import EditableForm from './editableForm';
13
13
  import Overview from './overview';
14
- import defaultClasses from './form.css';
14
+ import defaultClasses from './form.module.css';
15
15
 
16
16
  const ErrorIcon = <Icon src={AlertCircleIcon} attrs={{ width: 18 }} />;
17
17
  const loadingText = 'Loading Checkout...';
@@ -2,13 +2,13 @@
2
2
  }
3
3
 
4
4
  .body {
5
- composes: body from './flow.css';
5
+ composes: body from './flow.module.css';
6
6
  grid-gap: 0;
7
7
  padding: 0;
8
8
  }
9
9
 
10
10
  .footer {
11
- composes: footer from './flow.css';
11
+ composes: footer from './flow.module.css';
12
12
  }
13
13
 
14
14
  .informationPrompt {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { bool, node, shape, string } from 'prop-types';
3
3
 
4
4
  import { useStyle } from '../../classify';
5
- import defaultClasses from './label.css';
5
+ import defaultClasses from './label.module.css';
6
6
 
7
7
  const Label = props => {
8
8
  const { children, plain, ...restProps } = props;
@@ -3,7 +3,7 @@ import { Form } from 'informed';
3
3
  import { array, bool, shape, string } from 'prop-types';
4
4
 
5
5
  import { useStyle } from '../../classify';
6
- import defaultClasses from './paymentsForm.css';
6
+ import defaultClasses from './paymentsForm.module.css';
7
7
  import PaymentsFormItems from './paymentsFormItems';
8
8
  import { usePaymentsForm } from '@magento/peregrine/lib/talons/Checkout/usePaymentsForm';
9
9
 
@@ -2,16 +2,16 @@
2
2
  }
3
3
 
4
4
  .heading {
5
- composes: heading from './flow.css';
5
+ composes: heading from './flow.module.css';
6
6
  }
7
7
 
8
8
  .body {
9
- composes: body from './flow.css';
9
+ composes: body from './flow.module.css';
10
10
  height: 30rem;
11
11
  }
12
12
 
13
13
  .footer {
14
- composes: footer from './flow.css';
14
+ composes: footer from './flow.module.css';
15
15
  }
16
16
 
17
17
  .textInput {
@@ -4,7 +4,7 @@ import { Edit2 as EditIcon } from 'react-feather';
4
4
 
5
5
  import { useStyle } from '../../classify';
6
6
  import Icon from '../Icon';
7
- import defaultClasses from './section.css';
7
+ import defaultClasses from './section.module.css';
8
8
 
9
9
  const editIconAttrs = {
10
10
  color: 'black',
@@ -7,7 +7,7 @@ import Label from './label';
7
7
  import Select from '../Select';
8
8
 
9
9
  import { useStyle } from '../../classify';
10
- import defaultClasses from './shippingForm.css';
10
+ import defaultClasses from './shippingForm.module.css';
11
11
  import { useShippingForm } from '@magento/peregrine/lib/talons/Checkout/useShippingForm';
12
12
 
13
13
  const ShippingForm = props => {
@@ -0,0 +1,19 @@
1
+ .root {
2
+ }
3
+
4
+ .heading {
5
+ composes: heading from './flow.module.css';
6
+ }
7
+
8
+ .body {
9
+ composes: body from './flow.module.css';
10
+ }
11
+
12
+ .footer {
13
+ composes: footer from './flow.module.css';
14
+ }
15
+
16
+ /* fields */
17
+ .shippingMethod {
18
+ grid-column-end: span 1;
19
+ }
@@ -9,7 +9,16 @@ Object {
9
9
  "width": 18,
10
10
  }
11
11
  }
12
- src={[Function]}
12
+ src={
13
+ Object {
14
+ "$$typeof": Symbol(react.forward_ref),
15
+ "propTypes": Object {
16
+ "color": [Function],
17
+ "size": [Function],
18
+ },
19
+ "render": [Function],
20
+ }
21
+ }
13
22
  />,
14
23
  "message": "Error Message",
15
24
  "timeout": 10000,
@@ -37,6 +46,17 @@ Array [
37
46
  className="root_lowPriority"
38
47
  disabled={false}
39
48
  onClick={[MockFunction handleCancel]}
49
+ onDragStart={[Function]}
50
+ onKeyDown={[Function]}
51
+ onKeyUp={[Function]}
52
+ onMouseDown={[Function]}
53
+ onMouseEnter={[Function]}
54
+ onMouseLeave={[Function]}
55
+ onMouseUp={[Function]}
56
+ onTouchCancel={[Function]}
57
+ onTouchEnd={[Function]}
58
+ onTouchMove={[Function]}
59
+ onTouchStart={[Function]}
40
60
  type="button"
41
61
  >
42
62
  <span
@@ -52,6 +72,17 @@ Array [
52
72
  className="root_highPriority"
53
73
  disabled={false}
54
74
  onClick={[MockFunction handleApplyAddress]}
75
+ onDragStart={[Function]}
76
+ onKeyDown={[Function]}
77
+ onKeyUp={[Function]}
78
+ onMouseDown={[Function]}
79
+ onMouseEnter={[Function]}
80
+ onMouseLeave={[Function]}
81
+ onMouseUp={[Function]}
82
+ onTouchCancel={[Function]}
83
+ onTouchEnd={[Function]}
84
+ onTouchMove={[Function]}
85
+ onTouchStart={[Function]}
55
86
  type="button"
56
87
  >
57
88
  <span
@@ -107,6 +138,17 @@ Array [
107
138
  className="addButton"
108
139
  disabled={false}
109
140
  onClick={[MockFunction handleAddAddress]}
141
+ onDragStart={[Function]}
142
+ onKeyDown={[Function]}
143
+ onKeyUp={[Function]}
144
+ onMouseDown={[Function]}
145
+ onMouseEnter={[Function]}
146
+ onMouseLeave={[Function]}
147
+ onMouseUp={[Function]}
148
+ onTouchCancel={[Function]}
149
+ onTouchEnd={[Function]}
150
+ onTouchMove={[Function]}
151
+ onTouchStart={[Function]}
110
152
  type="button"
111
153
  >
112
154
  <span
@@ -187,6 +229,17 @@ Array [
187
229
  className="root_lowPriority"
188
230
  disabled={true}
189
231
  onClick={[MockFunction handleCancel]}
232
+ onDragStart={[Function]}
233
+ onKeyDown={[Function]}
234
+ onKeyUp={[Function]}
235
+ onMouseDown={[Function]}
236
+ onMouseEnter={[Function]}
237
+ onMouseLeave={[Function]}
238
+ onMouseUp={[Function]}
239
+ onTouchCancel={[Function]}
240
+ onTouchEnd={[Function]}
241
+ onTouchMove={[Function]}
242
+ onTouchStart={[Function]}
190
243
  type="button"
191
244
  >
192
245
  <span
@@ -202,6 +255,17 @@ Array [
202
255
  className="root_highPriority"
203
256
  disabled={true}
204
257
  onClick={[MockFunction handleApplyAddress]}
258
+ onDragStart={[Function]}
259
+ onKeyDown={[Function]}
260
+ onKeyUp={[Function]}
261
+ onMouseDown={[Function]}
262
+ onMouseEnter={[Function]}
263
+ onMouseLeave={[Function]}
264
+ onMouseUp={[Function]}
265
+ onTouchCancel={[Function]}
266
+ onTouchEnd={[Function]}
267
+ onTouchMove={[Function]}
268
+ onTouchStart={[Function]}
205
269
  type="button"
206
270
  >
207
271
  <span
@@ -221,6 +285,17 @@ Array [
221
285
  className="addButton"
222
286
  disabled={false}
223
287
  onClick={[MockFunction handleAddAddress]}
288
+ onDragStart={[Function]}
289
+ onKeyDown={[Function]}
290
+ onKeyUp={[Function]}
291
+ onMouseDown={[Function]}
292
+ onMouseEnter={[Function]}
293
+ onMouseLeave={[Function]}
294
+ onMouseUp={[Function]}
295
+ onTouchCancel={[Function]}
296
+ onTouchEnd={[Function]}
297
+ onTouchMove={[Function]}
298
+ onTouchStart={[Function]}
224
299
  type="button"
225
300
  >
226
301
  <span
@@ -7,8 +7,7 @@ import { useAddressBook } from '@magento/peregrine/lib/talons/CheckoutPage/Addre
7
7
 
8
8
  import { useStyle } from '../../../classify';
9
9
  import Button from '../../Button';
10
- import defaultClasses from './addressBook.css';
11
- import AddressBookOperations from './addressBook.gql';
10
+ import defaultClasses from './addressBook.module.css';
12
11
  import AddressCard from './addressCard';
13
12
  import Icon from '../../Icon';
14
13
  import LinkButton from '../../LinkButton';
@@ -33,7 +32,6 @@ const AddressBook = props => {
33
32
  } = props;
34
33
 
35
34
  const talonProps = useAddressBook({
36
- ...AddressBookOperations,
37
35
  toggleActiveContent,
38
36
  onSuccess
39
37
  });
@@ -70,26 +68,29 @@ const AddressBook = props => {
70
68
  const rootClass =
71
69
  activeContent === 'addressBook' ? classes.root_active : classes.root;
72
70
 
73
- const addAddressButton = (
74
- <LinkButton
75
- className={classes.addButton}
76
- key="addAddressButton"
77
- onClick={handleAddAddress}
78
- >
79
- <Icon
80
- size={24}
81
- src={PlusSquare}
82
- classes={{
83
- icon: classes.addIcon
84
- }}
85
- />
86
- <span className={classes.addText}>
87
- <FormattedMessage
88
- id={'addressBook.addNewAddresstext'}
89
- defaultMessage={'Add New Address'}
71
+ const addAddressButton = useMemo(
72
+ () => (
73
+ <LinkButton
74
+ className={classes.addButton}
75
+ key="addAddressButton"
76
+ onClick={handleAddAddress}
77
+ >
78
+ <Icon
79
+ size={24}
80
+ src={PlusSquare}
81
+ classes={{
82
+ icon: classes.addIcon
83
+ }}
90
84
  />
91
- </span>
92
- </LinkButton>
85
+ <span className={classes.addText}>
86
+ <FormattedMessage
87
+ id={'addressBook.addNewAddresstext'}
88
+ defaultMessage={'Add New Address'}
89
+ />
90
+ </span>
91
+ </LinkButton>
92
+ ),
93
+ [classes.addButton, classes.addIcon, classes.addText, handleAddAddress]
93
94
  );
94
95
 
95
96
  const addressElements = useMemo(() => {
@@ -6,7 +6,7 @@ import { useAddressCard } from '@magento/peregrine/lib/talons/CheckoutPage/Addre
6
6
 
7
7
  import { useStyle } from '../../../classify';
8
8
  import Icon from '../../Icon';
9
- import defaultClasses from './addressCard.css';
9
+ import defaultClasses from './addressCard.module.css';
10
10
 
11
11
  const AddressCard = props => {
12
12
  const {
@@ -5,7 +5,7 @@ import Country from '@magento/venia-ui/lib/components/Country';
5
5
 
6
6
  import BillingAddress from '../billingAddress';
7
7
 
8
- import classes from '../billingAddress.css';
8
+ import classes from '../billingAddress.module.css';
9
9
 
10
10
  jest.mock('@magento/venia-ui/lib/classify');
11
11
  jest.mock(
@@ -11,7 +11,7 @@ import TextInput from '@magento/venia-ui/lib/components/TextInput';
11
11
  import FormError from '@magento/venia-ui/lib/components/FormError';
12
12
  import { isRequired } from '@magento/venia-ui/lib/util/formValidators';
13
13
 
14
- import defaultClasses from './billingAddress.css';
14
+ import defaultClasses from './billingAddress.module.css';
15
15
 
16
16
  import { useBillingAddress } from '@magento/peregrine/lib/talons/CheckoutPage/BillingAddress/useBillingAddress';
17
17
 
@@ -28,6 +28,17 @@ exports[`renders CreateAccount component 1`] = `
28
28
  className="root_normalPriority"
29
29
  disabled={false}
30
30
  onClick={[MockFunction handleBackToCheckout]}
31
+ onDragStart={[Function]}
32
+ onKeyDown={[Function]}
33
+ onKeyUp={[Function]}
34
+ onMouseDown={[Function]}
35
+ onMouseEnter={[Function]}
36
+ onMouseLeave={[Function]}
37
+ onMouseUp={[Function]}
38
+ onTouchCancel={[Function]}
39
+ onTouchEnd={[Function]}
40
+ onTouchMove={[Function]}
41
+ onTouchStart={[Function]}
31
42
  type="button"
32
43
  >
33
44
  <span
@@ -70,6 +81,17 @@ exports[`renders ForgotPassword component 1`] = `
70
81
  className="root_normalPriority"
71
82
  disabled={false}
72
83
  onClick={[MockFunction handleBackToCheckout]}
84
+ onDragStart={[Function]}
85
+ onKeyDown={[Function]}
86
+ onKeyUp={[Function]}
87
+ onMouseDown={[Function]}
88
+ onMouseEnter={[Function]}
89
+ onMouseLeave={[Function]}
90
+ onMouseUp={[Function]}
91
+ onTouchCancel={[Function]}
92
+ onTouchEnd={[Function]}
93
+ onTouchMove={[Function]}
94
+ onTouchStart={[Function]}
73
95
  type="button"
74
96
  >
75
97
  <span
@@ -114,6 +136,17 @@ exports[`renders SignIn component 2`] = `
114
136
  className="root_normalPriority"
115
137
  disabled={false}
116
138
  onClick={[MockFunction handleBackToCheckout]}
139
+ onDragStart={[Function]}
140
+ onKeyDown={[Function]}
141
+ onKeyUp={[Function]}
142
+ onMouseDown={[Function]}
143
+ onMouseEnter={[Function]}
144
+ onMouseLeave={[Function]}
145
+ onMouseUp={[Function]}
146
+ onTouchCancel={[Function]}
147
+ onTouchEnd={[Function]}
148
+ onTouchMove={[Function]}
149
+ onTouchStart={[Function]}
117
150
  type="button"
118
151
  >
119
152
  <span
@@ -8,7 +8,7 @@ import CreateAccount from '@magento/venia-ui/lib/components/CreateAccount';
8
8
  import ForgotPassword from '@magento/venia-ui/lib/components/ForgotPassword';
9
9
  import LinkButton from '@magento/venia-ui/lib/components/LinkButton';
10
10
  import SignIn from '@magento/venia-ui/lib/components/SignIn';
11
- import defaultClasses from './guestSignIn.css';
11
+ import defaultClasses from './guestSignIn.module.css';
12
12
 
13
13
  const GuestSignIn = props => {
14
14
  const { isActive, toggleActiveContent } = props;
@@ -22,15 +22,15 @@
22
22
  }
23
23
 
24
24
  .signInRoot {
25
- composes: root from '../../SignIn/signIn.css';
25
+ composes: root from '../../SignIn/signIn.module.css';
26
26
  }
27
27
 
28
28
  .forgotPasswordRoot {
29
- composes: root from '../../ForgotPassword/forgotPassword.css';
29
+ composes: root from '../../ForgotPassword/forgotPassword.module.css';
30
30
  }
31
31
 
32
32
  .createAccountRoot {
33
- composes: root from '../../CreateAccount/createAccount.css';
33
+ composes: root from '../../CreateAccount/createAccount.module.css';
34
34
  }
35
35
 
36
36
  @media (max-width: 960px) {
@@ -20,7 +20,7 @@ exports[`Snapshot test 1`] = `
20
20
  alt="Jillian Top"
21
21
  className="undefined undefined"
22
22
  loading="eager"
23
- src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAQAAADIpIVQAAAADklEQVR42mNkgAJGIhgAALQABsHyMOcAAAAASUVORK5CYII="
23
+ src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
24
24
  width={100}
25
25
  />
26
26
  <img
@@ -84,7 +84,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
84
84
  alt="Juno Sweater"
85
85
  className="undefined undefined"
86
86
  loading="eager"
87
- src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAQAAADIpIVQAAAADklEQVR42mNkgAJGIhgAALQABsHyMOcAAAAASUVORK5CYII="
87
+ src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
88
88
  width={100}
89
89
  />
90
90
  <img
@@ -148,7 +148,7 @@ https://master-7rqtwti-mfwmkrjfqvbjk.us-4.magentosite.cloud/media/catalog/produc
148
148
  alt="Angelina Tank Dress"
149
149
  className="undefined undefined"
150
150
  loading="eager"
151
- src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAQAAADIpIVQAAAADklEQVR42mNkgAJGIhgAALQABsHyMOcAAAAASUVORK5CYII="
151
+ src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPjxyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="
152
152
  width={100}
153
153
  />
154
154
  <img
@@ -14,13 +14,13 @@ exports[`Snapshot test 1`] = `
14
14
  <span>
15
15
  <svg
16
16
  fill="none"
17
- height="24"
17
+ height={24}
18
18
  stroke="currentColor"
19
19
  strokeLinecap="round"
20
20
  strokeLinejoin="round"
21
21
  strokeWidth="2"
22
22
  viewBox="0 0 24 24"
23
- width="24"
23
+ width={24}
24
24
  xmlns="http://www.w3.org/2000/svg"
25
25
  >
26
26
  <polyline
@@ -6,7 +6,7 @@ import Image from '../../Image';
6
6
  import { useStyle } from '../../../classify';
7
7
  import configuredVariant from '@magento/peregrine/lib/util/configuredVariant';
8
8
 
9
- import defaultClasses from './item.css';
9
+ import defaultClasses from './item.module.css';
10
10
 
11
11
  const Item = props => {
12
12
  const {
@@ -8,7 +8,7 @@ import ShowAllButton from './showAllButton';
8
8
  import LoadingIndicator from '../../LoadingIndicator';
9
9
  import { useStyle } from '../../../classify';
10
10
 
11
- import defaultClasses from './itemsReview.css';
11
+ import defaultClasses from './itemsReview.module.css';
12
12
 
13
13
  /**
14
14
  * Renders a list of items in an order.
@@ -5,7 +5,7 @@ import { ChevronDown as ArrowDown } from 'react-feather';
5
5
  import Icon from '../../Icon';
6
6
  import { useStyle } from '../../../classify';
7
7
 
8
- import defaultClasses from './showAllButton.css';
8
+ import defaultClasses from './showAllButton.module.css';
9
9
 
10
10
  const ShowAllButton = props => {
11
11
  const { onClick } = props;
@@ -19,6 +19,6 @@
19
19
  }
20
20
 
21
21
  .arrowDown {
22
- composes: root from '../../Icon/icon.css';
22
+ composes: root from '../../Icon/icon.module.css';
23
23
  --stroke: rgb(var(--venia-brand-color-1-700));
24
24
  }
@@ -189,6 +189,17 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
189
189
  className="passwordButton"
190
190
  disabled={false}
191
191
  onClick={[Function]}
192
+ onDragStart={[Function]}
193
+ onKeyDown={[Function]}
194
+ onKeyUp={[Function]}
195
+ onMouseDown={[Function]}
196
+ onMouseEnter={[Function]}
197
+ onMouseLeave={[Function]}
198
+ onMouseUp={[Function]}
199
+ onTouchCancel={[Function]}
200
+ onTouchEnd={[Function]}
201
+ onTouchMove={[Function]}
202
+ onTouchStart={[Function]}
192
203
  type="button"
193
204
  >
194
205
  <span
@@ -196,13 +207,13 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
196
207
  >
197
208
  <svg
198
209
  fill="none"
199
- height="24"
210
+ height={24}
200
211
  stroke="currentColor"
201
212
  strokeLinecap="round"
202
213
  strokeLinejoin="round"
203
214
  strokeWidth="2"
204
215
  viewBox="0 0 24 24"
205
- width="24"
216
+ width={24}
206
217
  xmlns="http://www.w3.org/2000/svg"
207
218
  >
208
219
  <path
@@ -244,13 +255,13 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
244
255
  >
245
256
  <svg
246
257
  fill="none"
247
- height="24"
258
+ height={24}
248
259
  stroke="currentColor"
249
260
  strokeLinecap="round"
250
261
  strokeLinejoin="round"
251
262
  strokeWidth="2"
252
263
  viewBox="0 0 24 24"
253
- width="24"
264
+ width={24}
254
265
  xmlns="http://www.w3.org/2000/svg"
255
266
  >
256
267
  <rect
@@ -279,6 +290,18 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
279
290
  <button
280
291
  className="create_account_button"
281
292
  disabled={false}
293
+ onClick={[Function]}
294
+ onDragStart={[Function]}
295
+ onKeyDown={[Function]}
296
+ onKeyUp={[Function]}
297
+ onMouseDown={[Function]}
298
+ onMouseEnter={[Function]}
299
+ onMouseLeave={[Function]}
300
+ onMouseUp={[Function]}
301
+ onTouchCancel={[Function]}
302
+ onTouchEnd={[Function]}
303
+ onTouchMove={[Function]}
304
+ onTouchStart={[Function]}
282
305
  type="submit"
283
306
  >
284
307
  <span
@@ -488,6 +511,17 @@ exports[`CreateAccount renders errors 1`] = `
488
511
  className="passwordButton"
489
512
  disabled={false}
490
513
  onClick={[Function]}
514
+ onDragStart={[Function]}
515
+ onKeyDown={[Function]}
516
+ onKeyUp={[Function]}
517
+ onMouseDown={[Function]}
518
+ onMouseEnter={[Function]}
519
+ onMouseLeave={[Function]}
520
+ onMouseUp={[Function]}
521
+ onTouchCancel={[Function]}
522
+ onTouchEnd={[Function]}
523
+ onTouchMove={[Function]}
524
+ onTouchStart={[Function]}
491
525
  type="button"
492
526
  >
493
527
  <span
@@ -495,13 +529,13 @@ exports[`CreateAccount renders errors 1`] = `
495
529
  >
496
530
  <svg
497
531
  fill="none"
498
- height="24"
532
+ height={24}
499
533
  stroke="currentColor"
500
534
  strokeLinecap="round"
501
535
  strokeLinejoin="round"
502
536
  strokeWidth="2"
503
537
  viewBox="0 0 24 24"
504
- width="24"
538
+ width={24}
505
539
  xmlns="http://www.w3.org/2000/svg"
506
540
  >
507
541
  <path
@@ -543,13 +577,13 @@ exports[`CreateAccount renders errors 1`] = `
543
577
  >
544
578
  <svg
545
579
  fill="none"
546
- height="24"
580
+ height={24}
547
581
  stroke="currentColor"
548
582
  strokeLinecap="round"
549
583
  strokeLinejoin="round"
550
584
  strokeWidth="2"
551
585
  viewBox="0 0 24 24"
552
- width="24"
586
+ width={24}
553
587
  xmlns="http://www.w3.org/2000/svg"
554
588
  >
555
589
  <rect
@@ -578,6 +612,18 @@ exports[`CreateAccount renders errors 1`] = `
578
612
  <button
579
613
  className="create_account_button"
580
614
  disabled={false}
615
+ onClick={[Function]}
616
+ onDragStart={[Function]}
617
+ onKeyDown={[Function]}
618
+ onKeyUp={[Function]}
619
+ onMouseDown={[Function]}
620
+ onMouseEnter={[Function]}
621
+ onMouseLeave={[Function]}
622
+ onMouseUp={[Function]}
623
+ onTouchCancel={[Function]}
624
+ onTouchEnd={[Function]}
625
+ onTouchMove={[Function]}
626
+ onTouchStart={[Function]}
581
627
  type="submit"
582
628
  >
583
629
  <span
@@ -20,7 +20,7 @@ import FormError from '../../FormError';
20
20
  import TextInput from '../../TextInput';
21
21
  import Password from '../../Password';
22
22
 
23
- import defaultClasses from './createAccount.css';
23
+ import defaultClasses from './createAccount.module.css';
24
24
 
25
25
  const CreateAccount = props => {
26
26
  const { formatMessage } = useIntl();