@magento/venia-ui 9.3.0-alpha.1 → 9.4.0-alpha.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 +4 -4
- 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 +312 -117
- package/lib/components/ProductFullDetail/__tests__/productFullDetail.spec.js +1 -3
- package/lib/components/ProductFullDetail/productFullDetail.js +77 -11
- package/lib/components/ProductFullDetail/productFullDetail.module.css +85 -77
- 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 +15 -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,15 +1,16 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
composes: gap-x-1 from global;
|
|
3
|
+
composes: grid from global;
|
|
4
|
+
composes: h-full from global;
|
|
5
|
+
composes: items-center from global;
|
|
6
|
+
composes: justify-items-center from global;
|
|
7
|
+
composes: px-1 from global;
|
|
8
|
+
composes: py-0 from global;
|
|
5
9
|
grid-template-columns: repeat(5, 1fr);
|
|
6
|
-
height: 100%;
|
|
7
|
-
justify-items: center;
|
|
8
|
-
padding: 0 0.25rem;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.remainderCount {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
composes: justify-self-center from global;
|
|
14
|
+
composes: text-sm from global;
|
|
15
|
+
composes: text-subtle from global;
|
|
15
16
|
}
|
|
@@ -1,74 +1,70 @@
|
|
|
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
|
.heading {
|
|
8
|
-
font-
|
|
9
|
-
font-
|
|
10
|
-
justify-self
|
|
11
|
-
|
|
11
|
+
composes: font-bold from global;
|
|
12
|
+
composes: font-serif from global;
|
|
13
|
+
composes: justify-self-center from global;
|
|
14
|
+
composes: capitalize from global;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
17
|
.emptyHistoryMessage {
|
|
15
|
-
text-
|
|
18
|
+
composes: text-center from global;
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.orderHistoryTable {
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
composes: grid from global;
|
|
23
|
+
composes: gap-y-xs from global;
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
.filterRow {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
composes: flex from global;
|
|
28
|
+
composes: flex-col from global;
|
|
29
|
+
composes: gap-y-xs from global;
|
|
30
|
+
composes: items-start from global;
|
|
31
|
+
composes: justify-between from global;
|
|
32
|
+
|
|
33
|
+
composes: lg_flex-row from global;
|
|
34
|
+
composes: lg_gap-y-0 from global;
|
|
35
|
+
composes: lg_items-center from global;
|
|
27
36
|
}
|
|
28
37
|
|
|
29
38
|
.pageInfo {
|
|
30
|
-
|
|
39
|
+
composes: text-sm from global;
|
|
31
40
|
}
|
|
32
41
|
|
|
33
42
|
.search {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
grid-
|
|
37
|
-
|
|
43
|
+
composes: gap-2xs from global;
|
|
44
|
+
composes: grid from global;
|
|
45
|
+
composes: grid-flow-col from global;
|
|
46
|
+
composes: justify-self-center from global;
|
|
47
|
+
composes: w-full from global;
|
|
48
|
+
|
|
49
|
+
composes: lg_gap-xs from global;
|
|
50
|
+
composes: lg_justify-self-left from global;
|
|
51
|
+
composes: lg_w-[22rem] from global;
|
|
38
52
|
}
|
|
39
53
|
|
|
40
54
|
.searchButton {
|
|
41
55
|
composes: root_highPriority from '../Button/button.module.css';
|
|
42
56
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
57
|
+
composes: h-[2rem] from global;
|
|
58
|
+
composes: min-w-[5rem] from global;
|
|
59
|
+
composes: w-[5rem] from global;
|
|
46
60
|
}
|
|
47
61
|
|
|
48
62
|
.submitIcon {
|
|
49
|
-
|
|
63
|
+
composes: text-white from global;
|
|
50
64
|
}
|
|
51
65
|
|
|
52
66
|
.loadMoreButton {
|
|
53
67
|
composes: root_lowPriority from '../Button/button.module.css';
|
|
54
|
-
justify-self: center;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@media (max-width: 960px) {
|
|
58
|
-
.root {
|
|
59
|
-
padding-left: 1.5rem;
|
|
60
|
-
padding-right: 1.5rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.filterRow {
|
|
64
|
-
align-items: flex-start;
|
|
65
|
-
flex-direction: column;
|
|
66
|
-
row-gap: 1rem;
|
|
67
|
-
}
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
gap: 0.5rem;
|
|
71
|
-
width: 100%;
|
|
72
|
-
justify-self: center;
|
|
73
|
-
}
|
|
69
|
+
composes: justify-self-center from global;
|
|
74
70
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
grid-
|
|
2
|
+
composes: gap-x-1 from global;
|
|
3
|
+
composes: grid from global;
|
|
4
|
+
composes: grid-flow-col from global;
|
|
5
5
|
grid-auto-rows: 6px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.step {
|
|
9
|
-
|
|
9
|
+
composes: bg-gray-300 from global;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.step_completed {
|
|
13
|
-
|
|
13
|
+
composes: bg-brand-dark from global;
|
|
14
14
|
}
|
|
@@ -1,128 +1,163 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
border-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
composes: border-2 from global;
|
|
3
|
+
composes: border-solid from global;
|
|
4
|
+
composes: border-subtle from global;
|
|
5
|
+
composes: grid from global;
|
|
6
|
+
composes: grid-cols-2 from global;
|
|
7
|
+
composes: rounded-md from global;
|
|
6
8
|
}
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.stackedCell {
|
|
15
|
-
composes: cell;
|
|
16
|
-
display: grid;
|
|
17
|
-
row-gap: 0.25rem;
|
|
10
|
+
@media (min-width: 960px) {
|
|
11
|
+
.root {
|
|
12
|
+
grid-template-columns:
|
|
13
|
+
minmax(9rem, 1fr) minmax(9rem, 1fr) minmax(9rem, 1fr)
|
|
14
|
+
16rem 2fr 3rem;
|
|
15
|
+
}
|
|
18
16
|
}
|
|
19
17
|
|
|
20
|
-
.
|
|
21
|
-
|
|
18
|
+
.orderNumberContainer {
|
|
19
|
+
composes: border-0 from global;
|
|
20
|
+
composes: border-b from global;
|
|
21
|
+
composes: border-solid from global;
|
|
22
|
+
composes: border-subtle from global;
|
|
23
|
+
composes: gap-x-2xs from global;
|
|
24
|
+
composes: gap-y-1 from global;
|
|
25
|
+
composes: grid from global;
|
|
26
|
+
composes: grid-flow-col from global;
|
|
27
|
+
composes: items-center from global;
|
|
28
|
+
composes: justify-start from global;
|
|
29
|
+
composes: overflow-hidden from global;
|
|
30
|
+
composes: p-sm from global;
|
|
31
|
+
|
|
32
|
+
composes: lg_border-b-0 from global;
|
|
33
|
+
composes: lg_gap-x-0 from global;
|
|
34
|
+
composes: lg_grid-flow-row from global;
|
|
35
|
+
composes: lg_items-left from global;
|
|
22
36
|
}
|
|
23
37
|
|
|
24
|
-
.
|
|
25
|
-
|
|
38
|
+
.orderDateContainer {
|
|
39
|
+
composes: border-0 from global;
|
|
40
|
+
composes: border-b from global;
|
|
41
|
+
composes: border-solid from global;
|
|
42
|
+
composes: border-subtle from global;
|
|
43
|
+
composes: gap-y-1 from global;
|
|
44
|
+
composes: grid from global;
|
|
45
|
+
composes: overflow-hidden from global;
|
|
46
|
+
composes: p-sm from global;
|
|
47
|
+
|
|
48
|
+
composes: lg_border-b-0 from global;
|
|
49
|
+
composes: lg_border-l from global;
|
|
26
50
|
}
|
|
27
51
|
|
|
28
|
-
.orderNumberContainer,
|
|
29
|
-
.orderDateContainer,
|
|
30
52
|
.orderTotalContainer {
|
|
31
|
-
composes:
|
|
53
|
+
composes: border-0 from global;
|
|
54
|
+
composes: border-b from global;
|
|
55
|
+
composes: border-l from global;
|
|
56
|
+
composes: border-solid from global;
|
|
57
|
+
composes: border-subtle from global;
|
|
58
|
+
composes: gap-y-1 from global;
|
|
59
|
+
composes: grid from global;
|
|
60
|
+
composes: overflow-hidden from global;
|
|
61
|
+
composes: p-sm from global;
|
|
62
|
+
|
|
63
|
+
composes: lg_border-b-0 from global;
|
|
32
64
|
}
|
|
33
65
|
|
|
34
66
|
.orderStatusContainer {
|
|
35
|
-
composes:
|
|
36
|
-
|
|
67
|
+
composes: border-0 from global;
|
|
68
|
+
composes: border-l-0 from global;
|
|
69
|
+
composes: border-solid from global;
|
|
70
|
+
composes: border-subtle from global;
|
|
71
|
+
composes: col-end-span2 from global;
|
|
72
|
+
composes: gap-y-1 from global;
|
|
73
|
+
composes: grid from global;
|
|
74
|
+
composes: overflow-hidden from global;
|
|
75
|
+
composes: p-sm from global;
|
|
76
|
+
|
|
77
|
+
composes: lg_border-b-0 from global;
|
|
78
|
+
composes: lg_border-l from global;
|
|
79
|
+
composes: lg_col-end-auto from global;
|
|
80
|
+
composes: lg_gap-y-3 from global;
|
|
37
81
|
}
|
|
38
82
|
|
|
39
83
|
.orderItemsContainer {
|
|
40
|
-
composes:
|
|
41
|
-
|
|
84
|
+
composes: border-0 from global;
|
|
85
|
+
composes: border-b from global;
|
|
86
|
+
composes: border-solid from global;
|
|
87
|
+
composes: border-subtle from global;
|
|
88
|
+
composes: col-end-span2 from global;
|
|
89
|
+
composes: overflow-hidden from global;
|
|
90
|
+
composes: p-0 from global;
|
|
91
|
+
composes: py-sm from global;
|
|
92
|
+
|
|
93
|
+
composes: lg_border-0 from global;
|
|
94
|
+
composes: lg_border-l from global;
|
|
95
|
+
composes: lg_col-end-auto from global;
|
|
96
|
+
composes: lg_p-0 from global;
|
|
42
97
|
}
|
|
43
98
|
|
|
44
99
|
.contentToggleContainer {
|
|
45
|
-
composes:
|
|
46
|
-
|
|
100
|
+
composes: border-0 from global;
|
|
101
|
+
composes: border-l from global;
|
|
102
|
+
composes: border-solid from global;
|
|
103
|
+
composes: border-subtle from global;
|
|
104
|
+
composes: col-start-2 from global;
|
|
105
|
+
composes: justify-self-end from global;
|
|
106
|
+
composes: overflow-hidden from global;
|
|
107
|
+
composes: px-xs from global;
|
|
108
|
+
composes: py-0 from global;
|
|
109
|
+
composes: row-start-1 from global;
|
|
110
|
+
|
|
111
|
+
composes: lg_border-l from global;
|
|
112
|
+
composes: lg_col-start-6 from global;
|
|
113
|
+
composes: lg_px-xs from global;
|
|
114
|
+
composes: lg_row-start-1 from global;
|
|
47
115
|
}
|
|
48
116
|
|
|
49
117
|
.orderNumberLabel,
|
|
50
118
|
.orderDateLabel,
|
|
51
119
|
.orderTotalLabel {
|
|
52
|
-
composes:
|
|
120
|
+
composes: text-2xs from global;
|
|
53
121
|
}
|
|
54
122
|
|
|
55
123
|
.orderNumber,
|
|
56
124
|
.orderDate,
|
|
57
125
|
.orderTotal {
|
|
58
|
-
composes:
|
|
126
|
+
composes: font-bold from global;
|
|
59
127
|
}
|
|
60
128
|
|
|
61
129
|
.orderStatusBadge {
|
|
62
|
-
composes:
|
|
63
|
-
|
|
64
|
-
border-
|
|
65
|
-
font-
|
|
66
|
-
justify-self
|
|
67
|
-
|
|
130
|
+
composes: border from global;
|
|
131
|
+
composes: border-solid from global;
|
|
132
|
+
composes: border-subtle from global;
|
|
133
|
+
composes: font-bold from global;
|
|
134
|
+
composes: justify-self-start from global;
|
|
135
|
+
composes: px-xs from global;
|
|
136
|
+
composes: py-1 from global;
|
|
137
|
+
composes: rounded-md from global;
|
|
138
|
+
composes: text-2xs from global;
|
|
68
139
|
}
|
|
69
140
|
|
|
70
141
|
.content {
|
|
71
|
-
border-
|
|
142
|
+
composes: border-t from global;
|
|
143
|
+
composes: border-solid from global;
|
|
144
|
+
composes: border-subtle from global;
|
|
145
|
+
composes: p-sm from global;
|
|
72
146
|
grid-column: 1 / -1;
|
|
73
|
-
padding: 1.5rem;
|
|
74
147
|
}
|
|
75
148
|
|
|
76
149
|
.content_collapsed {
|
|
77
|
-
|
|
150
|
+
composes: hidden from global;
|
|
78
151
|
}
|
|
79
152
|
|
|
80
|
-
@media (max-width:
|
|
81
|
-
|
|
82
|
-
grid-template-columns: 1fr 1fr;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.cell {
|
|
86
|
-
border-left: none;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.contentToggleContainer {
|
|
90
|
-
grid-column-start: 2;
|
|
91
|
-
grid-row-start: 1;
|
|
92
|
-
justify-self: flex-end;
|
|
93
|
-
padding: 0 1.5rem;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.orderStatusContainer {
|
|
97
|
-
grid-column-end: span 2;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.orderItemsContainer {
|
|
101
|
-
border-bottom: 2px solid rgb(var(--venia-global-color-gray));
|
|
102
|
-
grid-column-end: span 2;
|
|
103
|
-
padding: 1rem 0;
|
|
104
|
-
}
|
|
105
|
-
|
|
153
|
+
@media (max-width: 959px) {
|
|
154
|
+
/* TODO @TW: cannot compose */
|
|
106
155
|
.orderItemsContainer:empty {
|
|
107
156
|
display: none;
|
|
108
157
|
}
|
|
109
158
|
|
|
110
159
|
.orderNumberContainer {
|
|
111
|
-
align-items: center;
|
|
112
|
-
column-gap: 0.5rem;
|
|
113
|
-
grid-auto-flow: column;
|
|
114
160
|
grid-column: 1 / span 2;
|
|
115
161
|
grid-row: 1;
|
|
116
|
-
justify-content: flex-start;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.orderDateContainer {
|
|
120
|
-
border: 2px solid rgb(var(--venia-global-color-gray));
|
|
121
|
-
border-left: none;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.orderTotalContainer {
|
|
125
|
-
border-bottom: 2px solid rgb(var(--venia-global-color-gray));
|
|
126
|
-
border-top: 2px solid rgb(var(--venia-global-color-gray));
|
|
127
162
|
}
|
|
128
163
|
}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
composes: bg-gray-100 from global;
|
|
3
|
+
composes: h-[2px] from global;
|
|
4
|
+
composes: relative from global;
|
|
5
|
+
composes: overflow-hidden from global;
|
|
6
|
+
composes: w-full from global;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.root_absolute {
|
|
10
10
|
composes: root;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
|
|
12
|
+
composes: absolute from global;
|
|
13
|
+
composes: bottom-0 from global;
|
|
14
|
+
composes: left-0 from global;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.indicator_off {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
composes: absolute from global;
|
|
19
|
+
composes: bg-brand-dark from global;
|
|
20
|
+
composes: h-full from global;
|
|
21
|
+
composes: left-0 from global;
|
|
22
|
+
composes: opacity-0 from global;
|
|
23
|
+
composes: top-0 from global;
|
|
24
|
+
composes: w-full from global;
|
|
24
25
|
transform: translateX(-100%);
|
|
25
26
|
transform-origin: left;
|
|
26
27
|
transition: transform 0.25s linear;
|
|
@@ -28,12 +29,12 @@
|
|
|
28
29
|
|
|
29
30
|
.indicator_loading {
|
|
30
31
|
composes: indicator_off;
|
|
31
|
-
|
|
32
|
+
composes: opacity-100 from global;
|
|
32
33
|
transform: translateX(-25%);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.indicator_done {
|
|
36
37
|
composes: indicator_off;
|
|
37
|
-
|
|
38
|
+
composes: opacity-100 from global;
|
|
38
39
|
transform: translateX(0%);
|
|
39
40
|
}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
border-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
composes: bg-white from global;
|
|
3
|
+
composes: border-t from global;
|
|
4
|
+
composes: border-solid from global;
|
|
5
|
+
composes: border-subtle from global;
|
|
6
|
+
composes: gap-1 from global;
|
|
7
|
+
composes: grid from global;
|
|
8
|
+
composes: grid-flow-col from global;
|
|
9
|
+
composes: justify-center from global;
|
|
10
|
+
composes: px-0 from global;
|
|
11
|
+
composes: py-xs from global;
|
|
12
|
+
composes: text-center from global;
|
|
6
13
|
grid-auto-columns: minmax(2rem, auto);
|
|
7
|
-
grid-auto-flow: column;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
padding: 1rem 0;
|
|
10
|
-
text-align: center;
|
|
11
14
|
}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
border-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
composes: border from global;
|
|
3
|
+
composes: border-solid from global;
|
|
4
|
+
composes: border-transparent from global;
|
|
5
|
+
composes: flex from global;
|
|
6
|
+
composes: items-center from global;
|
|
7
|
+
composes: justify-center from global;
|
|
8
|
+
composes: outline-none from global;
|
|
9
|
+
composes: relative from global;
|
|
10
|
+
composes: rounded-sm from global;
|
|
7
11
|
min-height: 2rem;
|
|
8
|
-
outline: none;
|
|
9
|
-
position: relative;
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
.root_active {
|
|
13
15
|
composes: root;
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
composes: border-currentColor from global;
|
|
15
18
|
}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
.root:active {
|
|
2
|
+
--stroke: var(--venia-global-color-gray-700);
|
|
3
|
+
}
|
|
4
|
+
|
|
1
5
|
.passwordButton {
|
|
2
6
|
composes: root from '../Button/button.module.css';
|
|
3
7
|
|
|
4
8
|
--stroke: var(--venia-global-color-gray-500);
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
border-
|
|
8
|
-
border-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
|
|
10
|
+
composes: bg-transparent from global;
|
|
11
|
+
composes: border-none from global;
|
|
12
|
+
composes: border-0 from global;
|
|
13
|
+
composes: min-w-0 from global;
|
|
14
|
+
composes: p-0 from global;
|
|
15
|
+
composes: rounded-none from global;
|
|
16
|
+
|
|
17
|
+
composes: focus_shadow-none from global;
|
|
11
18
|
}
|
|
12
19
|
|
|
13
20
|
.passwordButton:hover {
|
|
@@ -15,10 +22,5 @@
|
|
|
15
22
|
}
|
|
16
23
|
|
|
17
24
|
.passwordButton:focus {
|
|
18
|
-
box-shadow: none;
|
|
19
|
-
--stroke: var(--venia-global-color-gray-700);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.root:active {
|
|
23
25
|
--stroke: var(--venia-global-color-gray-700);
|
|
24
26
|
}
|
|
@@ -15,9 +15,19 @@ Array [
|
|
|
15
15
|
</div>,
|
|
16
16
|
<div>
|
|
17
17
|
<mock-RichContent
|
|
18
|
+
classes={
|
|
19
|
+
Object {
|
|
20
|
+
"root": undefined,
|
|
21
|
+
}
|
|
22
|
+
}
|
|
18
23
|
html="<span>Option 1</span>"
|
|
19
24
|
/>
|
|
20
25
|
<mock-RichContent
|
|
26
|
+
classes={
|
|
27
|
+
Object {
|
|
28
|
+
"root": undefined,
|
|
29
|
+
}
|
|
30
|
+
}
|
|
21
31
|
html="<span>Option 2</span>"
|
|
22
32
|
/>
|
|
23
33
|
</div>,
|
package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Multiselect/multiselect.js
CHANGED
|
@@ -33,7 +33,11 @@ const Multiselect = props => {
|
|
|
33
33
|
(option, key) => {
|
|
34
34
|
return (
|
|
35
35
|
// TODO: Get decoded wysiwyg widgets from GraphQl
|
|
36
|
-
<RichContent
|
|
36
|
+
<RichContent
|
|
37
|
+
classes={{ root: classes.option }}
|
|
38
|
+
key={key}
|
|
39
|
+
html={option.label}
|
|
40
|
+
/>
|
|
37
41
|
);
|
|
38
42
|
}
|
|
39
43
|
);
|
|
@@ -79,7 +83,8 @@ Multiselect.propTypes = {
|
|
|
79
83
|
classes: shape({
|
|
80
84
|
label: string,
|
|
81
85
|
content: string,
|
|
82
|
-
contentHtml: string
|
|
86
|
+
contentHtml: string,
|
|
87
|
+
option: string
|
|
83
88
|
}),
|
|
84
89
|
attribute_metadata: shape({
|
|
85
90
|
label: string,
|
|
@@ -5,9 +5,18 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.content {
|
|
8
|
-
composes: inline
|
|
8
|
+
composes: inline from global;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.contentHtml {
|
|
12
|
-
composes:
|
|
12
|
+
composes: inline from global;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.option {
|
|
16
|
+
composes: inline-block from global;
|
|
17
|
+
composes: break-words from global;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.option:not(:last-child)::after {
|
|
21
|
+
content: ',\00a0';
|
|
13
22
|
}
|
package/lib/components/ProductFullDetail/CustomAttributes/AttributeType/Textarea/textarea.js
CHANGED
|
@@ -18,11 +18,16 @@ import defaultClasses from './textarea.module.css';
|
|
|
18
18
|
*/
|
|
19
19
|
const Textarea = props => {
|
|
20
20
|
const classes = useStyle(defaultClasses, props.classes);
|
|
21
|
-
const {
|
|
21
|
+
const {
|
|
22
|
+
attribute_metadata = {},
|
|
23
|
+
entered_attribute_value = {},
|
|
24
|
+
showLabels = true
|
|
25
|
+
} = props;
|
|
22
26
|
|
|
23
|
-
const attributeLabel =
|
|
24
|
-
|
|
25
|
-
|
|
27
|
+
const attributeLabel =
|
|
28
|
+
attribute_metadata.label && showLabels ? (
|
|
29
|
+
<div className={classes.label}>{attribute_metadata.label}</div>
|
|
30
|
+
) : null;
|
|
26
31
|
let attributeContent;
|
|
27
32
|
|
|
28
33
|
if (entered_attribute_value.value) {
|
|
@@ -30,6 +35,7 @@ const Textarea = props => {
|
|
|
30
35
|
|
|
31
36
|
if (isHtml) {
|
|
32
37
|
// TODO: Get decoded wysiwyg widgets from GraphQl
|
|
38
|
+
|
|
33
39
|
attributeContent = (
|
|
34
40
|
<div className={classes.contentHtml}>
|
|
35
41
|
<RichContent html={entered_attribute_value.value} />
|