@magento/venia-ui 9.3.0-beta.1 → 9.4.0-beta.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 (296) hide show
  1. package/i18n/en_US.json +1 -1
  2. package/lib/RootComponents/CMS/cms.module.css +1 -1
  3. package/lib/RootComponents/Category/NoProductsFound/noProductsFound.module.css +18 -19
  4. package/lib/RootComponents/Category/category.module.css +50 -70
  5. package/lib/components/Accordion/accordion.module.css +4 -2
  6. package/lib/components/Accordion/section.module.css +24 -16
  7. package/lib/components/AccountChip/accountChip.module.css +5 -5
  8. package/lib/components/AccountInformationPage/accountInformationPage.module.css +22 -35
  9. package/lib/components/AccountInformationPage/editForm.module.css +13 -12
  10. package/lib/components/AccountInformationPage/editModal.module.css +1 -1
  11. package/lib/components/AccountMenu/accountMenu.module.css +34 -31
  12. package/lib/components/AccountMenu/accountMenuItems.module.css +20 -15
  13. package/lib/components/AddToCartDialog/addToCartDialog.module.css +27 -25
  14. package/lib/components/AddressBookPage/addEditDialog.module.css +10 -14
  15. package/lib/components/AddressBookPage/addressBookPage.module.css +30 -41
  16. package/lib/components/AddressBookPage/addressCard.module.css +61 -59
  17. package/lib/components/AuthBar/authBar.module.css +13 -12
  18. package/lib/components/AuthModal/authModal.module.css +5 -3
  19. package/lib/components/Breadcrumbs/breadcrumbs.module.css +12 -19
  20. package/lib/components/Button/button.module.css +95 -59
  21. package/lib/components/ButtonGroup/button.module.css +30 -28
  22. package/lib/components/ButtonGroup/buttonGroup.module.css +4 -4
  23. package/lib/components/CartPage/GiftCards/giftCard.module.css +3 -3
  24. package/lib/components/CartPage/GiftCards/giftCards.module.css +44 -41
  25. package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +26 -18
  26. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingRadios.spec.js.snap +4 -0
  27. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +7 -6
  28. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.module.css +9 -18
  29. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.module.css +1 -1
  30. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.module.css +5 -18
  31. package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftCardSection.ee.spec.js.snap +1 -1
  32. package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftOptionsSection.ce.spec.js.snap +1 -1
  33. package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftOptionsSection.ee.spec.js.snap +3 -3
  34. package/lib/components/CartPage/PriceAdjustments/__tests__/giftCardSection.ce.spec.js +1 -1
  35. package/lib/components/CartPage/PriceAdjustments/__tests__/giftCardSection.ee.spec.js +1 -1
  36. package/lib/components/CartPage/PriceAdjustments/__tests__/giftOptionsSection.ce.spec.js +1 -1
  37. package/lib/components/CartPage/PriceAdjustments/__tests__/giftOptionsSection.ee.spec.js +1 -1
  38. package/lib/components/CartPage/PriceAdjustments/giftCardSection.ce.js +2 -2
  39. package/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ce.js +2 -2
  40. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftCardSummary.ce.spec.js.snap +1 -1
  41. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftCardSummary.ee.spec.js.snap +4 -4
  42. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftOptionsSummary.ce.spec.js.snap +1 -1
  43. package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftOptionsSummary.ee.spec.js.snap +4 -4
  44. package/lib/components/CartPage/PriceSummary/__tests__/giftCardSummary.ce.spec.js +1 -1
  45. package/lib/components/CartPage/PriceSummary/__tests__/giftCardSummary.ee.spec.js +1 -1
  46. package/lib/components/CartPage/PriceSummary/__tests__/giftOptionsSummary.ce.spec.js +1 -1
  47. package/lib/components/CartPage/PriceSummary/__tests__/giftOptionsSummary.ee.spec.js +1 -1
  48. package/lib/components/CartPage/PriceSummary/giftOptionsSummary.ce.js +2 -2
  49. package/lib/components/CartPage/PriceSummary/priceSummary.module.css +16 -16
  50. package/lib/components/CartPage/ProductListing/EditModal/productDetail.module.css +16 -13
  51. package/lib/components/CartPage/ProductListing/EditModal/productForm.js +2 -2
  52. package/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +28 -22
  53. package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +4 -0
  54. package/lib/components/CartPage/ProductListing/__tests__/quantity.spec.js +3 -3
  55. package/lib/components/CartPage/ProductListing/errorMessage.module.css +11 -7
  56. package/lib/components/CartPage/ProductListing/product.module.css +67 -59
  57. package/lib/components/CartPage/ProductListing/productListing.module.css +6 -5
  58. package/lib/components/CartPage/ProductListing/quantity.js +8 -92
  59. package/lib/components/CartPage/cartPage.module.css +18 -22
  60. package/lib/components/CategoryList/categoryList.module.css +8 -7
  61. package/lib/components/CategoryList/categoryTile.module.css +14 -11
  62. package/lib/components/CategoryTree/categoryLeaf.module.css +19 -16
  63. package/lib/components/CategoryTree/categoryTree.module.css +2 -2
  64. package/lib/components/Checkbox/checkbox.module.css +33 -30
  65. package/lib/components/Checkout/Receipt/receipt.module.css +28 -23
  66. package/lib/components/Checkout/addressForm.module.css +20 -20
  67. package/lib/components/Checkout/braintreeDropin.module.css +1 -1
  68. package/lib/components/Checkout/checkoutButton.module.css +2 -1
  69. package/lib/components/Checkout/flow.module.css +34 -30
  70. package/lib/components/Checkout/form.module.css +13 -9
  71. package/lib/components/Checkout/label.module.css +6 -6
  72. package/lib/components/Checkout/paymentsForm.module.css +23 -21
  73. package/lib/components/Checkout/section.module.css +30 -31
  74. package/lib/components/Checkout/shippingForm.module.css +1 -1
  75. package/lib/components/CheckoutPage/AddressBook/addressBook.module.css +52 -61
  76. package/lib/components/CheckoutPage/AddressBook/addressCard.module.css +43 -47
  77. package/lib/components/CheckoutPage/BillingAddress/billingAddress.module.css +14 -28
  78. package/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +28 -26
  79. package/lib/components/CheckoutPage/ItemsReview/item.js +1 -1
  80. package/lib/components/CheckoutPage/ItemsReview/item.module.css +29 -18
  81. package/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +8 -5
  82. package/lib/components/CheckoutPage/ItemsReview/showAllButton.module.css +15 -11
  83. package/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.module.css +12 -26
  84. package/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +29 -37
  85. package/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +12 -17
  86. package/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +5 -2
  87. package/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.module.css +30 -50
  88. package/lib/components/CheckoutPage/PaymentInformation/creditCard.module.css +20 -34
  89. package/lib/components/CheckoutPage/PaymentInformation/editCard.module.css +3 -2
  90. package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +12 -13
  91. package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +17 -14
  92. package/lib/components/CheckoutPage/PaymentInformation/summary.module.css +9 -9
  93. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +15 -13
  94. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +14 -12
  95. package/lib/components/CheckoutPage/ShippingInformation/card.module.css +7 -7
  96. package/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +66 -49
  97. package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +37 -26
  98. package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/shippingMethod.spec.js.snap +2 -0
  99. package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/updateModal.spec.js.snap +2 -0
  100. package/lib/components/CheckoutPage/ShippingMethod/completedView.module.css +23 -26
  101. package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +17 -15
  102. package/lib/components/CheckoutPage/ShippingMethod/shippingRadios.module.css +13 -24
  103. package/lib/components/CheckoutPage/ShippingMethod/updateModal.module.css +1 -1
  104. package/lib/components/CheckoutPage/checkoutPage.module.css +85 -79
  105. package/lib/components/CmsBlock/cmsBlock.module.css +3 -1
  106. package/lib/components/CmsDynamicBlock/__tests__/__snapshots__/cmsDynamicBlock.ce.spec.js.snap +1 -1
  107. package/lib/components/CmsDynamicBlock/__tests__/__snapshots__/cmsDynamicBlock.ee.spec.js.snap +8 -8
  108. package/lib/components/CmsDynamicBlock/__tests__/cmsDynamicBlock.ce.spec.js +1 -1
  109. package/lib/components/CmsDynamicBlock/__tests__/cmsDynamicBlock.ee.spec.js +1 -1
  110. package/lib/components/CmsDynamicBlock/cmsDynamicBlock.ce.js +2 -2
  111. package/lib/components/CommunicationsPage/communicationsPage.module.css +14 -20
  112. package/lib/components/ContactPage/contactPage.module.css +1 -1
  113. package/lib/components/CreateAccount/createAccount.module.css +24 -27
  114. package/lib/components/CreateAccountPage/createAccountPage.module.css +13 -12
  115. package/lib/components/Dialog/__stories__/dialog.module.css +3 -2
  116. package/lib/components/Dialog/dialog.module.css +98 -99
  117. package/lib/components/ErrorMessage/errorMessage.module.css +4 -4
  118. package/lib/components/ErrorView/errorView.module.css +21 -24
  119. package/lib/components/Field/field.module.css +32 -35
  120. package/lib/components/Field/fieldIcons.module.css +18 -13
  121. package/lib/components/Field/message.module.css +11 -7
  122. package/lib/components/FilterModal/CurrentFilters/currentFilter.js +4 -2
  123. package/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +14 -11
  124. package/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +10 -5
  125. package/lib/components/FilterModal/FilterList/__tests__/filterItemRadio.spec.js +134 -0
  126. package/lib/components/FilterModal/FilterList/filterItemRadio.js +76 -0
  127. package/lib/components/FilterModal/FilterList/filterItemRadio.module.css +0 -0
  128. package/lib/components/FilterModal/FilterList/filterItemRadioGroup.js +86 -0
  129. package/lib/components/FilterModal/FilterList/filterList.js +65 -41
  130. package/lib/components/FilterModal/FilterList/filterList.module.css +8 -10
  131. package/lib/components/FilterModal/__tests__/filterModal.spec.js +58 -3
  132. package/lib/components/FilterModal/filterBlock.js +4 -0
  133. package/lib/components/FilterModal/filterBlock.module.css +15 -12
  134. package/lib/components/FilterModal/filterFooter.module.css +8 -8
  135. package/lib/components/FilterModal/filterModal.js +4 -2
  136. package/lib/components/FilterModal/filterModal.module.css +49 -28
  137. package/lib/components/FilterModal/filterSearch.module.css +1 -1
  138. package/lib/components/FilterModalOpenButton/filterModalOpenButton.module.css +3 -6
  139. package/lib/components/FilterSidebar/__tests__/filterSidebar.spec.js +9 -2
  140. package/lib/components/FilterSidebar/filterSidebar.js +4 -1
  141. package/lib/components/FilterSidebar/filterSidebar.module.css +33 -25
  142. package/lib/components/Footer/footer.module.css +89 -109
  143. package/lib/components/ForgotPassword/ForgotPasswordForm/forgotPasswordForm.module.css +11 -11
  144. package/lib/components/ForgotPassword/FormSubmissionSuccessful/formSubmissionSuccessful.module.css +7 -7
  145. package/lib/components/ForgotPassword/forgotPassword.module.css +9 -8
  146. package/lib/components/ForgotPasswordPage/forgotPasswordPage.module.css +13 -12
  147. package/lib/components/Gallery/__tests__/__snapshots__/gallery.spec.js.snap +2 -2
  148. package/lib/components/Gallery/__tests__/__snapshots__/item.spec.js.snap +1 -1
  149. package/lib/components/Gallery/__tests__/gallery.spec.js +2 -2
  150. package/lib/components/Gallery/__tests__/item.spec.js +1 -1
  151. package/lib/components/Gallery/addToCartButton.module.css +15 -25
  152. package/lib/components/Gallery/gallery.module.css +7 -7
  153. package/lib/components/Gallery/item.js +12 -5
  154. package/lib/components/Gallery/item.module.css +31 -27
  155. package/lib/components/Header/accountTrigger.module.css +9 -14
  156. package/lib/components/Header/cartTrigger.module.css +30 -37
  157. package/lib/components/Header/currencySwitcher.module.css +67 -50
  158. package/lib/components/Header/header.js +5 -1
  159. package/lib/components/Header/header.module.css +26 -36
  160. package/lib/components/Header/navTrigger.module.css +4 -7
  161. package/lib/components/Header/onlineIndicator.module.css +11 -9
  162. package/lib/components/Header/searchTrigger.module.css +8 -13
  163. package/lib/components/Header/storeSwitcher.module.css +61 -52
  164. package/lib/components/Header/switcherItem.module.css +12 -11
  165. package/lib/components/HomePage/homePage.module.css +9 -8
  166. package/lib/components/Icon/icon.module.css +9 -8
  167. package/lib/components/Image/__stories__/image.module.css +4 -4
  168. package/lib/components/Image/image.module.css +16 -9
  169. package/lib/components/LegacyMiniCart/body.module.css +2 -2
  170. package/lib/components/LegacyMiniCart/cartOptions.module.css +29 -23
  171. package/lib/components/LegacyMiniCart/emptyMiniCartBody.module.css +9 -9
  172. package/lib/components/LegacyMiniCart/footer.module.css +10 -6
  173. package/lib/components/LegacyMiniCart/header.module.css +20 -19
  174. package/lib/components/LegacyMiniCart/kebab.module.css +19 -28
  175. package/lib/components/LegacyMiniCart/mask.module.css +2 -1
  176. package/lib/components/LegacyMiniCart/miniCart.js +3 -0
  177. package/lib/components/LegacyMiniCart/miniCart.module.css +22 -15
  178. package/lib/components/LegacyMiniCart/product.module.css +36 -32
  179. package/lib/components/LegacyMiniCart/productList.module.css +6 -4
  180. package/lib/components/LegacyMiniCart/productOptions.module.css +9 -9
  181. package/lib/components/LegacyMiniCart/section.js +2 -0
  182. package/lib/components/LegacyMiniCart/section.module.css +28 -16
  183. package/lib/components/LegacyMiniCart/totalsSummary.module.css +11 -10
  184. package/lib/components/LinkButton/linkButton.module.css +8 -9
  185. package/lib/components/LoadingIndicator/indicator.module.css +20 -18
  186. package/lib/components/LoadingIndicator/spinner.module.css +1 -10
  187. package/lib/components/Main/main.module.css +7 -6
  188. package/lib/components/Mask/mask.module.css +19 -14
  189. package/lib/components/MegaMenu/__tests__/__snapshots__/MegaMenu.spec.js.snap +1 -1
  190. package/lib/components/MegaMenu/__tests__/__snapshots__/Submenu.spec.js.snap +1 -1
  191. package/lib/components/MegaMenu/megaMenuItem.module.css +9 -7
  192. package/lib/components/MegaMenu/submenu.js +1 -1
  193. package/lib/components/MegaMenu/submenu.module.css +22 -16
  194. package/lib/components/MegaMenu/submenuColumn.module.css +11 -9
  195. package/lib/components/MiniCart/ProductList/item.module.css +16 -13
  196. package/lib/components/MiniCart/ProductList/productList.module.css +2 -2
  197. package/lib/components/MiniCart/miniCart.module.css +81 -67
  198. package/lib/components/MyAccount/ResetPassword/resetPassword.module.css +25 -26
  199. package/lib/components/MyAccount/accountLink.module.css +17 -15
  200. package/lib/components/MyAccount/myAccount.module.css +3 -3
  201. package/lib/components/Navigation/navHeader.module.css +7 -6
  202. package/lib/components/Navigation/navigation.module.css +82 -68
  203. package/lib/components/Newsletter/newsletter.module.css +59 -64
  204. package/lib/components/OrderHistoryPage/OrderDetails/billingInformation.module.css +4 -4
  205. package/lib/components/OrderHistoryPage/OrderDetails/item.module.css +21 -25
  206. package/lib/components/OrderHistoryPage/OrderDetails/items.module.css +8 -12
  207. package/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +20 -26
  208. package/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +30 -31
  209. package/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.module.css +4 -4
  210. package/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.module.css +4 -4
  211. package/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +7 -6
  212. package/lib/components/OrderHistoryPage/collapsedImageGallery.module.css +10 -9
  213. package/lib/components/OrderHistoryPage/orderHistoryPage.module.css +37 -41
  214. package/lib/components/OrderHistoryPage/orderProgressBar.module.css +5 -5
  215. package/lib/components/OrderHistoryPage/orderRow.module.css +113 -78
  216. package/lib/components/PageLoadingIndicator/pageLoadingIndicator.module.css +18 -17
  217. package/lib/components/Pagination/pagination.module.css +11 -8
  218. package/lib/components/Pagination/tile.module.css +11 -8
  219. package/lib/components/Password/password.module.css +13 -11
  220. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/__tests__/__snapshots__/multiSelect.spec.js.snap +10 -0
  221. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.js +7 -2
  222. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.module.css +11 -2
  223. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.module.css +1 -1
  224. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.module.css +1 -1
  225. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.js +10 -4
  226. package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/attributeType.js +6 -0
  227. package/lib/components/ProductFullDetail/CustomAttributes/__tests__/__snapshots__/customAttributes.spec.js.snap +0 -3
  228. package/lib/components/ProductFullDetail/CustomAttributes/customAttributes.js +6 -10
  229. package/lib/components/ProductFullDetail/CustomAttributes/customAttributes.module.css +0 -5
  230. package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap +403 -208
  231. package/lib/components/ProductFullDetail/__tests__/productFullDetail.spec.js +1 -3
  232. package/lib/components/ProductFullDetail/productFullDetail.js +80 -14
  233. package/lib/components/ProductFullDetail/productFullDetail.module.css +90 -79
  234. package/lib/components/ProductImageCarousel/carousel.module.css +50 -52
  235. package/lib/components/ProductImageCarousel/thumbnail.module.css +25 -22
  236. package/lib/components/ProductOptions/option.module.css +17 -13
  237. package/lib/components/ProductOptions/swatch.module.css +10 -4
  238. package/lib/components/ProductOptions/tile.module.css +14 -7
  239. package/lib/components/ProductOptions/tileList.module.css +3 -3
  240. package/lib/components/ProductQuantity/quantity.js +3 -0
  241. package/lib/components/ProductQuantity/quantity.module.css +2 -2
  242. package/lib/components/ProductSort/productSort.module.css +44 -45
  243. package/lib/components/ProductSort/productSort.shimmer.module.css +1 -5
  244. package/lib/components/ProductSort/sortItem.module.css +14 -13
  245. package/lib/components/QuantityStepper/index.js +1 -0
  246. package/lib/components/QuantityStepper/quantityStepper.js +94 -0
  247. package/lib/components/QuantityStepper/quantityStepper.module.css +80 -0
  248. package/lib/components/RadioGroup/__tests__/__snapshots__/radioGroup.spec.js.snap +16 -0
  249. package/lib/components/RadioGroup/radio.js +14 -2
  250. package/lib/components/RadioGroup/radio.module.css +41 -37
  251. package/lib/components/RadioGroup/radioGroup.module.css +10 -14
  252. package/lib/components/RichContent/plainHtmlRenderer.js +2 -1
  253. package/lib/components/RichContent/richContent.module.css +13 -1
  254. package/lib/components/RichText/richText.module.css +7 -3
  255. package/lib/components/SavedPaymentsPage/creditCard.module.css +49 -37
  256. package/lib/components/SavedPaymentsPage/savedPaymentsPage.module.css +35 -40
  257. package/lib/components/ScrollAnchor/scrollAnchor.module.css +4 -2
  258. package/lib/components/SearchBar/__tests__/suggestedProduct.spec.js +8 -0
  259. package/lib/components/SearchBar/autocomplete.js +8 -0
  260. package/lib/components/SearchBar/autocomplete.module.css +39 -37
  261. package/lib/components/SearchBar/searchBar.module.css +30 -22
  262. package/lib/components/SearchBar/suggestedCategories.module.css +7 -4
  263. package/lib/components/SearchBar/suggestedProduct.js +29 -5
  264. package/lib/components/SearchBar/suggestedProduct.module.css +12 -12
  265. package/lib/components/SearchBar/suggestedProducts.module.css +7 -4
  266. package/lib/components/SearchBar/suggestions.module.css +4 -4
  267. package/lib/components/SearchPage/searchPage.module.css +42 -49
  268. package/lib/components/Select/select.module.css +9 -8
  269. package/lib/components/Shimmer/shimmer.module.css +31 -17
  270. package/lib/components/SignIn/signIn.module.css +40 -33
  271. package/lib/components/SignInPage/signInPage.module.css +13 -12
  272. package/lib/components/SortedByContainer/sortedByContainer.module.css +7 -11
  273. package/lib/components/StockStatusMessage/stockStatusMessage.module.css +10 -6
  274. package/lib/components/TextArea/textArea.module.css +16 -10
  275. package/lib/components/TextInput/textInput.module.css +11 -2
  276. package/lib/components/ToastContainer/toast.module.css +51 -42
  277. package/lib/components/ToastContainer/toastContainer.module.css +10 -22
  278. package/lib/components/Wishlist/AddToListButton/addToListButton.module.css +6 -5
  279. package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/createWishlistForm.module.css +4 -4
  280. package/lib/components/Wishlist/WishlistDialog/WishlistLineItem/wishlistLineItem.module.css +7 -6
  281. package/lib/components/Wishlist/WishlistDialog/wishlistDialog.module.css +14 -9
  282. package/lib/components/WishlistPage/actionMenu.js +2 -2
  283. package/lib/components/WishlistPage/createWishlist.module.css +31 -26
  284. package/lib/components/WishlistPage/wishlist.module.css +54 -49
  285. package/lib/components/WishlistPage/wishlistConfirmRemoveProductDialog.module.css +7 -7
  286. package/lib/components/WishlistPage/wishlistEditFavoritesListDialog.module.css +4 -4
  287. package/lib/components/WishlistPage/wishlistItem.module.css +36 -37
  288. package/lib/components/WishlistPage/wishlistItems.module.css +5 -7
  289. package/lib/components/WishlistPage/wishlistMoreActionsDialog.module.css +11 -9
  290. package/lib/components/WishlistPage/wishlistPage.module.css +24 -24
  291. package/lib/components/clickable.module.css +7 -7
  292. package/lib/index.module.css +40 -11
  293. package/lib/targets/__tests__/venia-ui-targets.spec.js +27 -2
  294. package/lib/tokens.module.css +62 -57
  295. package/package.json +5 -5
  296. package/lib/components/CartPage/ProductListing/quantity.module.css +0 -76
