@magento/venia-ui 9.3.0 → 9.4.0
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
|
@@ -2,47 +2,47 @@
|
|
|
2
2
|
}
|
|
3
3
|
|
|
4
4
|
.errorText {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
composes: leading-normal from global;
|
|
6
|
+
composes: text-error from global;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.lineItems {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
grid-
|
|
13
|
-
|
|
10
|
+
composes: gap-3 from global;
|
|
11
|
+
composes: grid from global;
|
|
12
|
+
composes: grid-cols-autoLast from global;
|
|
13
|
+
composes: leading-normal from global;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.lineItemLabel {
|
|
17
|
+
composes: justify-self-start from global;
|
|
17
18
|
composes: my-2 from global;
|
|
18
|
-
justify-self: start;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.price {
|
|
22
|
+
composes: justify-self-end from global;
|
|
22
23
|
composes: self-center from global;
|
|
23
|
-
justify-self: end;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.totalLabel {
|
|
27
27
|
composes: lineItemLabel;
|
|
28
|
-
font-
|
|
28
|
+
composes: font-semibold from global;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.totalPrice {
|
|
32
32
|
composes: price;
|
|
33
|
-
font-
|
|
33
|
+
composes: font-semibold from global;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.priceUpdating {
|
|
37
37
|
composes: price;
|
|
38
|
-
|
|
38
|
+
composes: opacity-0 from global;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
.checkoutButton_container {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
justify-
|
|
45
|
-
|
|
42
|
+
composes: items-center from global;
|
|
43
|
+
composes: inline-flex from global;
|
|
44
|
+
composes: justify-center from global;
|
|
45
|
+
composes: mt-xs from global;
|
|
46
|
+
composes: w-full from global;
|
|
46
47
|
min-height: 5.5rem;
|
|
47
|
-
width: 100%;
|
|
48
48
|
}
|
|
@@ -1,30 +1,33 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
border-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
composes: border-b from global;
|
|
3
|
+
composes: border-solid from global;
|
|
4
|
+
composes: border-subtle from global;
|
|
5
|
+
composes: gap-xs from global;
|
|
6
|
+
composes: grid from global;
|
|
7
|
+
composes: pb-xs from global;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
10
|
.imageContainer {
|
|
9
|
-
justify-self
|
|
11
|
+
composes: justify-self-center from global;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
.image {
|
|
13
|
-
|
|
15
|
+
composes: px-md from global;
|
|
16
|
+
composes: py-0 from global;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
.productName {
|
|
17
|
-
font-
|
|
18
|
-
|
|
20
|
+
composes: font-semibold from global;
|
|
21
|
+
composes: text-xl from global;
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
.stockRow {
|
|
22
|
-
|
|
23
|
-
font-
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
composes: flex from global;
|
|
26
|
+
composes: font-light from global;
|
|
27
|
+
composes: justify-between from global;
|
|
28
|
+
composes: text-sm from global;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
.price {
|
|
29
|
-
font-
|
|
32
|
+
composes: font-semibold from global;
|
|
30
33
|
}
|
|
@@ -6,7 +6,7 @@ import { useStyle } from '../../../../classify';
|
|
|
6
6
|
import FormError from '../../../FormError';
|
|
7
7
|
import LoadingIndicator from '../../../LoadingIndicator';
|
|
8
8
|
import Options from '../../../ProductOptions';
|
|
9
|
-
import
|
|
9
|
+
import QuantityStepper from '../../../QuantityStepper';
|
|
10
10
|
import defaultClasses from './productForm.module.css';
|
|
11
11
|
import Dialog from '../../../Dialog';
|
|
12
12
|
import ProductDetail from './productDetail';
|
|
@@ -110,7 +110,7 @@ const ProductForm = props => {
|
|
|
110
110
|
defaultMessage={'Quantity'}
|
|
111
111
|
/>
|
|
112
112
|
</h3>
|
|
113
|
-
<
|
|
113
|
+
<QuantityStepper
|
|
114
114
|
classes={{
|
|
115
115
|
root: classes.quantityRoot
|
|
116
116
|
}}
|
|
@@ -1,46 +1,52 @@
|
|
|
1
1
|
.contents {
|
|
2
2
|
composes: contents from '../../../Dialog/dialog.module.css';
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
composes: relative from global;
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
.optionRoot {
|
|
7
|
-
border-
|
|
8
|
-
|
|
8
|
+
composes: border-b from global;
|
|
9
|
+
composes: border-solid from global;
|
|
10
|
+
composes: border-subtle from global;
|
|
11
|
+
composes: px-0 from global;
|
|
12
|
+
composes: py-xs from global;
|
|
9
13
|
}
|
|
10
14
|
|
|
11
15
|
.quantityLabel {
|
|
12
|
-
font-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
composes: font-semibold from global;
|
|
17
|
+
composes: leading-normal from global;
|
|
18
|
+
composes: mb-sm from global;
|
|
19
|
+
composes: pt-xs from global;
|
|
20
|
+
composes: text-colorDefault from global;
|
|
17
21
|
}
|
|
18
22
|
|
|
19
23
|
.quantityRoot {
|
|
20
|
-
composes: root from '
|
|
24
|
+
composes: root from '../../../QuantityStepper/quantityStepper.module.css';
|
|
21
25
|
grid-template-columns: auto 4rem auto;
|
|
22
|
-
justify-
|
|
23
|
-
|
|
26
|
+
composes: justify-start from global;
|
|
27
|
+
composes: px-xs from global;
|
|
28
|
+
composes: py-0 from global;
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
.loading {
|
|
27
32
|
composes: root from '../../../LoadingIndicator/indicator.module.css';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
|
|
34
|
+
composes: absolute from global;
|
|
35
|
+
composes: h-unset from global;
|
|
36
|
+
composes: left-0 from global;
|
|
37
|
+
composes: text-center from global;
|
|
38
|
+
composes: top-2/4 from global;
|
|
39
|
+
composes: z-mask from global;
|
|
33
40
|
transform: translateY(-50%);
|
|
34
|
-
z-index: 10;
|
|
35
41
|
}
|
|
36
42
|
|
|
37
43
|
.dataError {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
composes: inline-block from global;
|
|
45
|
+
composes: leading-normal from global;
|
|
46
|
+
composes: pt-xs from global;
|
|
47
|
+
composes: text-error from global;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
.errorContainer {
|
|
45
|
-
|
|
51
|
+
composes: pt-xs from global;
|
|
46
52
|
}
|
|
@@ -266,6 +266,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
266
266
|
className="menuItem"
|
|
267
267
|
>
|
|
268
268
|
<button
|
|
269
|
+
className="button"
|
|
269
270
|
onMouseDown={[MockFunction]}
|
|
270
271
|
>
|
|
271
272
|
<span
|
|
@@ -299,6 +300,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
299
300
|
className="menuItem"
|
|
300
301
|
>
|
|
301
302
|
<button
|
|
303
|
+
className="button"
|
|
302
304
|
onMouseDown={[MockFunction]}
|
|
303
305
|
>
|
|
304
306
|
<span
|
|
@@ -597,6 +599,7 @@ exports[`renders out of stock product 1`] = `
|
|
|
597
599
|
className="menuItem"
|
|
598
600
|
>
|
|
599
601
|
<button
|
|
602
|
+
className="button"
|
|
600
603
|
onMouseDown={[MockFunction]}
|
|
601
604
|
>
|
|
602
605
|
<span
|
|
@@ -895,6 +898,7 @@ exports[`renders simple product correctly 1`] = `
|
|
|
895
898
|
className="menuItem"
|
|
896
899
|
>
|
|
897
900
|
<button
|
|
901
|
+
className="button"
|
|
898
902
|
onMouseDown={[MockFunction]}
|
|
899
903
|
>
|
|
900
904
|
<span
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { createTestInstance } from '@magento/peregrine';
|
|
3
|
-
import {
|
|
3
|
+
import { useQuantityStepper } from '@magento/peregrine/lib/talons/QuantityStepper/useQuantityStepper';
|
|
4
4
|
import Quantity from '../quantity';
|
|
5
5
|
|
|
6
6
|
jest.mock('../../../../classify');
|
|
7
|
-
jest.mock('@magento/peregrine/lib/talons/
|
|
7
|
+
jest.mock('@magento/peregrine/lib/talons/QuantityStepper/useQuantityStepper');
|
|
8
8
|
|
|
9
9
|
const mockOnChange = jest.fn();
|
|
10
10
|
const defaultProps = {
|
|
@@ -17,7 +17,7 @@ const defaultProps = {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
test('renders quantity correctly', () => {
|
|
20
|
-
|
|
20
|
+
useQuantityStepper.mockReturnValueOnce({
|
|
21
21
|
isDecrementDisabled: false,
|
|
22
22
|
isIncrementDisabled: false,
|
|
23
23
|
handleBlur: jest.fn(),
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
border-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
font-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
composes: border-l-4 from global;
|
|
3
|
+
composes: border-solid from global;
|
|
4
|
+
composes: border-error from global;
|
|
5
|
+
composes: font-semibold from global;
|
|
6
|
+
composes: leading-normal from global;
|
|
7
|
+
composes: mb-xs from global;
|
|
8
|
+
composes: pl-xs from global;
|
|
9
|
+
composes: pr-0 from global;
|
|
10
|
+
composes: py-xs from global;
|
|
11
|
+
composes: text-error from global;
|
|
12
|
+
composes: text-sm from global;
|
|
9
13
|
}
|
|
@@ -1,26 +1,28 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
composes: gap-y-2xs from global;
|
|
3
|
+
composes: grid from global;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.item {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
composes: gap-x-2xs from global;
|
|
8
|
+
composes: gap-y-xs from global;
|
|
9
|
+
composes: grid from global;
|
|
10
|
+
composes: items-start from global;
|
|
10
11
|
grid-template-areas: 'image details kebab';
|
|
11
12
|
grid-template-columns: 100px 1fr min-content;
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
.item_disabled {
|
|
15
16
|
composes: item;
|
|
16
|
-
|
|
17
|
+
composes: opacity-50 from global;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
.errorText {
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
composes: leading-normal from global;
|
|
22
|
+
composes: text-error from global;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
/* TODO @TW: cannot compose */
|
|
24
26
|
.errorText:empty {
|
|
25
27
|
display: none;
|
|
26
28
|
}
|
|
@@ -30,102 +32,112 @@
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
.imageRoot {
|
|
33
|
-
|
|
35
|
+
composes: h-full from global;
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
.image {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
border-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
object-
|
|
39
|
+
composes: bg-subtle from global;
|
|
40
|
+
composes: border from global;
|
|
41
|
+
composes: border-solid from global;
|
|
42
|
+
composes: border-subtle from global;
|
|
43
|
+
composes: h-full from global;
|
|
44
|
+
composes: object-contain from global;
|
|
45
|
+
composes: object-center from global;
|
|
46
|
+
composes: rounded-sm from global;
|
|
43
47
|
}
|
|
44
48
|
|
|
45
49
|
.details {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
composes: gap-2xs from global;
|
|
51
|
+
composes: leading-normal from global;
|
|
52
|
+
|
|
53
|
+
composes: sm_grid from global;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (min-width: 640px) {
|
|
57
|
+
.details {
|
|
58
|
+
grid-area: details;
|
|
59
|
+
grid-template-areas:
|
|
60
|
+
'name name'
|
|
61
|
+
'options quantity'
|
|
62
|
+
'price quantity'
|
|
63
|
+
'stock quantity';
|
|
64
|
+
grid-template-columns: 2fr 1fr;
|
|
65
|
+
}
|
|
56
66
|
}
|
|
57
67
|
|
|
58
68
|
.name {
|
|
69
|
+
composes: font-semibold from global;
|
|
59
70
|
grid-area: name;
|
|
60
|
-
font-weight: var(--venia-global-fontWeight-semibold);
|
|
61
71
|
}
|
|
62
72
|
|
|
63
73
|
.price {
|
|
74
|
+
composes: text-sm from global;
|
|
64
75
|
grid-area: price;
|
|
65
|
-
font-size: var(--venia-typography-body-S-fontSize);
|
|
66
76
|
}
|
|
67
77
|
|
|
68
78
|
.quantity {
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
composes: grid from global;
|
|
80
|
+
composes: items-start from global;
|
|
81
|
+
composes: justify-items-start from global;
|
|
71
82
|
grid-area: quantity;
|
|
72
|
-
|
|
83
|
+
|
|
84
|
+
composes: sm_justify-items-center from global;
|
|
73
85
|
}
|
|
74
86
|
|
|
75
87
|
.kebab {
|
|
88
|
+
composes: relative from global;
|
|
76
89
|
grid-area: kebab;
|
|
77
|
-
position: relative;
|
|
78
90
|
}
|
|
79
91
|
|
|
80
92
|
.sectionText {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
93
|
+
composes: pointer-events-none from global;
|
|
94
|
+
composes: px-2xs from global;
|
|
95
|
+
composes: py-1 from global;
|
|
96
|
+
composes: text-sm from global;
|
|
84
97
|
}
|
|
85
98
|
|
|
86
99
|
.options {
|
|
100
|
+
composes: gap-0.5 from global;
|
|
101
|
+
composes: grid from global;
|
|
102
|
+
composes: text-sm from global;
|
|
87
103
|
grid-area: options;
|
|
88
|
-
font-size: var(--venia-typography-body-S-fontSize);
|
|
89
|
-
display: grid;
|
|
90
|
-
grid-gap: 0.125rem;
|
|
91
104
|
}
|
|
92
105
|
|
|
93
106
|
.optionLabel {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
grid-
|
|
107
|
+
composes: auto-cols-max from global;
|
|
108
|
+
composes: grid from global;
|
|
109
|
+
composes: grid-flow-col from global;
|
|
97
110
|
}
|
|
98
111
|
|
|
99
112
|
.stockStatusMessage {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
113
|
+
composes: font-semibold from global;
|
|
114
|
+
composes: text-error from global;
|
|
115
|
+
composes: text-sm from global;
|
|
103
116
|
grid-area: stock;
|
|
104
117
|
}
|
|
105
118
|
|
|
119
|
+
/* TODO @TW: cannot compose */
|
|
106
120
|
.stockStatusMessage:empty {
|
|
107
121
|
display: none;
|
|
108
122
|
}
|
|
109
123
|
|
|
110
124
|
.addToListButton {
|
|
111
125
|
--stroke: rgb(var(--venia-global-color-teal));
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
126
|
+
|
|
127
|
+
composes: content-center from global;
|
|
128
|
+
composes: gap-x-xs from global;
|
|
129
|
+
composes: inline-flex from global;
|
|
130
|
+
composes: px-2.5 from global;
|
|
131
|
+
composes: py-3.5 from global;
|
|
132
|
+
composes: text-sm from global;
|
|
133
|
+
composes: w-full from global;
|
|
118
134
|
}
|
|
119
135
|
|
|
120
136
|
.addToListButton_selected {
|
|
121
|
-
|
|
137
|
+
composes: hidden from global;
|
|
122
138
|
}
|
|
123
139
|
|
|
124
|
-
@media (max-width:
|
|
125
|
-
.details {
|
|
126
|
-
grid-template: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
140
|
+
@media (max-width: 639px) {
|
|
129
141
|
.name,
|
|
130
142
|
.options,
|
|
131
143
|
.price,
|
|
@@ -133,8 +145,4 @@
|
|
|
133
145
|
.quantity {
|
|
134
146
|
grid-area: auto;
|
|
135
147
|
}
|
|
136
|
-
|
|
137
|
-
.quantity {
|
|
138
|
-
justify-items: start;
|
|
139
|
-
}
|
|
140
148
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
composes: gap-x-md from global;
|
|
3
|
+
composes: gap-y-xs from global;
|
|
4
|
+
composes: grid from global;
|
|
4
5
|
}
|
|
5
6
|
|
|
6
7
|
.errorText {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
composes: leading-normal from global;
|
|
9
|
+
composes: mb-xs from global;
|
|
10
|
+
composes: text-error from global;
|
|
10
11
|
}
|
|
@@ -1,91 +1,7 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import { useIntl } from 'react-intl';
|
|
1
|
+
import React from 'react';
|
|
3
2
|
import { Form } from 'informed';
|
|
4
3
|
import { func, number, string } from 'prop-types';
|
|
5
|
-
import
|
|
6
|
-
import { useQuantity } from '@magento/peregrine/lib/talons/CartPage/ProductListing/useQuantity';
|
|
7
|
-
|
|
8
|
-
import { useStyle } from '../../../classify';
|
|
9
|
-
import Icon from '../../Icon';
|
|
10
|
-
import TextInput from '../../TextInput';
|
|
11
|
-
import { Message } from '../../Field';
|
|
12
|
-
import defaultClasses from './quantity.module.css';
|
|
13
|
-
|
|
14
|
-
export const QuantityFields = props => {
|
|
15
|
-
const { initialValue, itemId, label, min, onChange, message } = props;
|
|
16
|
-
const { formatMessage } = useIntl();
|
|
17
|
-
const classes = useStyle(defaultClasses, props.classes);
|
|
18
|
-
const iconClasses = { root: classes.icon };
|
|
19
|
-
|
|
20
|
-
const talonProps = useQuantity({
|
|
21
|
-
initialValue,
|
|
22
|
-
min,
|
|
23
|
-
onChange
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
const {
|
|
27
|
-
isDecrementDisabled,
|
|
28
|
-
isIncrementDisabled,
|
|
29
|
-
handleBlur,
|
|
30
|
-
handleDecrement,
|
|
31
|
-
handleIncrement,
|
|
32
|
-
maskInput
|
|
33
|
-
} = talonProps;
|
|
34
|
-
|
|
35
|
-
const errorMessage = message ? <Message>{message}</Message> : null;
|
|
36
|
-
|
|
37
|
-
return (
|
|
38
|
-
<Fragment>
|
|
39
|
-
<div className={classes.root}>
|
|
40
|
-
<label className={classes.label} htmlFor={itemId}>
|
|
41
|
-
{label}
|
|
42
|
-
</label>
|
|
43
|
-
<button
|
|
44
|
-
aria-label={formatMessage({
|
|
45
|
-
id: 'quantity.buttonDecrement',
|
|
46
|
-
defaultMessage: 'Decrease Quantity'
|
|
47
|
-
})}
|
|
48
|
-
className={classes.button_decrement}
|
|
49
|
-
disabled={isDecrementDisabled}
|
|
50
|
-
onClick={handleDecrement}
|
|
51
|
-
type="button"
|
|
52
|
-
data-cy="Quantity-decrementButton"
|
|
53
|
-
>
|
|
54
|
-
<Icon classes={iconClasses} src={MinusIcon} size={22} />
|
|
55
|
-
</button>
|
|
56
|
-
<TextInput
|
|
57
|
-
aria-label={formatMessage({
|
|
58
|
-
id: 'quantity.input',
|
|
59
|
-
defaultMessage: 'Item Quantity'
|
|
60
|
-
})}
|
|
61
|
-
data-cy="QuantityFields-input"
|
|
62
|
-
classes={{ input: classes.input }}
|
|
63
|
-
field="quantity"
|
|
64
|
-
id={itemId}
|
|
65
|
-
inputMode="numeric"
|
|
66
|
-
mask={maskInput}
|
|
67
|
-
min={min}
|
|
68
|
-
onBlur={handleBlur}
|
|
69
|
-
pattern="[0-9]*"
|
|
70
|
-
/>
|
|
71
|
-
<button
|
|
72
|
-
aria-label={formatMessage({
|
|
73
|
-
id: 'quantity.buttonIncrement',
|
|
74
|
-
defaultMessage: 'Increase Quantity'
|
|
75
|
-
})}
|
|
76
|
-
className={classes.button_increment}
|
|
77
|
-
disabled={isIncrementDisabled}
|
|
78
|
-
onClick={handleIncrement}
|
|
79
|
-
type="button"
|
|
80
|
-
data-cy="Quantity-incrementButton"
|
|
81
|
-
>
|
|
82
|
-
<Icon classes={iconClasses} src={PlusIcon} size={20} />
|
|
83
|
-
</button>
|
|
84
|
-
</div>
|
|
85
|
-
{errorMessage}
|
|
86
|
-
</Fragment>
|
|
87
|
-
);
|
|
88
|
-
};
|
|
4
|
+
import QuantityStepper from '../../QuantityStepper';
|
|
89
5
|
|
|
90
6
|
const Quantity = props => {
|
|
91
7
|
return (
|
|
@@ -94,7 +10,7 @@ const Quantity = props => {
|
|
|
94
10
|
quantity: props.initialValue
|
|
95
11
|
}}
|
|
96
12
|
>
|
|
97
|
-
<
|
|
13
|
+
<QuantityStepper {...props} />
|
|
98
14
|
</Form>
|
|
99
15
|
);
|
|
100
16
|
};
|
|
@@ -115,10 +31,10 @@ Quantity.defaultProps = {
|
|
|
115
31
|
onChange: () => {}
|
|
116
32
|
};
|
|
117
33
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated - moved to component directory in 12.4.0
|
|
36
|
+
* @see QuantityStepper
|
|
37
|
+
*/
|
|
38
|
+
export const QuantityFields = QuantityStepper;
|
|
123
39
|
|
|
124
40
|
export default Quantity;
|