From 41ec6f6457070167f5dd9eb6ee06965f2d70191b Mon Sep 17 00:00:00 2001 From: Mardin Date: Wed, 12 Mar 2025 21:05:30 +0300 Subject: [PATCH] fix(text-styling): text-* typo in styling component's text --- src/app/[countryCode]/(checkout)/layout.tsx | 6 ++-- .../address-card/edit-address-modal.tsx | 2 +- .../account/templates/account-layout.tsx | 2 +- .../components/cart-item-select/index.tsx | 2 +- src/modules/cart/components/item/index.tsx | 2 +- .../cart/components/sign-in-prompt/index.tsx | 4 +-- src/modules/cart/templates/items.tsx | 2 +- .../checkout/components/addresses/index.tsx | 28 +++++++++---------- .../components/discount-code/index.tsx | 8 +++--- .../components/payment-container/index.tsx | 2 +- .../checkout/components/payment/index.tsx | 16 +++++------ .../checkout/components/review/index.tsx | 2 +- .../checkout/components/shipping/index.tsx | 12 ++++---- .../common/components/cart-totals/index.tsx | 6 ++-- .../common/components/checkbox/index.tsx | 2 +- .../components/filter-radio-group/index.tsx | 4 +-- src/modules/common/components/input/index.tsx | 4 +-- .../components/line-item-options/index.tsx | 2 +- .../featured-products/product-rail/index.tsx | 2 +- .../components/country-select/index.tsx | 4 +-- .../layout/components/medusa-cta/index.tsx | 2 +- .../layout/components/side-menu/index.tsx | 2 +- src/modules/layout/templates/footer/index.tsx | 18 ++++++------ src/modules/layout/templates/nav/index.tsx | 4 +-- src/modules/order/components/item/index.tsx | 2 +- .../components/payment-details/index.tsx | 8 +++--- .../components/shipping-details/index.tsx | 20 ++++++------- .../components/product-preview/index.tsx | 2 +- .../store/components/pagination/index.tsx | 4 +-- 29 files changed, 87 insertions(+), 87 deletions(-) diff --git a/src/app/[countryCode]/(checkout)/layout.tsx b/src/app/[countryCode]/(checkout)/layout.tsx index 53793dbd8..949a4aadf 100644 --- a/src/app/[countryCode]/(checkout)/layout.tsx +++ b/src/app/[countryCode]/(checkout)/layout.tsx @@ -17,16 +17,16 @@ export default function CheckoutLayout({ data-testid="back-to-cart-link" > - + Back to shopping cart - + Back Medusa Store diff --git a/src/modules/account/components/address-card/edit-address-modal.tsx b/src/modules/account/components/address-card/edit-address-modal.tsx index 6f08daa91..2bf73b7fb 100644 --- a/src/modules/account/components/address-card/edit-address-modal.tsx +++ b/src/modules/account/components/address-card/edit-address-modal.tsx @@ -81,7 +81,7 @@ const EditAddress: React.FC = ({ {address.company && ( {address.company} diff --git a/src/modules/account/templates/account-layout.tsx b/src/modules/account/templates/account-layout.tsx index 2d2949063..a9b1ac408 100644 --- a/src/modules/account/templates/account-layout.tsx +++ b/src/modules/account/templates/account-layout.tsx @@ -24,7 +24,7 @@ const AccountLayout: React.FC = ({

Got questions?

- + You can find frequently asked questions and answers on our customer service page. diff --git a/src/modules/cart/components/cart-item-select/index.tsx b/src/modules/cart/components/cart-item-select/index.tsx index 0073df0d3..824e425fa 100644 --- a/src/modules/cart/components/cart-item-select/index.tsx +++ b/src/modules/cart/components/cart-item-select/index.tsx @@ -42,7 +42,7 @@ const CartItemSelect = forwardRef( onFocus={() => innerRef.current?.focus()} onBlur={() => innerRef.current?.blur()} className={clx( - "relative flex items-center txt-compact-small border text-ui-fg-base group", + "relative flex items-center text-compact-small border text-ui-fg-base group", className, { "text-ui-fg-subtle": isPlaceholder, diff --git a/src/modules/cart/components/item/index.tsx b/src/modules/cart/components/item/index.tsx index b35f1c49c..e575c19fb 100644 --- a/src/modules/cart/components/item/index.tsx +++ b/src/modules/cart/components/item/index.tsx @@ -64,7 +64,7 @@ const Item = ({ item, type = "full", currencyCode }: ItemProps) => { {item.product_title} diff --git a/src/modules/cart/components/sign-in-prompt/index.tsx b/src/modules/cart/components/sign-in-prompt/index.tsx index b1d169d44..3ce042808 100644 --- a/src/modules/cart/components/sign-in-prompt/index.tsx +++ b/src/modules/cart/components/sign-in-prompt/index.tsx @@ -5,10 +5,10 @@ const SignInPrompt = () => { return (
- + Already have an account? - + Sign in for a better experience.
diff --git a/src/modules/cart/templates/items.tsx b/src/modules/cart/templates/items.tsx index 71818c3f4..88f9c9ece 100644 --- a/src/modules/cart/templates/items.tsx +++ b/src/modules/cart/templates/items.tsx @@ -18,7 +18,7 @@ const ItemsTemplate = ({ cart }: ItemsTemplateProps) => {
- + Item Quantity diff --git a/src/modules/checkout/components/addresses/index.tsx b/src/modules/checkout/components/addresses/index.tsx index d231acacc..814dfaaad 100644 --- a/src/modules/checkout/components/addresses/index.tsx +++ b/src/modules/checkout/components/addresses/index.tsx @@ -99,22 +99,22 @@ const Addresses = ({ className="flex flex-col w-1/3" data-testid="shipping-address-summary" > - + Shipping Address - + {cart.shipping_address.first_name}{" "} {cart.shipping_address.last_name} - + {cart.shipping_address.address_1}{" "} {cart.shipping_address.address_2} - + {cart.shipping_address.postal_code},{" "} {cart.shipping_address.city} - + {cart.shipping_address.country_code?.toUpperCase()} @@ -123,13 +123,13 @@ const Addresses = ({ className="flex flex-col w-1/3 " data-testid="shipping-contact-summary" > - + Contact - + {cart.shipping_address.phone} - + {cart.email} @@ -138,29 +138,29 @@ const Addresses = ({ className="flex flex-col w-1/3" data-testid="billing-address-summary" > - + Billing Address {sameAsBilling ? ( - + Billing- and delivery address are the same. ) : ( <> - + {cart.billing_address?.first_name}{" "} {cart.billing_address?.last_name} - + {cart.billing_address?.address_1}{" "} {cart.billing_address?.address_2} - + {cart.billing_address?.postal_code},{" "} {cart.billing_address?.city} - + {cart.billing_address?.country_code?.toUpperCase()} diff --git a/src/modules/checkout/components/discount-code/index.tsx b/src/modules/checkout/components/discount-code/index.tsx index 023158f36..c63b04524 100644 --- a/src/modules/checkout/components/discount-code/index.tsx +++ b/src/modules/checkout/components/discount-code/index.tsx @@ -53,13 +53,13 @@ const DiscountCode: React.FC = ({ cart }) => { return (
-
+
addPromotionCode(a)} className="w-full mb-5">