@@ -1,64 +1,68 @@
1
1
  .root {
2
- align-items: center;
3
- color: rgb(var(--venia-global-color-gray-900));
4
- display: grid;
5
- gap: 0.75rem;
6
- grid-auto-flow: column;
2
+ composes: gap-3 from global;
3
+ composes: grid from global;
4
+ composes: grid-flow-col from global;
5
+ composes: items-center from global;
6
+ composes: justify-items-center from global;
7
+ composes: leading-normal from global;
8
+ composes: m-0 from global;
9
+ composes: text-colorDefault from global;
7
10
  grid-template-areas: 'input label';
8
11
  grid-template-columns: min-content 1fr;
9
- margin: 0;
10
- justify-items: center;
11
- line-height: 1.5rem;
12
- }
13
-
14
- .input_base {
15
- border-radius: 50%;
16
- height: 1.5rem;
17
- margin: 0;
18
- width: 1.5rem;
19
- z-index: 2;
20
12
  }
21
13
 
22
14
  .input {
23
- composes: input_base;
24
- -webkit-appearance: none;
25
- background: none;
26
- background-clip: content-box;
27
- border: 7px solid transparent;
15
+ composes: appearance-none from global;
16
+ composes: bg-clip-content from global;
17
+ composes: bg-transparent from global;
18
+ composes: border-8 from global;
19
+ composes: border-solid from global;
20
+ composes: border-transparent from global;
21
+ composes: h-[1.5rem] from global;
22
+ composes: m-0 from global;
23
+ composes: rounded-full from global;
24
+ composes: w-[1.5rem] from global;
25
+ composes: z-foreground from global;
28
26
  grid-area: input;
27
+
28
+ composes: active_outline-none from global;
29
+ composes: active_shadow-radioActive from global;
30
+
31
+ composes: checked_bg-brand-dark from global;
32
+
33
+ composes: focus_outline-none from global;
34
+ composes: focus_shadow-radioFocus from global;
29
35
  }
