@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.
- package/i18n/en_US.json +1 -1
- package/lib/RootComponents/CMS/cms.module.css +1 -1
- package/lib/RootComponents/Category/NoProductsFound/noProductsFound.module.css +18 -19
- package/lib/RootComponents/Category/category.module.css +50 -70
- package/lib/components/Accordion/accordion.module.css +4 -2
- package/lib/components/Accordion/section.module.css +24 -16
- package/lib/components/AccountChip/accountChip.module.css +5 -5
- package/lib/components/AccountInformationPage/accountInformationPage.module.css +22 -35
- package/lib/components/AccountInformationPage/editForm.module.css +13 -12
- package/lib/components/AccountInformationPage/editModal.module.css +1 -1
- package/lib/components/AccountMenu/accountMenu.module.css +34 -31
- package/lib/components/AccountMenu/accountMenuItems.module.css +20 -15
- package/lib/components/AddToCartDialog/addToCartDialog.module.css +27 -25
- package/lib/components/AddressBookPage/addEditDialog.module.css +10 -14
- package/lib/components/AddressBookPage/addressBookPage.module.css +30 -41
- package/lib/components/AddressBookPage/addressCard.module.css +61 -59
- package/lib/components/AuthBar/authBar.module.css +13 -12
- package/lib/components/AuthModal/authModal.module.css +5 -3
- package/lib/components/Breadcrumbs/breadcrumbs.module.css +12 -19
- package/lib/components/Button/button.module.css +95 -59
- package/lib/components/ButtonGroup/button.module.css +30 -28
- package/lib/components/ButtonGroup/buttonGroup.module.css +4 -4
- package/lib/components/CartPage/GiftCards/giftCard.module.css +3 -3
- package/lib/components/CartPage/GiftCards/giftCards.module.css +44 -41
- package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +26 -18
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingRadios.spec.js.snap +4 -0
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +7 -6
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingMethods.module.css +9 -18
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadio.module.css +1 -1
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingRadios.module.css +5 -18
- package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftCardSection.ee.spec.js.snap +1 -1
- package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftOptionsSection.ce.spec.js.snap +1 -1
- package/lib/components/CartPage/PriceAdjustments/__tests__/__snapshots__/giftOptionsSection.ee.spec.js.snap +3 -3
- package/lib/components/CartPage/PriceAdjustments/__tests__/giftCardSection.ce.spec.js +1 -1
- package/lib/components/CartPage/PriceAdjustments/__tests__/giftCardSection.ee.spec.js +1 -1
- package/lib/components/CartPage/PriceAdjustments/__tests__/giftOptionsSection.ce.spec.js +1 -1
- package/lib/components/CartPage/PriceAdjustments/__tests__/giftOptionsSection.ee.spec.js +1 -1
- package/lib/components/CartPage/PriceAdjustments/giftCardSection.ce.js +2 -2
- package/lib/components/CartPage/PriceAdjustments/giftOptionsSection.ce.js +2 -2
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftCardSummary.ce.spec.js.snap +1 -1
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftCardSummary.ee.spec.js.snap +4 -4
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftOptionsSummary.ce.spec.js.snap +1 -1
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/giftOptionsSummary.ee.spec.js.snap +4 -4
- package/lib/components/CartPage/PriceSummary/__tests__/giftCardSummary.ce.spec.js +1 -1
- package/lib/components/CartPage/PriceSummary/__tests__/giftCardSummary.ee.spec.js +1 -1
- package/lib/components/CartPage/PriceSummary/__tests__/giftOptionsSummary.ce.spec.js +1 -1
- package/lib/components/CartPage/PriceSummary/__tests__/giftOptionsSummary.ee.spec.js +1 -1
- package/lib/components/CartPage/PriceSummary/giftOptionsSummary.ce.js +2 -2
- package/lib/components/CartPage/PriceSummary/priceSummary.module.css +16 -16
- package/lib/components/CartPage/ProductListing/EditModal/productDetail.module.css +16 -13
- package/lib/components/CartPage/ProductListing/EditModal/productForm.js +2 -2
- package/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +28 -22
- package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +4 -0
- package/lib/components/CartPage/ProductListing/__tests__/quantity.spec.js +3 -3
- package/lib/components/CartPage/ProductListing/errorMessage.module.css +11 -7
- package/lib/components/CartPage/ProductListing/product.module.css +67 -59
- package/lib/components/CartPage/ProductListing/productListing.module.css +6 -5
- package/lib/components/CartPage/ProductListing/quantity.js +8 -92
- package/lib/components/CartPage/cartPage.module.css +18 -22
- package/lib/components/CategoryList/categoryList.module.css +8 -7
- package/lib/components/CategoryList/categoryTile.module.css +14 -11
- package/lib/components/CategoryTree/categoryLeaf.module.css +19 -16
- package/lib/components/CategoryTree/categoryTree.module.css +2 -2
- package/lib/components/Checkbox/checkbox.module.css +33 -30
- package/lib/components/Checkout/Receipt/receipt.module.css +28 -23
- package/lib/components/Checkout/addressForm.module.css +20 -20
- package/lib/components/Checkout/braintreeDropin.module.css +1 -1
- package/lib/components/Checkout/checkoutButton.module.css +2 -1
- package/lib/components/Checkout/flow.module.css +34 -30
- package/lib/components/Checkout/form.module.css +13 -9
- package/lib/components/Checkout/label.module.css +6 -6
- package/lib/components/Checkout/paymentsForm.module.css +23 -21
- package/lib/components/Checkout/section.module.css +30 -31
- package/lib/components/Checkout/shippingForm.module.css +1 -1
- package/lib/components/CheckoutPage/AddressBook/addressBook.module.css +52 -61
- package/lib/components/CheckoutPage/AddressBook/addressCard.module.css +43 -47
- package/lib/components/CheckoutPage/BillingAddress/billingAddress.module.css +14 -28
- package/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +28 -26
- package/lib/components/CheckoutPage/ItemsReview/item.js +1 -1
- package/lib/components/CheckoutPage/ItemsReview/item.module.css +29 -18
- package/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +8 -5
- package/lib/components/CheckoutPage/ItemsReview/showAllButton.module.css +15 -11
- package/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.module.css +12 -26
- package/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +29 -37
- package/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +12 -17
- package/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +5 -2
- package/lib/components/CheckoutPage/PaymentInformation/braintreeSummary.module.css +30 -50
- package/lib/components/CheckoutPage/PaymentInformation/creditCard.module.css +20 -34
- package/lib/components/CheckoutPage/PaymentInformation/editCard.module.css +3 -2
- package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +12 -13
- package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +17 -14
- package/lib/components/CheckoutPage/PaymentInformation/summary.module.css +9 -9
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +15 -13
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +14 -12
- package/lib/components/CheckoutPage/ShippingInformation/card.module.css +7 -7
- package/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +66 -49
- package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +37 -26
- package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/shippingMethod.spec.js.snap +2 -0
- package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/updateModal.spec.js.snap +2 -0
- package/lib/components/CheckoutPage/ShippingMethod/completedView.module.css +23 -26
- package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +17 -15
- package/lib/components/CheckoutPage/ShippingMethod/shippingRadios.module.css +13 -24
- package/lib/components/CheckoutPage/ShippingMethod/updateModal.module.css +1 -1
- package/lib/components/CheckoutPage/checkoutPage.module.css +85 -79
- package/lib/components/CmsBlock/cmsBlock.module.css +3 -1
- package/lib/components/CmsDynamicBlock/__tests__/__snapshots__/cmsDynamicBlock.ce.spec.js.snap +1 -1
- package/lib/components/CmsDynamicBlock/__tests__/__snapshots__/cmsDynamicBlock.ee.spec.js.snap +8 -8
- package/lib/components/CmsDynamicBlock/__tests__/cmsDynamicBlock.ce.spec.js +1 -1
- package/lib/components/CmsDynamicBlock/__tests__/cmsDynamicBlock.ee.spec.js +1 -1
- package/lib/components/CmsDynamicBlock/cmsDynamicBlock.ce.js +2 -2
- package/lib/components/CommunicationsPage/communicationsPage.module.css +14 -20
- package/lib/components/ContactPage/contactPage.module.css +1 -1
- package/lib/components/CreateAccount/createAccount.module.css +24 -27
- package/lib/components/CreateAccountPage/createAccountPage.module.css +13 -12
- package/lib/components/Dialog/__stories__/dialog.module.css +3 -2
- package/lib/components/Dialog/dialog.module.css +98 -99
- package/lib/components/ErrorMessage/errorMessage.module.css +4 -4
- package/lib/components/ErrorView/errorView.module.css +21 -24
- package/lib/components/Field/field.module.css +32 -35
- package/lib/components/Field/fieldIcons.module.css +18 -13
- package/lib/components/Field/message.module.css +11 -7
- package/lib/components/FilterModal/CurrentFilters/currentFilter.js +4 -2
- package/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +14 -11
- package/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +10 -5
- package/lib/components/FilterModal/FilterList/__tests__/filterItemRadio.spec.js +134 -0
- package/lib/components/FilterModal/FilterList/filterItemRadio.js +76 -0
- package/lib/components/FilterModal/FilterList/filterItemRadio.module.css +0 -0
- package/lib/components/FilterModal/FilterList/filterItemRadioGroup.js +86 -0
- package/lib/components/FilterModal/FilterList/filterList.js +65 -41
- package/lib/components/FilterModal/FilterList/filterList.module.css +8 -10
- package/lib/components/FilterModal/__tests__/filterModal.spec.js +58 -3
- package/lib/components/FilterModal/filterBlock.js +4 -0
- package/lib/components/FilterModal/filterBlock.module.css +15 -12
- package/lib/components/FilterModal/filterFooter.module.css +8 -8
- package/lib/components/FilterModal/filterModal.js +4 -2
- package/lib/components/FilterModal/filterModal.module.css +49 -28
- package/lib/components/FilterModal/filterSearch.module.css +1 -1
- package/lib/components/FilterModalOpenButton/filterModalOpenButton.module.css +3 -6
- package/lib/components/FilterSidebar/__tests__/filterSidebar.spec.js +9 -2
- package/lib/components/FilterSidebar/filterSidebar.js +4 -1
- package/lib/components/FilterSidebar/filterSidebar.module.css +33 -25
- package/lib/components/Footer/footer.module.css +89 -109
- package/lib/components/ForgotPassword/ForgotPasswordForm/forgotPasswordForm.module.css +11 -11
- package/lib/components/ForgotPassword/FormSubmissionSuccessful/formSubmissionSuccessful.module.css +7 -7
- package/lib/components/ForgotPassword/forgotPassword.module.css +9 -8
- package/lib/components/ForgotPasswordPage/forgotPasswordPage.module.css +13 -12
- package/lib/components/Gallery/__tests__/__snapshots__/gallery.spec.js.snap +2 -2
- package/lib/components/Gallery/__tests__/__snapshots__/item.spec.js.snap +1 -1
- package/lib/components/Gallery/__tests__/gallery.spec.js +2 -2
- package/lib/components/Gallery/__tests__/item.spec.js +1 -1
- package/lib/components/Gallery/addToCartButton.module.css +15 -25
- package/lib/components/Gallery/gallery.module.css +7 -7
- package/lib/components/Gallery/item.js +12 -5
- package/lib/components/Gallery/item.module.css +31 -27
- package/lib/components/Header/accountTrigger.module.css +9 -14
- package/lib/components/Header/cartTrigger.module.css +30 -37
- package/lib/components/Header/currencySwitcher.module.css +67 -50
- package/lib/components/Header/header.js +5 -1
- package/lib/components/Header/header.module.css +26 -36
- package/lib/components/Header/navTrigger.module.css +4 -7
- package/lib/components/Header/onlineIndicator.module.css +11 -9
- package/lib/components/Header/searchTrigger.module.css +8 -13
- package/lib/components/Header/storeSwitcher.module.css +61 -52
- package/lib/components/Header/switcherItem.module.css +12 -11
- package/lib/components/HomePage/homePage.module.css +9 -8
- package/lib/components/Icon/icon.module.css +9 -8
- package/lib/components/Image/__stories__/image.module.css +4 -4
- package/lib/components/Image/image.module.css +16 -9
- package/lib/components/LegacyMiniCart/body.module.css +2 -2
- package/lib/components/LegacyMiniCart/cartOptions.module.css +29 -23
- package/lib/components/LegacyMiniCart/emptyMiniCartBody.module.css +9 -9
- package/lib/components/LegacyMiniCart/footer.module.css +10 -6
- package/lib/components/LegacyMiniCart/header.module.css +20 -19
- package/lib/components/LegacyMiniCart/kebab.module.css +19 -28
- package/lib/components/LegacyMiniCart/mask.module.css +2 -1
- package/lib/components/LegacyMiniCart/miniCart.js +3 -0
- package/lib/components/LegacyMiniCart/miniCart.module.css +22 -15
- package/lib/components/LegacyMiniCart/product.module.css +36 -32
- package/lib/components/LegacyMiniCart/productList.module.css +6 -4
- package/lib/components/LegacyMiniCart/productOptions.module.css +9 -9
- package/lib/components/LegacyMiniCart/section.js +2 -0
- package/lib/components/LegacyMiniCart/section.module.css +28 -16
- package/lib/components/LegacyMiniCart/totalsSummary.module.css +11 -10
- package/lib/components/LinkButton/linkButton.module.css +8 -9
- package/lib/components/LoadingIndicator/indicator.module.css +20 -18
- package/lib/components/LoadingIndicator/spinner.module.css +1 -10
- package/lib/components/Main/main.module.css +7 -6
- package/lib/components/Mask/mask.module.css +19 -14
- package/lib/components/MegaMenu/__tests__/__snapshots__/MegaMenu.spec.js.snap +1 -1
- package/lib/components/MegaMenu/__tests__/__snapshots__/Submenu.spec.js.snap +1 -1
- package/lib/components/MegaMenu/megaMenuItem.module.css +9 -7
- package/lib/components/MegaMenu/submenu.js +1 -1
- package/lib/components/MegaMenu/submenu.module.css +22 -16
- package/lib/components/MegaMenu/submenuColumn.module.css +11 -9
- package/lib/components/MiniCart/ProductList/item.module.css +16 -13
- package/lib/components/MiniCart/ProductList/productList.module.css +2 -2
- package/lib/components/MiniCart/miniCart.module.css +81 -67
- package/lib/components/MyAccount/ResetPassword/resetPassword.module.css +25 -26
- package/lib/components/MyAccount/accountLink.module.css +17 -15
- package/lib/components/MyAccount/myAccount.module.css +3 -3
- package/lib/components/Navigation/navHeader.module.css +7 -6
- package/lib/components/Navigation/navigation.module.css +82 -68
- package/lib/components/Newsletter/newsletter.module.css +59 -64
- package/lib/components/OrderHistoryPage/OrderDetails/billingInformation.module.css +4 -4
- package/lib/components/OrderHistoryPage/OrderDetails/item.module.css +21 -25
- package/lib/components/OrderHistoryPage/OrderDetails/items.module.css +8 -12
- package/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +20 -26
- package/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +30 -31
- package/lib/components/OrderHistoryPage/OrderDetails/paymentMethod.module.css +4 -4
- package/lib/components/OrderHistoryPage/OrderDetails/shippingInformation.module.css +4 -4
- package/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +7 -6
- package/lib/components/OrderHistoryPage/collapsedImageGallery.module.css +10 -9
- package/lib/components/OrderHistoryPage/orderHistoryPage.module.css +37 -41
- package/lib/components/OrderHistoryPage/orderProgressBar.module.css +5 -5
- package/lib/components/OrderHistoryPage/orderRow.module.css +113 -78
- package/lib/components/PageLoadingIndicator/pageLoadingIndicator.module.css +18 -17
- package/lib/components/Pagination/pagination.module.css +11 -8
- package/lib/components/Pagination/tile.module.css +11 -8
- package/lib/components/Password/password.module.css +13 -11
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/__tests__/__snapshots__/multiSelect.spec.js.snap +10 -0
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.js +7 -2
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.module.css +11 -2
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Select/select.module.css +1 -1
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Text/text.module.css +1 -1
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.js +10 -4
- package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/attributeType.js +6 -0
- package/lib/components/ProductFullDetail/CustomAttributes/__tests__/__snapshots__/customAttributes.spec.js.snap +0 -3
- package/lib/components/ProductFullDetail/CustomAttributes/customAttributes.js +6 -10
- package/lib/components/ProductFullDetail/CustomAttributes/customAttributes.module.css +0 -5
- package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap +403 -208
- package/lib/components/ProductFullDetail/__tests__/productFullDetail.spec.js +1 -3
- package/lib/components/ProductFullDetail/productFullDetail.js +80 -14
- package/lib/components/ProductFullDetail/productFullDetail.module.css +90 -79
- package/lib/components/ProductImageCarousel/carousel.module.css +50 -52
- package/lib/components/ProductImageCarousel/thumbnail.module.css +25 -22
- package/lib/components/ProductOptions/option.module.css +17 -13
- package/lib/components/ProductOptions/swatch.module.css +10 -4
- package/lib/components/ProductOptions/tile.module.css +14 -7
- package/lib/components/ProductOptions/tileList.module.css +3 -3
- package/lib/components/ProductQuantity/quantity.js +3 -0
- package/lib/components/ProductQuantity/quantity.module.css +2 -2
- package/lib/components/ProductSort/productSort.module.css +44 -45
- package/lib/components/ProductSort/productSort.shimmer.module.css +1 -5
- package/lib/components/ProductSort/sortItem.module.css +14 -13
- package/lib/components/QuantityStepper/index.js +1 -0
- package/lib/components/QuantityStepper/quantityStepper.js +94 -0
- package/lib/components/QuantityStepper/quantityStepper.module.css +80 -0
- package/lib/components/RadioGroup/__tests__/__snapshots__/radioGroup.spec.js.snap +16 -0
- package/lib/components/RadioGroup/radio.js +14 -2
- package/lib/components/RadioGroup/radio.module.css +41 -37
- package/lib/components/RadioGroup/radioGroup.module.css +10 -14
- package/lib/components/RichContent/plainHtmlRenderer.js +2 -1
- package/lib/components/RichContent/richContent.module.css +13 -1
- package/lib/components/RichText/richText.module.css +7 -3
- package/lib/components/SavedPaymentsPage/creditCard.module.css +49 -37
- package/lib/components/SavedPaymentsPage/savedPaymentsPage.module.css +35 -40
- package/lib/components/ScrollAnchor/scrollAnchor.module.css +4 -2
- package/lib/components/SearchBar/__tests__/suggestedProduct.spec.js +8 -0
- package/lib/components/SearchBar/autocomplete.js +8 -0
- package/lib/components/SearchBar/autocomplete.module.css +39 -37
- package/lib/components/SearchBar/searchBar.module.css +30 -22
- package/lib/components/SearchBar/suggestedCategories.module.css +7 -4
- package/lib/components/SearchBar/suggestedProduct.js +29 -5
- package/lib/components/SearchBar/suggestedProduct.module.css +12 -12
- package/lib/components/SearchBar/suggestedProducts.module.css +7 -4
- package/lib/components/SearchBar/suggestions.module.css +4 -4
- package/lib/components/SearchPage/searchPage.module.css +42 -49
- package/lib/components/Select/select.module.css +9 -8
- package/lib/components/Shimmer/shimmer.module.css +31 -17
- package/lib/components/SignIn/signIn.module.css +40 -33
- package/lib/components/SignInPage/signInPage.module.css +13 -12
- package/lib/components/SortedByContainer/sortedByContainer.module.css +7 -11
- package/lib/components/StockStatusMessage/stockStatusMessage.module.css +10 -6
- package/lib/components/TextArea/textArea.module.css +16 -10
- package/lib/components/TextInput/textInput.module.css +11 -2
- package/lib/components/ToastContainer/toast.module.css +51 -42
- package/lib/components/ToastContainer/toastContainer.module.css +10 -22
- package/lib/components/Wishlist/AddToListButton/addToListButton.module.css +6 -5
- package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/createWishlistForm.module.css +4 -4
- package/lib/components/Wishlist/WishlistDialog/WishlistLineItem/wishlistLineItem.module.css +7 -6
- package/lib/components/Wishlist/WishlistDialog/wishlistDialog.module.css +14 -9
- package/lib/components/WishlistPage/actionMenu.js +2 -2
- package/lib/components/WishlistPage/createWishlist.module.css +31 -26
- package/lib/components/WishlistPage/wishlist.module.css +54 -49
- package/lib/components/WishlistPage/wishlistConfirmRemoveProductDialog.module.css +7 -7
- package/lib/components/WishlistPage/wishlistEditFavoritesListDialog.module.css +4 -4
- package/lib/components/WishlistPage/wishlistItem.module.css +36 -37
- package/lib/components/WishlistPage/wishlistItems.module.css +5 -7
- package/lib/components/WishlistPage/wishlistMoreActionsDialog.module.css +11 -9
- package/lib/components/WishlistPage/wishlistPage.module.css +24 -24
- package/lib/components/clickable.module.css +7 -7
- package/lib/index.module.css +40 -11
- package/lib/targets/__tests__/venia-ui-targets.spec.js +27 -2
- package/lib/tokens.module.css +62 -57
- package/package.json +5 -5
- package/lib/components/CartPage/ProductListing/quantity.module.css +0 -76
|
@@ -1,41 +1,57 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
composes: max-w-screen-lg 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
|
|
|
11
|
+
/* prettier-ignore */
|
|
7
12
|
.checkoutContent {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
grid-
|
|
13
|
+
composes: gap-xs from global;
|
|
14
|
+
composes: grid from global;
|
|
15
|
+
composes: grid-cols-1 from global;
|
|
16
|
+
|
|
17
|
+
composes: lg_gap-md from global;
|
|
18
|
+
/* TODO @TW: review (B7) */
|
|
19
|
+
composes: lg_grid-cols-[2fr,1fr] from global;
|
|
11
20
|
}
|
|
12
21
|
|
|
13
22
|
.checkoutContent_hidden {
|
|
14
23
|
composes: checkoutContent;
|
|
15
|
-
|
|
24
|
+
|
|
25
|
+
composes: hidden from global;
|
|
16
26
|
}
|
|
17
27
|
|
|
18
28
|
.heading_container {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
29
|
+
composes: col-span-1 from global;
|
|
30
|
+
composes: col-start-1 from global;
|
|
31
|
+
composes: gap-y-xs from global;
|
|
32
|
+
composes: grid from global;
|
|
22
33
|
}
|
|
23
34
|
|
|
24
35
|
.heading {
|
|
25
|
-
|
|
36
|
+
composes: leading-tight from global;
|
|
26
37
|
}
|
|
27
38
|
|
|
28
39
|
.cartLink {
|
|
29
40
|
composes: root from '../LinkButton/linkButton.module.css';
|
|
30
|
-
|
|
41
|
+
|
|
42
|
+
composes: text-inherit from global;
|
|
31
43
|
}
|
|
32
44
|
|
|
33
45
|
.stepper_heading {
|
|
34
|
-
border-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
composes: border-b from global;
|
|
47
|
+
composes: border-solid from global;
|
|
48
|
+
composes: border-subtle from global;
|
|
49
|
+
composes: font-semibold from global;
|
|
50
|
+
composes: pb-xs from global;
|
|
51
|
+
composes: text-colorDefault from global;
|
|
52
|
+
composes: uppercase from global;
|
|
53
|
+
|
|
54
|
+
composes: lg_pb-md from global;
|
|
39
55
|
}
|
|
40
56
|
|
|
41
57
|
.shipping_method_heading {
|
|
@@ -44,42 +60,56 @@
|
|
|
44
60
|
|
|
45
61
|
.payment_information_heading {
|
|
46
62
|
composes: stepper_heading;
|
|
63
|
+
composes: border-b-0 from global;
|
|
64
|
+
|
|
65
|
+
/* On mobile, order summary has a top border, so avoid doubling up. */
|
|
66
|
+
composes: lg_border-b from global;
|
|
47
67
|
}
|
|
48
68
|
|
|
49
69
|
.signInContainer {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
70
|
+
composes: border-2 from global;
|
|
71
|
+
composes: border-solid from global;
|
|
72
|
+
composes: border-subtle from global;
|
|
73
|
+
composes: gap-xs from global;
|
|
74
|
+
composes: grid from global;
|
|
75
|
+
composes: grid-flow-row from global;
|
|
76
|
+
composes: items-center from global;
|
|
77
|
+
composes: justify-items-center from global;
|
|
78
|
+
composes: mb-xs from global;
|
|
79
|
+
composes: p-xs from global;
|
|
80
|
+
composes: rounded-md from global;
|
|
81
|
+
composes: row-start-1 from global;
|
|
82
|
+
|
|
83
|
+
composes: lg_grid-flow-col from global;
|
|
84
|
+
composes: lg_justify-items-start from global;
|
|
85
|
+
composes: lg_mb-0 from global;
|
|
58
86
|
}
|
|
59
87
|
|
|
60
88
|
.signInLabel {
|
|
61
|
-
font-
|
|
89
|
+
composes: font-semibold from global;
|
|
62
90
|
}
|
|
63
91
|
|
|
64
92
|
.signInButton {
|
|
65
93
|
composes: root_normalPriority from '../Button/button.module.css';
|
|
66
|
-
|
|
67
|
-
min-
|
|
68
|
-
|
|
94
|
+
|
|
95
|
+
composes: min-h-auto from global;
|
|
96
|
+
composes: min-w-auto from global;
|
|
97
|
+
composes: px-md from global;
|
|
98
|
+
composes: py-1 from global;
|
|
69
99
|
}
|
|
70
100
|
|
|
71
101
|
.empty_cart_container {
|
|
72
|
-
|
|
102
|
+
composes: mb-sm from global;
|
|
73
103
|
}
|
|
74
104
|
|
|
75
105
|
.shipping_information_container {
|
|
76
106
|
grid-column: 1 / span 1;
|
|
77
|
-
|
|
107
|
+
composes: relative from global;
|
|
78
108
|
}
|
|
79
109
|
|
|
80
110
|
.shipping_method_container {
|
|
81
111
|
grid-column: 1 / span 1;
|
|
82
|
-
|
|
112
|
+
composes: relative from global;
|
|
83
113
|
}
|
|
84
114
|
|
|
85
115
|
.payment_information_container {
|
|
@@ -96,24 +126,17 @@
|
|
|
96
126
|
|
|
97
127
|
.summaryContainer {
|
|
98
128
|
grid-column: 1 / span 1;
|
|
99
|
-
}
|
|
100
129
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
padding: 1rem 0 1rem 1rem;
|
|
106
|
-
display: grid;
|
|
107
|
-
grid-column: 1 / span 1;
|
|
130
|
+
composes: lg_h-minContent from global;
|
|
131
|
+
composes: lg_sticky from global;
|
|
132
|
+
/* TODO @TW: review. Magic number. Slightly bigger than sticky header. */
|
|
133
|
+
composes: lg_top-[6rem] from global;
|
|
108
134
|
}
|
|
109
135
|
|
|
110
|
-
@media (min-width:
|
|
136
|
+
@media (min-width: 960px) {
|
|
111
137
|
.summaryContainer {
|
|
112
138
|
grid-column: 2 / span 1;
|
|
113
139
|
grid-row: 2 / span 3;
|
|
114
|
-
position: sticky;
|
|
115
|
-
top: 5.5rem;
|
|
116
|
-
height: min-content;
|
|
117
140
|
}
|
|
118
141
|
.reCaptchaMargin {
|
|
119
142
|
margin-bottom: 5.5rem;
|
|
@@ -123,47 +146,30 @@
|
|
|
123
146
|
}
|
|
124
147
|
}
|
|
125
148
|
|
|
126
|
-
.
|
|
127
|
-
composes:
|
|
149
|
+
.formErrors {
|
|
150
|
+
composes: border-error from global;
|
|
151
|
+
composes: border-solid from global;
|
|
152
|
+
composes: border-t-0 from global;
|
|
153
|
+
composes: border-r-0 from global;
|
|
154
|
+
composes: border-b-0 from global;
|
|
155
|
+
composes: border-l-4 from global;
|
|
156
|
+
composes: grid from global;
|
|
157
|
+
composes: pl-xs from global;
|
|
158
|
+
composes: pr-0 from global;
|
|
159
|
+
composes: py-xs from global;
|
|
128
160
|
grid-column: 1 / span 1;
|
|
129
|
-
margin: auto;
|
|
130
161
|
}
|
|
131
162
|
|
|
132
|
-
.
|
|
163
|
+
.review_order_button {
|
|
133
164
|
composes: root_highPriority from '../Button/button.module.css';
|
|
165
|
+
|
|
134
166
|
grid-column: 1 / span 1;
|
|
135
|
-
|
|
167
|
+
composes: m-auto from global;
|
|
136
168
|
}
|
|
137
169
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
*/
|
|
141
|
-
|
|
142
|
-
@media (max-width: 960px) {
|
|
143
|
-
.root {
|
|
144
|
-
padding-left: 1.5rem;
|
|
145
|
-
padding-right: 1.5rem;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.checkoutContent {
|
|
149
|
-
/* Only one column in mobile view. */
|
|
150
|
-
grid-template-columns: 1fr;
|
|
151
|
-
gap: 1rem;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.signInContainer {
|
|
155
|
-
grid-auto-flow: row;
|
|
156
|
-
justify-items: center;
|
|
157
|
-
margin-bottom: 1rem;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.stepper_heading {
|
|
161
|
-
padding-bottom: 1rem;
|
|
162
|
-
}
|
|
170
|
+
.place_order_button {
|
|
171
|
+
composes: root_highPriority from '../Button/button.module.css';
|
|
163
172
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
/* On mobile, order summary has a top border, so avoid doubling up. */
|
|
167
|
-
border-bottom-width: 0;
|
|
168
|
-
}
|
|
173
|
+
grid-column: 1 / span 1;
|
|
174
|
+
composes: m-auto from global;
|
|
169
175
|
}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
2
|
+
composes: m-xs from global;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
/* TODO @TW: cannot compose */
|
|
5
6
|
.content h2 {
|
|
6
7
|
margin-bottom: 2rem;
|
|
7
8
|
text-align: center;
|
|
8
9
|
text-transform: uppercase;
|
|
9
10
|
}
|
|
10
11
|
|
|
12
|
+
/* TODO @TW: cannot compose */
|
|
11
13
|
.content img {
|
|
12
14
|
display: block;
|
|
13
15
|
height: auto;
|
package/lib/components/CmsDynamicBlock/__tests__/__snapshots__/cmsDynamicBlock.ee.spec.js.snap
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`#CmsDynamicBlock
|
|
3
|
+
exports[`#CmsDynamicBlock AC renders DynamicBlock when data with type catalogrule 1`] = `
|
|
4
4
|
<mock-DynamicBlock
|
|
5
5
|
content={
|
|
6
6
|
Object {
|
|
@@ -12,7 +12,7 @@ exports[`#CmsDynamicBlock EE renders DynamicBlock when data with type catalogrul
|
|
|
12
12
|
/>
|
|
13
13
|
`;
|
|
14
14
|
|
|
15
|
-
exports[`#CmsDynamicBlock
|
|
15
|
+
exports[`#CmsDynamicBlock AC renders DynamicBlock when data with type fixed 1`] = `
|
|
16
16
|
<mock-DynamicBlock
|
|
17
17
|
content={
|
|
18
18
|
Object {
|
|
@@ -24,7 +24,7 @@ exports[`#CmsDynamicBlock EE renders DynamicBlock when data with type fixed 1`]
|
|
|
24
24
|
/>
|
|
25
25
|
`;
|
|
26
26
|
|
|
27
|
-
exports[`#CmsDynamicBlock
|
|
27
|
+
exports[`#CmsDynamicBlock AC renders DynamicBlock when data with type salesrule 1`] = `
|
|
28
28
|
<mock-DynamicBlock
|
|
29
29
|
content={
|
|
30
30
|
Object {
|
|
@@ -36,7 +36,7 @@ exports[`#CmsDynamicBlock EE renders DynamicBlock when data with type salesrule
|
|
|
36
36
|
/>
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
|
-
exports[`#CmsDynamicBlock
|
|
39
|
+
exports[`#CmsDynamicBlock AC renders DynamicBlock when data with unknown type 1`] = `
|
|
40
40
|
<mock-DynamicBlock
|
|
41
41
|
content={
|
|
42
42
|
Object {
|
|
@@ -48,14 +48,14 @@ exports[`#CmsDynamicBlock EE renders DynamicBlock when data with unknown type 1`
|
|
|
48
48
|
/>
|
|
49
49
|
`;
|
|
50
50
|
|
|
51
|
-
exports[`#CmsDynamicBlock
|
|
51
|
+
exports[`#CmsDynamicBlock AC renders ErrorView when error 1`] = `
|
|
52
52
|
<mock-ErrorView
|
|
53
53
|
message="Error"
|
|
54
54
|
/>
|
|
55
55
|
`;
|
|
56
56
|
|
|
57
|
-
exports[`#CmsDynamicBlock
|
|
57
|
+
exports[`#CmsDynamicBlock AC renders null when items are empty 1`] = `null`;
|
|
58
58
|
|
|
59
|
-
exports[`#CmsDynamicBlock
|
|
59
|
+
exports[`#CmsDynamicBlock AC renders null when loading 1`] = `null`;
|
|
60
60
|
|
|
61
|
-
exports[`#CmsDynamicBlock
|
|
61
|
+
exports[`#CmsDynamicBlock AC renders null when no data 1`] = `null`;
|
|
@@ -1,32 +1,26 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
composes: grid from global;
|
|
3
|
+
composes: gap-y-md from global;
|
|
4
|
+
composes: px-sm from global;
|
|
5
|
+
composes: py-md from global;
|
|
6
|
+
|
|
7
|
+
composes: lg_px-lg from global;
|
|
5
8
|
}
|
|
6
9
|
|
|
7
10
|
.title {
|
|
8
|
-
|
|
9
|
-
font-
|
|
10
|
-
|
|
11
|
+
composes: font-bold from global;
|
|
12
|
+
composes: font-serif from global;
|
|
13
|
+
composes: justify-self-center from global;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
.form {
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
composes: grid from global;
|
|
18
|
+
composes: gap-y-md from global;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.buttonsContainer {
|
|
19
|
-
|
|
20
|
-
justify-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@media (max-width: 960px) {
|
|
24
|
-
.root {
|
|
25
|
-
padding-left: 1.5rem;
|
|
26
|
-
padding-right: 1.5rem;
|
|
27
|
-
}
|
|
22
|
+
composes: flex from global;
|
|
23
|
+
composes: justify-center from global;
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
justify-content: center;
|
|
31
|
-
}
|
|
25
|
+
composes: lg_justify-start from global;
|
|
32
26
|
}
|
|
@@ -1,29 +1,33 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
justify-items
|
|
5
|
-
|
|
2
|
+
composes: gap-xs from global;
|
|
3
|
+
composes: grid from global;
|
|
4
|
+
composes: justify-items-stretch from global;
|
|
5
|
+
composes: px-sm from global;
|
|
6
|
+
composes: py-xs from global;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.message {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
composes: bg-subtle from global;
|
|
11
|
+
composes: leading-tight from global;
|
|
12
|
+
composes: p-xs from global;
|
|
13
|
+
composes: rounded from global;
|
|
14
|
+
composes: text-sm from global;
|
|
14
15
|
}
|
|
15
16
|
|
|
17
|
+
/* TODO @TW: cannot compose */
|
|
16
18
|
.message:empty {
|
|
17
19
|
display: none;
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
.actions {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
grid-
|
|
24
|
-
justify-
|
|
25
|
-
|
|
26
|
-
text-
|
|
23
|
+
composes: gap-xs from global;
|
|
24
|
+
composes: grid from global;
|
|
25
|
+
composes: grid-flow-row from global;
|
|
26
|
+
composes: justify-center from global;
|
|
27
|
+
composes: mt-xs from global;
|
|
28
|
+
composes: text-center from global;
|
|
29
|
+
|
|
30
|
+
composes: lg_grid-flow-col from global;
|
|
27
31
|
}
|
|
28
32
|
|
|
29
33
|
.cancelButton {
|
|
@@ -32,19 +36,12 @@
|
|
|
32
36
|
|
|
33
37
|
.submitButton {
|
|
34
38
|
composes: root_highPriority from '../Button/button.module.css';
|
|
35
|
-
grid-column-start: 2;
|
|
36
|
-
}
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
margin-left: -0.375rem;
|
|
40
|
-
}
|
|
40
|
+
composes: col-start-auto from global;
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
grid-auto-flow: row;
|
|
45
|
-
}
|
|
42
|
+
composes: lg_col-start-2 from global;
|
|
43
|
+
}
|
|
46
44
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
45
|
+
.subscribe {
|
|
46
|
+
composes: -ml-1.5 from global;
|
|
50
47
|
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
composes: gap-y-md from global;
|
|
3
|
+
composes: grid from global;
|
|
4
|
+
composes: justify-center from global;
|
|
5
|
+
composes: px-0 from global;
|
|
6
|
+
composes: py-md from global;
|
|
7
|
+
composes: text-center from global;
|
|
6
8
|
grid-template-columns: minmax(auto, 512px);
|
|
7
|
-
row-gap: 2rem;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
.header {
|
|
11
|
-
font-
|
|
12
|
+
composes: font-serif from global;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
.contentContainer {
|
|
16
|
+
composes: lg_border-2 from global;
|
|
17
|
+
composes: lg_border-solid from global;
|
|
18
|
+
composes: lg_border-subtle from global;
|
|
19
|
+
composes: lg_pb-md from global;
|
|
20
|
+
composes: lg_rounded-md from global;
|
|
20
21
|
}
|