@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,11 +1,9 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
display: grid;
|
|
3
|
-
grid-gap: 2rem;
|
|
4
2
|
grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
|
|
5
|
-
|
|
3
|
+
composes: gap-x-xs from global;
|
|
4
|
+
composes: gap-y-md from global;
|
|
5
|
+
composes: grid from global;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
column-gap: 1rem;
|
|
10
|
-
}
|
|
7
|
+
composes: xs_gap-x-md from global;
|
|
8
|
+
composes: xs_gap-y-md from global;
|
|
11
9
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
2
|
+
composes: grid from global;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.row {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
composes: gap-md from global;
|
|
7
|
+
composes: grid from global;
|
|
8
|
+
composes: items-center from global;
|
|
9
|
+
composes: p-xs from global;
|
|
10
|
+
composes: text-left from global;
|
|
9
11
|
grid-template-columns: auto 1fr auto;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
text-align: left;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.rowButton
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
.rowButton {
|
|
15
|
+
composes: even_border-bottom-2 from global;
|
|
16
|
+
composes: even_border-light from global;
|
|
17
|
+
composes: even_border-solid from global;
|
|
18
|
+
composes: even_border-top-2 from global;
|
|
17
19
|
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
composes: gap-y-xs from global;
|
|
3
|
+
composes: grid from global;
|
|
4
|
+
composes: pl-sm from global;
|
|
5
|
+
composes: pr-sm from global;
|
|
6
|
+
composes: py-md from global;
|
|
7
|
+
|
|
8
|
+
composes: lg_gap-y-md from global;
|
|
9
|
+
composes: lg_px-lg from global;
|
|
5
10
|
}
|
|
6
11
|
|
|
7
12
|
.heading {
|
|
8
|
-
|
|
9
|
-
font-
|
|
10
|
-
|
|
13
|
+
composes: font-bold from global;
|
|
14
|
+
composes: font-serif from global;
|
|
15
|
+
composes: justify-self-center from global;
|
|
16
|
+
composes: pb-xs from global;
|
|
17
|
+
|
|
18
|
+
composes: lg_pb-0 from global;
|
|
11
19
|
}
|
|
12
20
|
|
|
13
21
|
.errorContainer {
|
|
14
|
-
justify-self
|
|
22
|
+
composes: justify-self-center from global;
|
|
15
23
|
}
|
|
16
24
|
|
|
17
25
|
.fetchError {
|
|
18
|
-
border-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
font-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
padding-left: 1.5rem;
|
|
28
|
-
padding-right: 1.5rem;
|
|
29
|
-
row-gap: 1rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.heading {
|
|
33
|
-
padding-bottom: 1rem;
|
|
34
|
-
}
|
|
26
|
+
composes: border-l-4 from global;
|
|
27
|
+
composes: border-solid from global;
|
|
28
|
+
composes: border-error from global;
|
|
29
|
+
composes: font-semibold from global;
|
|
30
|
+
composes: pl-xs from global;
|
|
31
|
+
composes: pr-0 from global;
|
|
32
|
+
composes: py-2.5 from global;
|
|
33
|
+
composes: text-error from global;
|
|
34
|
+
composes: text-sm from global;
|
|
35
35
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
justify-
|
|
6
|
-
|
|
7
|
-
pointer-events
|
|
8
|
-
text-
|
|
2
|
+
composes: cursor-pointer from global;
|
|
3
|
+
composes: inline-flex from global;
|
|
4
|
+
composes: items-center from global;
|
|
5
|
+
composes: justify-center from global;
|
|
6
|
+
composes: leading-none from global;
|
|
7
|
+
composes: pointer-events-auto from global;
|
|
8
|
+
composes: text-center from global;
|
|
9
9
|
}
|
package/lib/index.module.css
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
@import './tokens.module.css';
|
|
2
2
|
|
|
3
3
|
:global(*) {
|
|
4
|
+
/* composes: box-border from global; */
|
|
4
5
|
box-sizing: border-box;
|
|
5
6
|
}
|
|
6
7
|
|
|
8
|
+
/* TODO @TW: cannot compose */
|
|
7
9
|
:global(html) {
|
|
8
|
-
|
|
10
|
+
/* composes: text-[100%] from global; */
|
|
9
11
|
font-size: 100%;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
/* composes: text-normal from global; */
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
/* composes: leading-none from global; */
|
|
15
|
+
line-height: 1;
|
|
16
|
+
/* composes: antialiased from global; */
|
|
12
17
|
-moz-osx-font-smoothing: grayscale;
|
|
13
18
|
-webkit-font-smoothing: antialiased;
|
|
14
19
|
}
|
|
@@ -19,22 +24,25 @@
|
|
|
19
24
|
* https://bugs.webkit.org/show_bug.cgi?id=153852
|
|
20
25
|
*
|
|
21
26
|
* :global(html[data-scroll-lock='true'] body) {
|
|
22
|
-
* overflow: hidden
|
|
27
|
+
* overflow: hidden;
|
|
23
28
|
* }
|
|
24
29
|
*/
|
|
25
30
|
|
|
31
|
+
/* TODO @TW: cannot compose */
|
|
26
32
|
:global(body),
|
|
27
33
|
:global(button),
|
|
28
34
|
:global(input),
|
|
29
35
|
:global(select),
|
|
30
36
|
:global(textarea) {
|
|
31
|
-
|
|
32
|
-
|
|
37
|
+
/* composes: text-gray-900 from global; */
|
|
38
|
+
/* color: rgb(var(--venia-global-color-text)); */
|
|
39
|
+
color: rgb(23 32 38);
|
|
33
40
|
}
|
|
34
41
|
|
|
35
42
|
:global(body) {
|
|
36
|
-
|
|
43
|
+
/* composes: m-0 from global; */
|
|
37
44
|
margin: 0;
|
|
45
|
+
/* composes: p-0 from global; */
|
|
38
46
|
padding: 0;
|
|
39
47
|
}
|
|
40
48
|
|
|
@@ -44,53 +52,74 @@
|
|
|
44
52
|
:global(h4),
|
|
45
53
|
:global(h5),
|
|
46
54
|
:global(h6) {
|
|
47
|
-
font-
|
|
48
|
-
font-
|
|
55
|
+
/* composes: font-base from global; */
|
|
56
|
+
font-size: 1rem;
|
|
57
|
+
/* composes: font-normal from global; */
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
/* composes: m-0 from global; */
|
|
49
60
|
margin: 0;
|
|
50
61
|
}
|
|
51
62
|
|
|
52
63
|
:global(h1) {
|
|
53
|
-
|
|
64
|
+
/* composes: text-xl from global; */
|
|
65
|
+
font-size: 1.5rem;
|
|
54
66
|
}
|
|
55
67
|
|
|
56
68
|
:global(h2) {
|
|
57
|
-
|
|
69
|
+
/* composes: text-lg from global; */
|
|
70
|
+
font-size: 1.25rem;
|
|
58
71
|
}
|
|
59
72
|
|
|
60
73
|
:global(a) {
|
|
74
|
+
/* composes: text-current from global; */
|
|
61
75
|
color: currentColor;
|
|
76
|
+
/* composes: no-underline from global; */
|
|
62
77
|
text-decoration: none;
|
|
63
78
|
}
|
|
64
79
|
|
|
65
80
|
:global(p) {
|
|
81
|
+
/* composes: m-0 from global; */
|
|
66
82
|
margin: 0;
|
|
67
83
|
}
|
|
68
84
|
|
|
69
85
|
:global(dl),
|
|
70
86
|
:global(ol),
|
|
71
87
|
:global(ul) {
|
|
88
|
+
/* composes: list-none from global; */
|
|
72
89
|
list-style-type: none;
|
|
90
|
+
/* composes: m-0 from global; */
|
|
73
91
|
margin: 0;
|
|
92
|
+
/* composes: p-0 from global; */
|
|
74
93
|
padding: 0;
|
|
75
94
|
}
|
|
76
95
|
|
|
77
96
|
:global(dd),
|
|
78
97
|
:global(dt) {
|
|
98
|
+
/* composes: m-0 from global; */
|
|
79
99
|
margin: 0;
|
|
80
100
|
}
|
|
81
101
|
|
|
102
|
+
/* TODO @TW: cannot compose */
|
|
82
103
|
:global(button) {
|
|
104
|
+
/* composes: bg-transparent from global; */
|
|
83
105
|
background: none;
|
|
106
|
+
/* composes: border-0 from global; */
|
|
84
107
|
border: 0;
|
|
108
|
+
/* composes: cursor-pointer from global; */
|
|
85
109
|
cursor: pointer;
|
|
110
|
+
/* composes: text-[100%] from global; */
|
|
86
111
|
font-size: 100%;
|
|
112
|
+
/* composes: p-0 from global; */
|
|
87
113
|
padding: 0;
|
|
88
114
|
touch-action: manipulation;
|
|
115
|
+
/* composes: select-none from global; */
|
|
89
116
|
user-select: none;
|
|
117
|
+
/* composes: appearance-none from global; */
|
|
90
118
|
-webkit-appearance: none;
|
|
91
119
|
}
|
|
92
120
|
|
|
93
121
|
:global(button:disabled) {
|
|
122
|
+
/* composes: cursor-default from global; */
|
|
94
123
|
cursor: default;
|
|
95
124
|
touch-action: none;
|
|
96
125
|
}
|
|
@@ -7,6 +7,7 @@ const {
|
|
|
7
7
|
const { createTestInstance } = require('@magento/peregrine');
|
|
8
8
|
const declare = require('../venia-ui-declare');
|
|
9
9
|
const intercept = require('../venia-ui-intercept');
|
|
10
|
+
const { DefinePlugin } = require('webpack');
|
|
10
11
|
|
|
11
12
|
const thisDep = {
|
|
12
13
|
name: '@magento/venia-ui',
|
|
@@ -14,7 +15,7 @@ const thisDep = {
|
|
|
14
15
|
intercept
|
|
15
16
|
};
|
|
16
17
|
|
|
17
|
-
const WEBPACK_BUILD_TIMEOUT =
|
|
18
|
+
const WEBPACK_BUILD_TIMEOUT = 30000;
|
|
18
19
|
|
|
19
20
|
const mockComponent = name => `function ${name}(props) { return <div className={name}>{props.children}</div>;
|
|
20
21
|
`;
|
|
@@ -59,7 +60,31 @@ test('uses RichContentRenderers to inject a default strategy into RichContent',
|
|
|
59
60
|
|
|
60
61
|
const built = await buildModuleWith('../../components/RichContent', {
|
|
61
62
|
context: __dirname,
|
|
62
|
-
dependencies: ['@magento/peregrine', thisDep]
|
|
63
|
+
dependencies: ['@magento/peregrine', thisDep],
|
|
64
|
+
plugins: [
|
|
65
|
+
new DefinePlugin({
|
|
66
|
+
STORE_VIEW_CODE: '"default"',
|
|
67
|
+
AVAILABLE_STORE_VIEWS: `[
|
|
68
|
+
{
|
|
69
|
+
base_currency_code: 'USD',
|
|
70
|
+
code: 'default',
|
|
71
|
+
default_display_currency_code: 'USD',
|
|
72
|
+
id: 1,
|
|
73
|
+
locale: 'en_US',
|
|
74
|
+
store_name: 'Default Store View"'
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
base_currency_code: 'EUR',
|
|
78
|
+
code: 'french',
|
|
79
|
+
default_display_currency_code: 'EUR',
|
|
80
|
+
id: 2,
|
|
81
|
+
locale: 'fr_FR',
|
|
82
|
+
secure_base_media_url: 'https://example.com/media/abcdef/',
|
|
83
|
+
store_name: 'French'
|
|
84
|
+
}
|
|
85
|
+
]`
|
|
86
|
+
})
|
|
87
|
+
]
|
|
63
88
|
});
|
|
64
89
|
|
|
65
90
|
const RichContent = built.run();
|
package/lib/tokens.module.css
CHANGED
|
@@ -9,86 +9,86 @@
|
|
|
9
9
|
/* color */
|
|
10
10
|
--venia-global-color-blue-100: 194 200 255;
|
|
11
11
|
--venia-global-color-blue-400: 61 132 255;
|
|
12
|
-
--venia-global-color-blue-500: 51 109 255;
|
|
13
|
-
--venia-global-color-blue-600: 41 84 255;
|
|
12
|
+
/* --venia-global-color-blue-500: 51 109 255; */
|
|
13
|
+
/* --venia-global-color-blue-600: 41 84 255; */
|
|
14
14
|
--venia-global-color-blue-700: 31 57 255;
|
|
15
|
-
--venia-global-color-blue-800: 23 43 196;
|
|
15
|
+
/* --venia-global-color-blue-800: 23 43 196; */
|
|
16
16
|
--venia-global-color-gray-50: 255 255 255;
|
|
17
|
-
--venia-global-color-gray-75: 250 250 250;
|
|
17
|
+
/* --venia-global-color-gray-75: 250 250 250; */
|
|
18
18
|
--venia-global-color-gray-100: 244 245 245;
|
|
19
|
-
--venia-global-color-gray-200: 234 235 235;
|
|
19
|
+
/* --venia-global-color-gray-200: 234 235 235; */
|
|
20
20
|
--venia-global-color-gray-300: 223 225 226;
|
|
21
21
|
--venia-global-color-gray-400: 181 184 186;
|
|
22
22
|
--venia-global-color-gray-500: 149 154 157;
|
|
23
23
|
--venia-global-color-gray-600: 118 123 127;
|
|
24
24
|
--venia-global-color-gray-700: 84 93 99;
|
|
25
|
-
--venia-global-color-gray-800: 51 63 71;
|
|
25
|
+
/* --venia-global-color-gray-800: 51 63 71; */
|
|
26
26
|
--venia-global-color-gray-900: 23 32 38;
|
|
27
27
|
--venia-global-color-gray: var(--venia-global-color-gray-100);
|
|
28
28
|
--venia-global-color-gray-dark: var(--venia-global-color-gray-300);
|
|
29
29
|
--venia-global-color-gray-darker: var(--venia-global-color-gray-600);
|
|
30
|
-
--venia-global-color-green-400: 51 171 132;
|
|
30
|
+
/* --venia-global-color-green-400: 51 171 132; */
|
|
31
31
|
--venia-global-color-green-500: 45 157 120;
|
|
32
|
-
--venia-global-color-green-600: 38 142 108;
|
|
33
|
-
--venia-global-color-green-700: 18 128 92;
|
|
32
|
+
/* --venia-global-color-green-600: 38 142 108; */
|
|
33
|
+
/* --venia-global-color-green-700: 18 128 92; */
|
|
34
34
|
--venia-global-color-orange: 241 99 33;
|
|
35
35
|
--venia-global-color-red-400: 236 91 98;
|
|
36
|
-
--venia-global-color-red-500: 227 72 80;
|
|
37
|
-
--venia-global-color-red-600: 215 55 63;
|
|
36
|
+
/* --venia-global-color-red-500: 227 72 80; */
|
|
37
|
+
/* --venia-global-color-red-600: 215 55 63; */
|
|
38
38
|
--venia-global-color-red-700: 201 37 45;
|
|
39
|
-
--venia-global-color-red-800: 161 30 36;
|
|
39
|
+
/* --venia-global-color-red-800: 161 30 36; */
|
|
40
40
|
--venia-global-color-teal: var(--venia-global-color-blue-400);
|
|
41
|
-
--venia-global-color-teal-dark: var(--venia-global-color-blue-600);
|
|
41
|
+
/* --venia-global-color-teal-dark: var(--venia-global-color-blue-600); */
|
|
42
42
|
--venia-global-color-teal-light: var(--venia-global-color-gray-100);
|
|
43
43
|
|
|
44
44
|
/* color by semantics */
|
|
45
|
-
--venia-global-color-background: var(--venia-global-color-gray-50);
|
|
45
|
+
/* --venia-global-color-background: var(--venia-global-color-gray-50); */
|
|
46
46
|
--venia-global-color-border: var(--venia-global-color-gray-300);
|
|
47
47
|
--venia-global-color-error: var(--venia-global-color-red-700);
|
|
48
48
|
--venia-global-color-text: var(--venia-global-color-gray-900);
|
|
49
|
-
--venia-global-color-text-alt: var(--venia-global-color-gray-darker);
|
|
49
|
+
/* --venia-global-color-text-alt: var(--venia-global-color-gray-darker); */
|
|
50
50
|
--venia-global-color-text-hint: var(--venia-global-color-gray-500);
|
|
51
|
-
--venia-global-color-warning-dark: var(--venia-global-color-red-700);
|
|
52
|
-
--venia-global-color-warning-light: var(--venia-global-color-gray-100);
|
|
51
|
+
/* --venia-global-color-warning-dark: var(--venia-global-color-red-700); */
|
|
52
|
+
/* --venia-global-color-warning-light: var(--venia-global-color-gray-100); */
|
|
53
53
|
|
|
54
54
|
/* font family */
|
|
55
|
-
--venia-global-fontFamily-sansSerif: 'Muli', sans-serif;
|
|
56
|
-
--venia-global-fontFamily-serif: 'Source Serif Pro', serif;
|
|
55
|
+
/* --venia-global-fontFamily-sansSerif: 'Muli', sans-serif; */
|
|
56
|
+
/* --venia-global-fontFamily-serif: 'Source Serif Pro', serif; */
|
|
57
57
|
|
|
58
58
|
/* font size */
|
|
59
|
-
--venia-global-fontSize-50: 0.6875rem; /* 11px */
|
|
60
|
-
--venia-global-fontSize-75: 0.75rem; /* 12px */
|
|
61
|
-
--venia-global-fontSize-100: 0.875rem; /* 14px */
|
|
62
|
-
--venia-global-fontSize-200: 1rem; /* 16px */
|
|
63
|
-
--venia-global-fontSize-300: 1.125rem; /* 18px */
|
|
64
|
-
--venia-global-fontSize-400: 1.25rem; /* 20px */
|
|
65
|
-
--venia-global-fontSize-500: 1.375rem; /* 22px */
|
|
66
|
-
--venia-global-fontSize-600: 1.5rem; /* 24px */
|
|
67
|
-
--venia-global-fontSize-700: 1.75rem; /* 28px */
|
|
68
|
-
--venia-global-fontSize-800: 2rem; /* 32px */
|
|
69
|
-
--venia-global-fontSize-900: 2.25rem; /* 36px */
|
|
70
|
-
--venia-global-fontSize-1000: 2.5rem; /* 40px */
|
|
71
|
-
--venia-global-fontSize-1100: 3rem; /* 48px */
|
|
72
|
-
--venia-global-fontSize-1200: 3.5rem; /* 56px */
|
|
59
|
+
/* --venia-global-fontSize-50: 0.6875rem; */ /* 11px */
|
|
60
|
+
/* --venia-global-fontSize-75: 0.75rem; */ /* 12px */
|
|
61
|
+
/* --venia-global-fontSize-100: 0.875rem; */ /* 14px */
|
|
62
|
+
/* --venia-global-fontSize-200: 1rem; */ /* 16px */
|
|
63
|
+
/* --venia-global-fontSize-300: 1.125rem; */ /* 18px */
|
|
64
|
+
/* --venia-global-fontSize-400: 1.25rem; */ /* 20px */
|
|
65
|
+
/* --venia-global-fontSize-500: 1.375rem; */ /* 22px */
|
|
66
|
+
/* --venia-global-fontSize-600: 1.5rem; */ /* 24px */
|
|
67
|
+
/* --venia-global-fontSize-700: 1.75rem; */ /* 28px */
|
|
68
|
+
/* --venia-global-fontSize-800: 2rem; */ /* 32px */
|
|
69
|
+
/* --venia-global-fontSize-900: 2.25rem; */ /* 36px */
|
|
70
|
+
/* --venia-global-fontSize-1000: 2.5rem; */ /* 40px */
|
|
71
|
+
/* --venia-global-fontSize-1100: 3rem; */ /* 48px */
|
|
72
|
+
/* --venia-global-fontSize-1200: 3.5rem; */ /* 56px */
|
|
73
73
|
|
|
74
74
|
/* font weight */
|
|
75
|
-
--venia-global-fontWeight-normal: 400;
|
|
76
|
-
--venia-global-fontWeight-semibold: 600;
|
|
77
|
-
--venia-global-fontWeight-bold: 700;
|
|
75
|
+
/* --venia-global-fontWeight-normal: 400; */
|
|
76
|
+
/* --venia-global-fontWeight-semibold: 600; */
|
|
77
|
+
/* --venia-global-fontWeight-bold: 700; */
|
|
78
78
|
|
|
79
79
|
/* line height */
|
|
80
|
-
--venia-global-lineHeight-100: 1;
|
|
81
|
-
--venia-global-lineHeight-200: 1.25;
|
|
82
|
-
--venia-global-lineHeight-300: 1.5;
|
|
83
|
-
--venia-global-lineHeight-400: 1.75;
|
|
84
|
-
--venia-global-lineHeight-500: 2;
|
|
80
|
+
/* --venia-global-lineHeight-100: 1; */
|
|
81
|
+
/* --venia-global-lineHeight-200: 1.25; */
|
|
82
|
+
/* --venia-global-lineHeight-300: 1.5; */
|
|
83
|
+
/* --venia-global-lineHeight-400: 1.75; */
|
|
84
|
+
/* --venia-global-lineHeight-500: 2; */
|
|
85
85
|
|
|
86
86
|
/* dimensions */
|
|
87
87
|
--venia-global-maxWidth: 1440px;
|
|
88
88
|
--venia-global-header-minHeight: 5rem;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
@media (max-width:
|
|
91
|
+
@media (max-width: 959px) {
|
|
92
92
|
:global(:root) {
|
|
93
93
|
--venia-global-header-minHeight: 3.5rem;
|
|
94
94
|
}
|
|
@@ -98,14 +98,14 @@
|
|
|
98
98
|
:global(:root) {
|
|
99
99
|
/* colors */
|
|
100
100
|
--venia-brand-color-1-100: var(--venia-global-color-blue-100);
|
|
101
|
-
--venia-brand-color-1-400: var(--venia-global-color-blue-400);
|
|
102
|
-
--venia-brand-color-1-500: var(--venia-global-color-blue-500);
|
|
103
|
-
--venia-brand-color-1-600: var(--venia-global-color-blue-600);
|
|
101
|
+
/* --venia-brand-color-1-400: var(--venia-global-color-blue-400); */
|
|
102
|
+
/* --venia-brand-color-1-500: var(--venia-global-color-blue-500); */
|
|
103
|
+
/* --venia-brand-color-1-600: var(--venia-global-color-blue-600); */
|
|
104
104
|
--venia-brand-color-1-700: var(--venia-global-color-blue-700);
|
|
105
|
-
--venia-brand-color-1-800: var(--venia-global-color-blue-800);
|
|
105
|
+
/* --venia-brand-color-1-800: var(--venia-global-color-blue-800); */
|
|
106
106
|
|
|
107
|
-
/* typography */
|
|
108
|
-
/*
|
|
107
|
+
/* typography - heading */
|
|
108
|
+
/*
|
|
109
109
|
--venia-global-typography-heading-XL-fontSize: var(
|
|
110
110
|
--venia-global-fontSize-600
|
|
111
111
|
);
|
|
@@ -124,20 +124,24 @@
|
|
|
124
124
|
--venia-global-typography-heading-lineHeight: calc(
|
|
125
125
|
var(--venia-global-lineHeight-200) * 1em
|
|
126
126
|
);
|
|
127
|
+
*/
|
|
127
128
|
|
|
128
|
-
/* body */
|
|
129
|
-
--venia-typography-body-XXXL-fontSize: var(--venia-global-fontSize-600);
|
|
130
|
-
--venia-typography-body-XXL-fontSize: var(--venia-global-fontSize-500);
|
|
131
|
-
--venia-typography-body-XL-fontSize: var(--venia-global-fontSize-400);
|
|
132
|
-
--venia-typography-body-L-fontSize: var(--venia-global-fontSize-300);
|
|
133
|
-
--venia-typography-body-M-fontSize: var(--venia-global-fontSize-200);
|
|
134
|
-
--venia-typography-body-S-fontSize: var(--venia-global-fontSize-100);
|
|
135
|
-
--venia-typography-body-XS-fontSize: var(--venia-global-fontSize-50);
|
|
129
|
+
/* typography - body */
|
|
130
|
+
/* --venia-typography-body-XXXL-fontSize: var(--venia-global-fontSize-600); */
|
|
131
|
+
/* --venia-typography-body-XXL-fontSize: var(--venia-global-fontSize-500); */
|
|
132
|
+
/* --venia-typography-body-XL-fontSize: var(--venia-global-fontSize-400); */
|
|
133
|
+
/* --venia-typography-body-L-fontSize: var(--venia-global-fontSize-300); */
|
|
134
|
+
/* --venia-typography-body-M-fontSize: var(--venia-global-fontSize-200); */
|
|
135
|
+
/* --venia-typography-body-S-fontSize: var(--venia-global-fontSize-100); */
|
|
136
|
+
/* --venia-typography-body-XS-fontSize: var(--venia-global-fontSize-50); */
|
|
137
|
+
/*
|
|
136
138
|
--venia-typography-body-lineHeight: calc(
|
|
137
139
|
var(--venia-global-lineHeight-300) * 1em
|
|
138
140
|
);
|
|
141
|
+
*/
|
|
139
142
|
|
|
140
|
-
/* detail */
|
|
143
|
+
/* typography - detail */
|
|
144
|
+
/*
|
|
141
145
|
--venia-typography-detail-XL-fontSize: var(--venia-global-fontSize-200);
|
|
142
146
|
--venia-typography-detail-L-fontSize: var(--venia-global-fontSize-100);
|
|
143
147
|
--venia-typography-detail-M-fontSize: var(--venia-global-fontSize-75);
|
|
@@ -145,4 +149,5 @@
|
|
|
145
149
|
--venia-typography-detail-lineHeight: calc(
|
|
146
150
|
var(--venia-global-lineHeight-200) * 1em
|
|
147
151
|
);
|
|
152
|
+
*/
|
|
148
153
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magento/venia-ui",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.4.0-beta.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"storybook:build": "build-storybook -c .storybook -o storybook-dist"
|
|
27
27
|
},
|
|
28
28
|
"repository": "github:magento/pwa-studio",
|
|
29
|
-
"author": "
|
|
29
|
+
"author": "Adobe Commerce",
|
|
30
30
|
"license": "(OSL-3.0 OR AFL-3.0)",
|
|
31
31
|
"bugs": {
|
|
32
32
|
"url": "https://github.com/magento/pwa-studio/issues"
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"@apollo/client": "~3.4.0",
|
|
82
|
-
"@magento/babel-preset-peregrine": "
|
|
83
|
-
"@magento/peregrine": "12.
|
|
84
|
-
"@magento/pwa-buildpack": "11.
|
|
82
|
+
"@magento/babel-preset-peregrine": "1.2.1-beta.1",
|
|
83
|
+
"@magento/peregrine": "12.4.0-beta.1",
|
|
84
|
+
"@magento/pwa-buildpack": "11.3.0-beta.1",
|
|
85
85
|
"apollo-cache-persist": "~0.1.1",
|
|
86
86
|
"braintree-web-drop-in": "~1.16.0",
|
|
87
87
|
"graphql": "~15.5.0",
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
.root {
|
|
2
|
-
--stroke: var(--venia-global-color-gray-600);
|
|
3
|
-
text-align: center;
|
|
4
|
-
display: grid;
|
|
5
|
-
grid-template-columns: 1fr 4rem 1fr;
|
|
6
|
-
grid-column-gap: 0.5rem;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-items: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.wrap {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.label:not(:focus):not(:active) {
|
|
18
|
-
position: absolute;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
width: 1px;
|
|
21
|
-
height: 1px;
|
|
22
|
-
clip: rect(0 0 0 0);
|
|
23
|
-
clip-path: inset(100%);
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.button {
|
|
28
|
-
align-items: center;
|
|
29
|
-
background-color: rgb(var(--venia-global-color-gray-50));
|
|
30
|
-
border: 2px solid rgb(var(--venia-global-color-gray-600));
|
|
31
|
-
border-radius: 50%;
|
|
32
|
-
display: inline-flex;
|
|
33
|
-
height: 2rem;
|
|
34
|
-
justify-content: center;
|
|
35
|
-
stroke: rgb(var(--stroke));
|
|
36
|
-
width: 2rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.button:hover {
|
|
40
|
-
--stroke: rgb(var(--venia-global-color-gray-900));
|
|
41
|
-
border-color: rgb(var(--stroke));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.button:disabled,
|
|
45
|
-
.button:disabled:hover {
|
|
46
|
-
--stroke: rgb(var(--venia-global-color-gray-400));
|
|
47
|
-
border-color: rgb(var(--venia-global-color-gray-400));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.button:disabled {
|
|
51
|
-
cursor: not-allowed;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.button:focus {
|
|
55
|
-
outline: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.button_decrement {
|
|
59
|
-
composes: button;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.button_increment {
|
|
63
|
-
composes: button;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.icon {
|
|
67
|
-
align-items: center;
|
|
68
|
-
display: inline-flex;
|
|
69
|
-
justify-content: center;
|
|
70
|
-
touch-action: manipulation;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.input {
|
|
74
|
-
composes: input from '../../TextInput/textInput.module.css';
|
|
75
|
-
text-align: center;
|
|
76
|
-
}
|