30
36
 
31
37
  .icon {
38
+ composes: h-[1.5rem] from global;
39
+ composes: w-[1.5rem] from global;
40
+ composes: z-surface from global;
32
41
  grid-area: input;
33
- height: 1.5rem;
34
- width: 1.5rem;
35
- z-index: 1;
36
42
  }
37
43
 
44
+ /* TODO @TW: cannot compose */
38
45
  .icon svg {
46
+ /* composes: stroke-gray-600 from global; */
39
47
  stroke: rgb(var(--venia-global-color-gray-600));
40
48
  }
41
49
 
42
50
  .label {
43
- font-size: var(--venia-typography-body-S-fontSize);
51
+ composes: justify-self-start from global;
52
+ composes: text-sm from global;
44
53
  grid-area: label;
45
- justify-self: start;
46
- }
47
-
48
- .input:checked {
49
- background-color: rgb(var(--venia-brand-color-1-700));
50
54
  }
51
55
 
56
+ /* TODO @TW: cannot compose */
52
57
  .input:checked + .icon svg {
58
+ /* composes: stroke-brand-base from global; */
53
59
  stroke: rgb(var(--venia-brand-color-1-700));
54
60
  }
55
61
 
56
- .input:active,
57
- .input:focus {
58
- box-shadow: -3px 3px rgb(var(--venia-brand-color-1-100));
59
- outline: none;
60
- }
61
-
62
62
  .input_shimmer {
63
- composes: input_base;
63
+ composes: h-[1.5rem] from global;
64
+ composes: m-0 from global;
65
+ composes: rounded-full from global;
66
+ composes: w-[1.5rem] from global;
67
+ composes: z-foreground from global;
64
68
  }
@@ -1,28 +1,24 @@
1
1
  .root {
2
- /*
3
- * Each grid item gets at least 125px.
4
- * Wrap the grid items.
5
- */
6
- display: grid;
7
- grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
8
- gap: 0.5rem;
2
+ composes: gap-2xs from global;
3
+ composes: grid from global;
9
4
  }
10
5
 
11
6
  .radioContainer {
12
- display: grid;
13
- gap: 0.75rem;
14
- grid-auto-flow: column;
7
+ composes: gap-3 from global;
8
+ composes: grid from global;
9
+ composes: grid-flow-col from global;
10
+ composes: justify-center from global;
11
+ composes: leading-normal from global;
15
12
  grid-template-areas: 'input label';
16
13
  grid-template-columns: min-content 1fr;
17
- justify-content: center;
18
- line-height: 1.5rem;
19
14
  }
20
15
 
21
16
  .message {
22
- font-size: 1rem;
23
- margin-top: 1rem;
17
+ composes: mt-xs from global;
18
+ composes: text-colorDefault from global;
24
19
  }
25
20
 
21
+ /* TODO @TW: cannot compose */
26
22
  .message:empty {
27
23
  display: none;
28
24
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import htmlStringImgUrlConverter from '@magento/peregrine/lib/util/htmlStringImgUrlConverter';
2
3
 
3
- const toHTML = str => ({ __html: str });
4
+ const toHTML = str => ({ __html: htmlStringImgUrlConverter(str) });
4
5
 
5
6
  function PlainHtmlRenderer({ html, classes }) {
6
7
  // Even if empty, render a div with no content, for styling purposes.
@@ -71,11 +71,15 @@
71
71
  margin-top: 0;
72
72
  }
73
73
 
74
+ /* TODO @TW: cannot compose */
74
75
  .root ol {
76
+ /* composes: list-decimal from global; */
75
77
  list-style-type: decimal;
76
78
  }
77
79
 
80
+ /* TODO @TW: cannot compose */
78
81
  .root ul {
82
+ /* composes: list-disc from global; */
79
83
  list-style-type: disc;
80
84
  }
81
85
 
@@ -96,18 +100,26 @@
96
100
 
97
101
  .root pre {
98
102
  padding: 1rem;
103
+ /* composes: border from global; */
104
+ /* composes: border-solid from global; */
105
+ /* composes: border-subtle from global; */
99
106
  border: 1px solid rgb(var(--venia-global-color-border));
107
+ /* composes: bg-gray-900 from global; */
100
108
  background: rgb(var(--venia-global-color-gray));
101
109
  }
102
110
 
103
111
  .root :global .cms-content-important {
104
112
  padding: 1rem;
113
+ /* composes: border from global; */
114
+ /* composes: border-solid from global; */
115
+ /* composes: border-subtle from global; */
105
116
  border: 1px solid rgb(var(--venia-global-color-border));
117
+ /* composes: bg-gray-900 from global; */
106
118
  background: rgb(var(--venia-global-color-gray));
107
119
  font-size: 1.125rem;
108
120
  }
109
121
 
110
- @media only screen and (min-width: 769px) {
122
+ @media (min-width: 800px) {
111
123
  .root h1 {
112
124
  font-size: 3rem;
113
125
  }
@@ -1,14 +1,18 @@
1
1
  .root {
2
- font-size: 0.875rem;
3
- line-height: 1.25rem;
4
- padding: 0 0.5rem;
2
+ composes: leading-tight from global;
3
+ composes: px-2xs from global;
4
+ composes: py-0 from global;
5
+ composes: text-sm from global;
5
6
  }
6
7
 
8
+ /* TODO @TW: cannot compose */
7
9
  .root p {
8
10
  margin: 0 0 1rem;
9
11
  }
10
12
 
13
+ /* TODO @TW: cannot compose */
11
14
  .root ul {
15
+ /* composes: list-disc from global; */
12
16
  list-style-type: disc;
13
17
  margin: 0 0 1rem;
14
18
  padding-left: 2.5rem;
@@ -1,22 +1,26 @@
1
1
  .root {
2
- border-radius: 0.375rem;
3
- border: 2px solid rgb(var(--venia-global-color-gray-400));
4
- column-gap: 1rem;
5
- display: grid;
6
- grid-template-columns: 1fr auto;
2
+ composes: border-2 from global;
3
+ composes: border-solid from global;
4
+ composes: border-subtle from global;
5
+ composes: gap-x-xs from global;
6
+ composes: grid from global;
7
+ composes: grid-cols-autoLast from global;
8
+ composes: min-w-[20rem] from global;
9
+ composes: px-md from global;
10
+ composes: py-sm from global;
11
+ composes: rounded-md from global;
12
+ composes: relative from global;
7
13
  min-height: 10rem;
8
- min-width: 20rem;
9
- padding: 1.5rem 2rem;
10
- position: relative;
11
14
  }
12
15
 
13
16
  .root_active {
14
17
  composes: root;
15
- border-color: rgb(var(--venia-brand-color-1-600));
18
+
19
+ composes: border-brand-dark from global;
16
20
  }
17
21
 
18
22
  .title {
19
- font-weight: var(--venia-global-fontWeight-semibold);
23
+ composes: font-semibold from global;
20
24
  grid-column: 1 / span 1;
21
25
  grid-row: 1 / span 1;
22
26
  }
@@ -38,62 +42,70 @@
38
42
 
39
43
  .deleteButton {
40
44
  composes: root from '../LinkButton/linkButton.module.css';
41
- text-decoration: none;
45
+
46
+ composes: no-underline from global;
42
47
  }
43
48
 
44
49
  .deleteConfirmationContainer {
45
- align-items: center;
46
- background-color: rgba(255, 255, 255, 0.9);
47
- border-radius: 0.375rem;
48
- display: grid;
49
- gap: 2rem;
50
+ composes: absolute from global;
51
+ composes: bg-white from global;
52
+ composes: gap-md from global;
53
+ composes: grid from global;
54
+ composes: h-full from global;
55
+ composes: items-center from global;
56
+ composes: justify-items-center from global;
57
+ composes: left-0 from global;
58
+ composes: opacity-100 from global;
59
+ composes: px-md from global;
60
+ composes: py-xs from global;
61
+ composes: rounded-md from global;
62
+ composes: top-0 from global;
63
+ composes: w-full from global;
50
64
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
51
- height: 100%;
52
- justify-items: center;
53
- opacity: 1;
54
- left: 0;
55
- padding: 1.25rem 2rem;
56
- position: absolute;
57
- top: 0;
58
65
  transform: scaleX(1);
59
66
  transition-duration: 192ms;
60
67
  transition-timing-function: var(--venia-global-anim-in);
61
68
  transition-property: opacity, transform, visibility;
69
+
70
+ /* TODO @TW: review (B6) */
71
+ /* composes: visible from global; */
62
72
  visibility: visible;
63
- width: 100%;
64
73
  }
65
74
 
66
75
  .deleteConfirmationContainer_hidden {
67
76
  composes: deleteConfirmationContainer;
68
- opacity: 0;
77
+
78
+ composes: opacity-0 from global;
69
79
  transform: scaleX(0);
70
80
  transition-delay: 0s, 192ms, 0s;
71
81
  transition-timing-function: var(--venia-global-anim-out);
82
+
83
+ /* TODO @TW: review (B6) */
84
+ /* composes: invisible from global; */
72
85
  visibility: hidden;
73
86
  }
74
87
 
75
88
  .confirmDeleteButton {
76
89
  composes: root_normalPriorityNegative from '../Button/button.module.css';
77
- background-color: white;
78
- order: 1;
90
+
91
+ composes: bg-white from global;
92
+ composes: order-1 from global;
93
+ composes: order-first from global;
79
94
  }
80
95
 
81
96
  .cancelDeleteButton {
82
97
  composes: root_lowPriority from '../Button/button.module.css';
83
- background-color: white;
84
- }
85
98
 
86
- @media (max-width: 960px) {
87
- .deleteText {
88
- display: none;
89
- }
99
+ composes: bg-white from global;
90
100
  }
91
101
 
92
- @media (max-width: 425px) {
93
- .confirmDeleteButton {
94
- order: 0;
95
- }
102
+ .deleteText {
103
+ composes: hidden from global;
104
+
105
+ composes: xs_lg_block from global;
106
+ }
96
107
 
108
+ @media (max-width: 479px) {
97
109
  .deleteConfirmationContainer {
98
110
  transform: scaleY(1);
99
111
  }
@@ -1,61 +1,56 @@
1
1
  .root {
2
- padding: 2.5rem 3rem;
3
- max-width: var(--venia-global-maxWidth);
4
- margin: 0 auto;
2
+ composes: max-w-site from global;
3
+ composes: mx-auto from global;
4
+ composes: my-0 from global;
5
+ composes: px-sm from global;
6
+ composes: py-md from global;
7
+
8
+ composes: lg_px-lg from global;
5
9
  }
6
10
 
7
11
  .heading {
8
- font-family: var(--venia-global-fontFamily-serif);
9
- font-weight: var(--venia-global-fontWeight-bold);
10
- line-height: 1.25em;
11
- margin-bottom: 2rem;
12
- text-align: center;
13
- text-transform: capitalize;
12
+ composes: capitalize from global;
13
+ composes: font-bold from global;
14
+ composes: font-serif from global;
15
+ composes: leading-tight from global;
16
+ composes: mb-md from global;
17
+ composes: text-center from global;
14
18
  }
15
19
 
16
20
  .subHeading {
17
- margin-bottom: 2rem;
18
- text-align: center;
21
+ composes: mb-md from global;
22
+ composes: text-left from global;
23
+
24
+ composes: lg_text-center from global;
19
25
  }
20
26
 
27
+ /* prettier-ignore */
21
28
  .content {
22
- display: grid;
23
- gap: 1rem;
29
+ composes: gap-xs from global;
30
+ composes: grid from global;
31
+ composes: grid-cols-1 from global;
24
32
  grid-auto-rows: minmax(6rem, max-content);
25
- grid-template-columns: 1fr 1fr 1fr;
33
+
34
+ /* TODO @TW: review (B7) */
35
+ composes: lg_grid-cols-[1fr,1fr,1fr] from global;
26
36
  }
27
37
 
28
38
  .noPayments {
29
- text-align: center;
39
+ composes: text-center from global;
30
40
  }
31
41
 
32
42
  .addButton {
33
- border: 2px dashed rgb(var(--venia-global-color-gray-400));
34
- border-radius: 0.375rem;
35
- font-size: 0.875rem;
36
- font-weight: 600;
43
+ composes: border-2 from global;
44
+ composes: border-solid from global;
45
+ composes: border-subtle from global;
46
+ composes: font-semibold from global;
47
+ composes: rounded-md from global;
48
+ composes: text-brand-dark from global;
49
+ composes: text-sm from global;
37
50
  transition: border-color 384ms var(--venia-global-anim-standard);
38
- color: rgb(var(--venia-brand-color-1-700));
39
- }
40
- .addButton:focus {
41
- outline: none;
42
- box-shadow: -6px 6px rgb(var(--venia-global-color-blue-700) / 0.3);
43
- }
44
- .addButton:hover {
45
- border-color: rgb(var(--venia-brand-color-1-600));
46
- }
47
-
48
- @media (max-width: 960px) {
49
- .root {
50
- padding-left: 1.5rem;
51
- padding-right: 1.5rem;
52
- }
53
51
 
54
- .content {
55
- grid-template-columns: 1fr;
56
- }
52
+ composes: focus_outline-none from global;
53
+ composes: focus_shadow-buttonFocus from global;
57
54
 
58
- .subHeading {
59
- text-align: left;
60
- }
55
+ composes: hover_border-brand-dark from global;
61
56
  }
@@ -1,4 +1,6 @@
1
1
  .anchor {
2
- position: absolute;
3
- top: calc(var(--venia-global-header-minHeight) * -1 - 5px);
2
+ composes: absolute from global;
3
+ top: calc(
4
+ var(--venia-global-header-minHeight) * -1 - 5px
5
+ ); /* TODO @TW: review */
4
6
  }
@@ -20,6 +20,14 @@ const defaultProps = {
20
20
  value: 3.5
21
21
  }
22
22
  }
23
+ },
24
+ price_range: {
25
+ maximum_price: {
26
+ final_price: {
27
+ currency: 'USD',
28
+ value: 3.5
29
+ }
30
+ }
23
31
  }
24
32
  };
25
33
 
@@ -40,6 +40,14 @@ const GET_AUTOCOMPLETE_RESULTS = gql`
40
40
  }
41
41
  }
42
42
  }
43
+ price_range {
44
+ maximum_price {
45
+ final_price {
46
+ currency
47
+ value
48
+ }
49
+ }
50
+ }
43
51
  }
44
52
  page_info {
45
53
  total_pages
@@ -1,60 +1,62 @@
1
- .hidden {
2
- opacity: 0;
3
- transform: translate3d(0, -2rem, 0);
4
- transition-duration: 192ms;
5
- transition-timing-function: var(--venia-global-anim-out);
6
- visibility: hidden;
7
- }
8
-
9
- .visible {
10
- opacity: 1;
11
- transform: translate3d(0, 0, 0);
12
- transition-duration: 224ms;
13
- transition-timing-function: var(--venia-global-anim-in);
14
- visibility: visible;
15
- }
16
-
17
1
  .root {
18
- background-color: white;
19
- border: 2px solid rgb(var(--venia-global-color-gray-600));
20
- border-radius: 0 0 6px 6px;
21
- border-top-style: none;
22
- box-shadow: -6px 6px rgb(var(--venia-brand-color-1-100));
23
- display: grid;
24
- font-size: 0.8125rem;
25
- gap: 0.75rem;
26
- left: 0;
27
- padding: 1rem 1rem;
28
- position: absolute;
29
- right: 0;
30
- top: 2.25rem;
2
+ composes: absolute from global;
3
+ composes: bg-white from global;
4
+ composes: border-2 from global;
5
+ composes: border-input from global;
6
+ composes: border-solid from global;
7
+ composes: border-t-0 from global;
8
+ composes: gap-3 from global;
9
+ composes: grid from global;
10
+ composes: left-0 from global;
11
+ composes: p-xs from global;
12
+ composes: right-0 from global;
13
+ composes: rounded-b-md from global;
14
+ composes: rounded-t-none from global;
15
+ composes: shadow-inputFocus from global;
16
+ composes: text-sm from global;
17
+ composes: top-9 from global;
18
+ composes: z-menu from global;
31
19
  transition-property: opacity, transform, visibility;
32
- z-index: 2;
33
20
  }
34
21
 
35
22
  .root_hidden {
36
- composes: root hidden;
23
+ composes: root;
24
+
25
+ composes: invisible from global;
26
+ composes: opacity-0 from global;
27
+ transform: translate3d(0, -2rem, 0);
28
+ transition-duration: 192ms;
29
+ transition-timing-function: var(--venia-global-anim-out);
37
30
  }
38
31
 
39
32
  .root_visible {
40
- composes: root visible;
33
+ composes: root;
34
+
35
+ composes: opacity-100 from global;
36
+ composes: visible from global;
37
+ transform: translate3d(0, 0, 0);
38
+ transition-duration: 224ms;
39
+ transition-timing-function: var(--venia-global-anim-in);
41
40
  }
42
41
 
43
42
  .message {
44
- color: rgb(var(--venia-global-color-text-alt));
45
- padding: 0 0.75rem;
46
- text-align: center;
43
+ composes: px-3 from global;
44
+ composes: py-0 from global;
45
+ composes: text-center from global;
46
+ composes: text-subtle from global;
47
47
  }
48
48
 
49
+ /* TODO @TW: cannot compose */
49
50
  .message:empty {
50
51
  padding: 0;
51
52
  }
52
53
 
53
54
  .suggestions {
54
- display: grid;
55
- gap: 0.5rem;
55
+ composes: gap-2xs from global;
56
+ composes: grid from global;
56
57
  }
57
58
 
59
+ /* TODO @TW: cannot compose */
58
60
  .suggestions:empty {
59
61
  display: none;
60
62
  }
@@ -1,43 +1,51 @@
1
1
  .root {
2
+ composes: items-center from global;
3
+ composes: justify-items-center from global;
2
4
  composes: justify-self-center from global;
3
- align-items: center;
5
+ composes: max-w-site from global;
6
+ composes: px-xs from global;
7
+ composes: py-0 from global;
8
+ composes: w-full from global;
9
+
10
+ /* TODO @TW: review (B6) */
11
+ /* composes: hidden from global; */
4
12
  display: none;
5
- justify-items: center;
6
- max-width: var(--venia-global-maxWidth);
7
- padding: 0 1rem;
8
- width: 100%;
9
13
  }
10
14
 
11
15
  .root_open {
12
16
  composes: root;
17
+
18
+ composes: z-dropdown from global;
19
+
20
+ /* TODO @TW: review (B6) */
21
+ /* composes: grid from global; */
13
22
  display: grid;
14
- z-index: 3;
15
23
  }
16
24
 
17
25
  .form {
18
- align-items: center;
19
- display: grid;
20
- justify-items: stretch;
21
- width: 100%;
26
+ composes: grid from global;
27
+ composes: items-center from global;
28
+ composes: justify-items-stretch from global;
29
+ composes: w-full from global;
22
30
  }
23
31
 
24
32
  .container {
25
- align-items: center;
26
- display: inline-flex;
27
- justify-content: center;
28
- max-width: 24rem;
29
- padding-bottom: 1rem;
30
- position: relative;
31
- width: 100%;
33
+ composes: inline-flex from global;
34
+ composes: items-center from global;
35
+ composes: justify-center from global;
36
+ composes: max-w-[24rem] from global;
37
+ composes: pb-xs from global;
38
+ composes: relative from global;
39
+ composes: w-full from global;
32
40
  }
33
41
 
34
42
  .search {
35
- display: grid;
36
- position: relative;
43
+ composes: grid from global;
44
+ composes: relative from global;
37
45
  }
38
46
 
39
47
  .autocomplete {
40
- display: grid;
41
- position: relative;
42
- z-index: 1;
48
+ composes: grid from global;
49
+ composes: relative from global;
50
+ composes: z-menu from global;
43
51
  }