@magento/venia-ui 10.3.0 → 11.3.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 +7 -3
- package/lib/RootComponents/Category/category.module.css +2 -2
- package/lib/components/Accordion/accordion.module.css +1 -1
- package/lib/components/Accordion/section.module.css +2 -8
- package/lib/components/AccountInformationPage/editForm.module.css +1 -1
- package/lib/components/AccountMenu/__tests__/__snapshots__/accountMenu.spec.js.snap +1 -1
- package/lib/components/AccountMenu/accountMenu.js +4 -1
- package/lib/components/AccountMenu/accountMenu.module.css +10 -9
- package/lib/components/AddToCartDialog/addToCartDialog.module.css +4 -8
- package/lib/components/AddressBookPage/addEditDialog.module.css +1 -1
- package/lib/components/AddressBookPage/addressBookPage.module.css +1 -1
- package/lib/components/AddressBookPage/addressCard.module.css +7 -6
- package/lib/components/Breadcrumbs/breadcrumbs.module.css +1 -2
- package/lib/components/Button/button.module.css +3 -10
- package/lib/components/ButtonGroup/button.module.css +5 -5
- package/lib/components/CartPage/GiftCards/giftCards.module.css +8 -15
- package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +5 -12
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +1 -1
- package/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +1 -1
- package/lib/components/CartPage/ProductListing/product.module.css +4 -11
- package/lib/components/CartPage/cartPage.module.css +3 -4
- package/lib/components/CategoryTree/categoryLeaf.module.css +1 -1
- package/lib/components/Checkbox/checkbox.module.css +7 -11
- package/lib/components/Checkout/form.module.css +3 -7
- package/lib/components/Checkout/paymentsForm.module.css +2 -3
- package/lib/components/Checkout/section.module.css +1 -1
- package/lib/components/CheckoutPage/AddressBook/addressBook.module.css +3 -4
- package/lib/components/CheckoutPage/AddressBook/addressCard.module.css +4 -4
- package/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +11 -11
- package/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +1 -1
- package/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +1 -2
- package/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +1 -1
- package/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +6 -6
- package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +1 -1
- package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +1 -3
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +5 -5
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +5 -5
- package/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +6 -10
- package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +5 -9
- package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +1 -3
- package/lib/components/CheckoutPage/checkoutPage.module.css +11 -13
- package/lib/components/CmsBlock/cmsBlock.module.css +8 -10
- package/lib/components/ContactPage/contactPage.shimmer.module.css +1 -1
- package/lib/components/CreateAccount/createAccount.module.css +1 -4
- package/lib/components/CreateAccountPage/createAccountPage.module.css +1 -1
- package/lib/components/Dialog/dialog.module.css +7 -13
- package/lib/components/ErrorView/errorView.module.css +1 -1
- package/lib/components/Field/field.module.css +2 -1
- package/lib/components/Field/fieldIcons.module.css +8 -12
- package/lib/components/Field/message.module.css +3 -7
- package/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +1 -3
- package/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +1 -4
- package/lib/components/FilterModal/filterBlock.module.css +1 -5
- package/lib/components/FilterModal/filterModal.module.css +7 -18
- package/lib/components/FilterModalOpenButton/filterModalOpenButton.module.css +2 -2
- package/lib/components/FilterSidebar/filterSidebar.module.css +5 -10
- package/lib/components/Footer/footer.module.css +2 -2
- package/lib/components/ForgotPassword/ForgotPasswordForm/forgotPasswordForm.module.css +2 -2
- package/lib/components/ForgotPasswordPage/forgotPasswordPage.module.css +1 -1
- package/lib/components/Gallery/addToCartButton.module.css +3 -5
- package/lib/components/Gallery/gallery.module.css +1 -1
- package/lib/components/Gallery/item.module.css +1 -4
- package/lib/components/Header/currencySwitcher.module.css +17 -28
- package/lib/components/Header/header.module.css +2 -2
- package/lib/components/Header/onlineIndicator.module.css +2 -2
- package/lib/components/Header/storeSwitcher.module.css +9 -16
- package/lib/components/HomePage/homePage.module.css +10 -10
- package/lib/components/Image/image.module.css +2 -7
- package/lib/components/LegacyMiniCart/cartOptions.module.css +1 -1
- package/lib/components/LegacyMiniCart/mask.module.css +1 -1
- package/lib/components/LegacyMiniCart/miniCart.module.css +2 -8
- package/lib/components/LinkButton/linkButton.module.css +1 -2
- package/lib/components/LoadingIndicator/indicator.module.css +3 -3
- package/lib/components/Main/main.module.css +3 -3
- package/lib/components/Mask/mask.module.css +3 -9
- package/lib/components/MegaMenu/megaMenuItem.module.css +1 -2
- package/lib/components/MegaMenu/submenu.module.css +8 -8
- package/lib/components/MiniCart/ProductList/item.module.css +1 -1
- package/lib/components/MiniCart/miniCart.js +2 -1
- package/lib/components/MiniCart/miniCart.module.css +15 -17
- package/lib/components/MyAccount/ResetPassword/resetPassword.module.css +1 -1
- package/lib/components/Navigation/navigation.module.css +9 -27
- package/lib/components/Newsletter/newsletter.module.css +10 -11
- package/lib/components/OrderHistoryPage/OrderDetails/item.module.css +1 -1
- package/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +1 -1
- package/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +1 -1
- package/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +2 -3
- package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderRow.spec.js.snap +4 -8
- package/lib/components/OrderHistoryPage/__tests__/orderRow.spec.js +0 -42
- package/lib/components/OrderHistoryPage/orderHistoryPage.module.css +1 -1
- package/lib/components/OrderHistoryPage/orderProgressBar.js +22 -8
- package/lib/components/OrderHistoryPage/orderRow.js +5 -31
- package/lib/components/OrderHistoryPage/orderRow.module.css +5 -9
- package/lib/components/PageLoadingIndicator/pageLoadingIndicator.module.css +2 -2
- package/lib/components/Pagination/tile.module.css +1 -1
- package/lib/components/Password/password.module.css +2 -2
- package/lib/components/ProductFullDetail/productFullDetail.module.css +4 -5
- package/lib/components/ProductImageCarousel/carousel.module.css +2 -3
- package/lib/components/ProductImageCarousel/thumbnail.module.css +1 -1
- package/lib/components/ProductOptions/swatch.module.css +9 -10
- package/lib/components/ProductOptions/tile.module.css +8 -9
- package/lib/components/ProductSort/productSort.module.css +2 -2
- package/lib/components/QuantityStepper/quantityStepper.module.css +3 -13
- package/lib/components/RadioGroup/radio.module.css +2 -6
- package/lib/components/RadioGroup/radioGroup.module.css +1 -5
- package/lib/components/RichContent/richContent.module.css +57 -64
- package/lib/components/RichText/richText.module.css +6 -7
- package/lib/components/SavedPaymentsPage/creditCard.module.css +10 -16
- package/lib/components/SavedPaymentsPage/savedPaymentsPage.module.css +2 -4
- package/lib/components/SearchBar/autocomplete.module.css +2 -8
- package/lib/components/SearchBar/searchBar.module.css +2 -7
- package/lib/components/SearchBar/suggestedCategories.module.css +1 -4
- package/lib/components/SearchBar/suggestedProducts.module.css +1 -4
- package/lib/components/SearchPage/searchPage.module.css +2 -7
- package/lib/components/Select/select.module.css +1 -1
- package/lib/components/Shimmer/shimmer.module.css +22 -45
- package/lib/components/SignIn/signIn.module.css +2 -8
- package/lib/components/SignInPage/signInPage.module.css +1 -1
- package/lib/components/TextArea/textArea.module.css +2 -2
- package/lib/components/TextInput/textInput.module.css +2 -2
- package/lib/components/ToastContainer/toast.module.css +4 -4
- package/lib/components/WishlistPage/createWishlist.module.css +3 -3
- package/lib/components/WishlistPage/wishlist.module.css +4 -4
- package/lib/components/WishlistPage/wishlistEditFavoritesListDialog.module.css +1 -1
- package/lib/components/WishlistPage/wishlistItem.module.css +1 -1
- package/lib/index.module.css +34 -67
- package/lib/tokens.module.css +22 -22
- package/package.json +2 -2
package/i18n/en_US.json
CHANGED
|
@@ -313,11 +313,15 @@
|
|
|
313
313
|
"orderHistoryPage.ordersCount": "You have {count} orders in your history",
|
|
314
314
|
"orderHistoryPage.search": "Search by Order Number",
|
|
315
315
|
"orderItems.itemsHeading": "Items",
|
|
316
|
-
"orderProgressBar.deliveredText": "
|
|
317
|
-
"orderProgressBar.processingText": "
|
|
316
|
+
"orderProgressBar.deliveredText": "complete",
|
|
317
|
+
"orderProgressBar.processingText": "processing",
|
|
318
|
+
"orderProgressBar.newText": "new",
|
|
319
|
+
"orderProgressBar.pendingPaymentText": "Pending Payment",
|
|
320
|
+
"orderProgressBar.paymentReviewText": "Payment Review",
|
|
318
321
|
"orderProgressBar.readyToShipText": "Ready to ship",
|
|
319
322
|
"orderProgressBar.shippedText": "Shipped",
|
|
320
|
-
"orderRow.deliveredText": "
|
|
323
|
+
"orderRow.deliveredText": "complete",
|
|
324
|
+
"orderProgressBar.closedText": "Closed",
|
|
321
325
|
"orderRow.orderDateText": "Order Date",
|
|
322
326
|
"orderRow.orderNumberText": "Order #",
|
|
323
327
|
"orderRow.orderTotalText": "Order Total",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
.categoryInfo {
|
|
48
|
-
|
|
48
|
+
composes: basis-full from global;
|
|
49
49
|
composes: leading-tight from global;
|
|
50
50
|
composes: max-w-[75vw] from global;
|
|
51
51
|
composes: mx-0 from global;
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
composes: flex from global;
|
|
61
61
|
composes: justify-center from global;
|
|
62
62
|
composes: pb-sm from global;
|
|
63
|
-
|
|
63
|
+
composes: basis-full from global;
|
|
64
64
|
|
|
65
65
|
composes: lg_justify-end from global;
|
|
66
66
|
composes: lg_pb-0 from global;
|
|
@@ -4,21 +4,15 @@
|
|
|
4
4
|
composes: border-subtle from global;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
/* TODO @TW: cannot compose */
|
|
8
7
|
.root:last-of-type {
|
|
9
|
-
|
|
10
|
-
border-bottom-width: 0;
|
|
8
|
+
@apply border-b-0;
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
.contents_container {
|
|
14
12
|
composes: pb-sm from global;
|
|
15
13
|
composes: pt-0 from global;
|
|
16
14
|
composes: px-sm from global;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/* TODO @TW: cannot compose */
|
|
20
|
-
.contents_container:empty {
|
|
21
|
-
display: none;
|
|
15
|
+
composes: empty_hidden from global;
|
|
22
16
|
}
|
|
23
17
|
|
|
24
18
|
.contents_container_closed {
|
|
@@ -61,7 +61,7 @@ exports[`it renders create account component when the view is CREATE_ACCOUNT 1`]
|
|
|
61
61
|
|
|
62
62
|
exports[`it renders empty aside element when accountMenuIsOpen is false 1`] = `
|
|
63
63
|
<aside
|
|
64
|
-
className="
|
|
64
|
+
className="root_closed"
|
|
65
65
|
>
|
|
66
66
|
<div
|
|
67
67
|
className="contents"
|
|
@@ -31,7 +31,9 @@ const AccountMenu = React.forwardRef((props, ref) => {
|
|
|
31
31
|
} = talonProps;
|
|
32
32
|
|
|
33
33
|
const classes = useStyle(defaultClasses, props.classes);
|
|
34
|
-
const rootClass = accountMenuIsOpen
|
|
34
|
+
const rootClass = accountMenuIsOpen
|
|
35
|
+
? classes.root_open
|
|
36
|
+
: classes.root_closed;
|
|
35
37
|
const contentsClass = accountMenuIsOpen
|
|
36
38
|
? classes.contents_open
|
|
37
39
|
: classes.contents;
|
|
@@ -99,6 +101,7 @@ export default AccountMenu;
|
|
|
99
101
|
AccountMenu.propTypes = {
|
|
100
102
|
classes: shape({
|
|
101
103
|
root: string,
|
|
104
|
+
root_closed: string,
|
|
102
105
|
root_open: string,
|
|
103
106
|
link: string,
|
|
104
107
|
contents_open: string,
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
.root {
|
|
2
2
|
composes: absolute from global;
|
|
3
3
|
composes: h-0 from global;
|
|
4
|
-
composes: left-[-100vw] from global;
|
|
5
4
|
composes: max-w-[100vw] from global;
|
|
6
5
|
composes: opacity-0 from global;
|
|
7
6
|
composes: overflow-visible from global;
|
|
8
7
|
composes: top-full from global;
|
|
9
8
|
composes: z-menu from global;
|
|
9
|
+
composes: -translate-x-1/2 from global;
|
|
10
|
+
|
|
10
11
|
transition: opacity 192ms var(--venia-global-anim-out),
|
|
11
12
|
visibility 192ms var(--venia-global-anim-out),
|
|
12
13
|
/* Adding delay to move container off the screen after previous transitions happened */
|
|
13
14
|
left 0s 192ms;
|
|
14
|
-
width: calc(100vw -
|
|
15
|
-
|
|
15
|
+
width: calc(100vw - theme(spacing.8));
|
|
16
|
+
}
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
.root_closed {
|
|
19
|
+
composes: root;
|
|
20
|
+
|
|
21
|
+
composes: left-[-100vw] from global;
|
|
22
|
+
@apply invisible;
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
.root_open {
|
|
@@ -27,9 +30,7 @@
|
|
|
27
30
|
transition: opacity 224ms var(--venia-global-anim-in),
|
|
28
31
|
visibility 224ms var(--venia-global-anim-in), left 0s;
|
|
29
32
|
|
|
30
|
-
|
|
31
|
-
/* composes: visible from global; */
|
|
32
|
-
visibility: visible;
|
|
33
|
+
@apply visible;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.contents {
|
|
@@ -26,14 +26,10 @@
|
|
|
26
26
|
|
|
27
27
|
.price {
|
|
28
28
|
composes: font-semibold from global;
|
|
29
|
-
}
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
background-color: rgb(var(--venia-global-color-gray));
|
|
35
|
-
min-height: 1rem;
|
|
36
|
-
width: 4rem;
|
|
30
|
+
composes: empty_bg-subtle from global;
|
|
31
|
+
composes: empty_w-16 from global;
|
|
32
|
+
composes: empty_min-h-4 from global;
|
|
37
33
|
}
|
|
38
34
|
|
|
39
35
|
.optionTitle {
|
|
@@ -48,7 +44,7 @@
|
|
|
48
44
|
.dialogHeaderText {
|
|
49
45
|
composes: headerText from '../Dialog/dialog.module.css';
|
|
50
46
|
|
|
51
|
-
|
|
47
|
+
@apply overflow-visible;
|
|
52
48
|
}
|
|
53
49
|
|
|
54
50
|
.titleContainer {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
composes: border-dashed from global;
|
|
34
34
|
composes: border-subtle from global;
|
|
35
35
|
composes: font-semibold from global;
|
|
36
|
-
composes: rounded-
|
|
36
|
+
composes: rounded-box from global;
|
|
37
37
|
composes: text-brand-dark from global;
|
|
38
38
|
composes: text-sm from global;
|
|
39
39
|
transition: border-color 384ms var(--venia-global-anim-standard);
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
composes: grid from global;
|
|
7
7
|
composes: p-xs from global;
|
|
8
8
|
composes: relative from global;
|
|
9
|
-
composes: rounded-
|
|
9
|
+
composes: rounded-box from global;
|
|
10
10
|
grid-template-columns: 1fr max-content;
|
|
11
11
|
|
|
12
12
|
composes: sm_px-md from global;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
composes: sm_py-5 from global;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
@media (
|
|
40
|
+
@media screen(sm) {
|
|
41
41
|
.confirmDeleteContainer {
|
|
42
42
|
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
|
|
43
43
|
}
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
.confirmDeleteButton {
|
|
47
47
|
composes: root_normalPriorityNegative from '../Button/button.module.css';
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
@apply bg-white;
|
|
50
50
|
composes: order-first from global;
|
|
51
51
|
composes: sm_order-1 from global;
|
|
52
52
|
}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
.cancelDeleteButton {
|
|
55
55
|
composes: root_lowPriority from '../Button/button.module.css';
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
@apply bg-white;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.contentContainer {
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
composes: mb-2xs from global;
|
|
78
78
|
composes: px-sm from global;
|
|
79
79
|
composes: py-1.5 from global;
|
|
80
|
-
composes: rounded-
|
|
80
|
+
composes: rounded-badge from global;
|
|
81
81
|
composes: text-xs from global;
|
|
82
82
|
composes: w-max from global;
|
|
83
83
|
}
|
|
@@ -93,7 +93,8 @@
|
|
|
93
93
|
.linkButton {
|
|
94
94
|
composes: root from '../LinkButton/linkButton.module.css';
|
|
95
95
|
|
|
96
|
-
|
|
96
|
+
@apply no-underline;
|
|
97
|
+
@apply hover_underline;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.editButton {
|
|
@@ -5,12 +5,11 @@
|
|
|
5
5
|
composes: ml-xs from global;
|
|
6
6
|
/* Show ellipses when overflowing. */
|
|
7
7
|
composes: overflow-hidden from global;
|
|
8
|
-
composes:
|
|
8
|
+
composes: text-ellipsis from global;
|
|
9
9
|
composes: pt-[0.625rem] from global;
|
|
10
10
|
composes: pb-[1rem] from global;
|
|
11
11
|
composes: text-sm from global;
|
|
12
12
|
composes: whitespace-nowrap from global;
|
|
13
|
-
composes: -mb-[1rem] from global;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
.text {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
composes: outline-none from global;
|
|
13
13
|
composes: pointer-events-auto from global;
|
|
14
14
|
composes: px-sm from global;
|
|
15
|
-
composes: rounded-
|
|
15
|
+
composes: rounded-button from global;
|
|
16
16
|
composes: text-center from global;
|
|
17
17
|
composes: text-sm from global;
|
|
18
18
|
composes: uppercase from global;
|
|
@@ -30,21 +30,14 @@
|
|
|
30
30
|
composes: disabled_text-white from global;
|
|
31
31
|
|
|
32
32
|
composes: focus_shadow-inputFocus from global;
|
|
33
|
+
|
|
34
|
+
composes: hover_disabled_pointer-events-none from global;
|
|
33
35
|
}
|
|
34
36
|
|
|
35
37
|
.root:active {
|
|
36
38
|
transition-duration: 128ms;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
|
-
/**
|
|
40
|
-
* Some browsers retain the :hover state after a click, this ensures if a button becomes disabled after
|
|
41
|
-
* being clicked it will be visually disabled.
|
|
42
|
-
*/
|
|
43
|
-
.root:hover:disabled {
|
|
44
|
-
/* TODO @TW: cannot compose. This may not be possible with two variants. */
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
41
|
.root_lowPriority {
|
|
49
42
|
composes: root;
|
|
50
43
|
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
transition-duration: 128ms;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
/* TODO @TW: cannot compose */
|
|
38
37
|
.root:nth-of-type(1) {
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
@apply ml-0;
|
|
39
|
+
@apply rounded-tl;
|
|
40
|
+
@apply rounded-bl;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
/* TODO @TW: cannot compose */
|
|
44
43
|
.root:nth-last-of-type(1) {
|
|
45
|
-
|
|
44
|
+
@apply rounded-tr;
|
|
45
|
+
@apply rounded-br;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.content {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
composes: lg_grid-cols-autoLast from global;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@media (
|
|
33
|
+
@media screen(lg) {
|
|
34
34
|
.card {
|
|
35
35
|
grid-template-areas:
|
|
36
36
|
'card_entry apply_button'
|
|
@@ -42,27 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.invalid_card_error {
|
|
45
|
-
|
|
45
|
+
composes: text-red-700 from global;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
/* TODO @TW: cannot compose */
|
|
49
48
|
.card_input_container_error input {
|
|
50
|
-
|
|
51
|
-
border-color: rgb(var(--venia-global-color-red-400));
|
|
49
|
+
@apply border-error;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
|
-
/* TODO @TW: cannot compose */
|
|
55
52
|
.card_input_container_error input:focus {
|
|
56
|
-
|
|
57
|
-
border-color: rgb(var(--venia-global-color-gray-600));
|
|
53
|
+
@apply border-inputFocus;
|
|
58
54
|
}
|
|
59
55
|
|
|
60
|
-
/* TODO @TW: cannot compose */
|
|
61
56
|
.card_input_container_error p {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/* composes: font-semibold from global; */
|
|
65
|
-
font-weight: 600;
|
|
57
|
+
@apply text-error;
|
|
58
|
+
@apply font-semibold;
|
|
66
59
|
}
|
|
67
60
|
|
|
68
61
|
.cards_container {
|
|
@@ -95,7 +88,7 @@
|
|
|
95
88
|
.applyLabel {
|
|
96
89
|
composes: label from '../../Field/field.module.css';
|
|
97
90
|
|
|
98
|
-
|
|
91
|
+
@apply hidden;
|
|
99
92
|
|
|
100
|
-
|
|
93
|
+
@apply lg_block;
|
|
101
94
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
/* on mobile... */
|
|
10
|
-
@media (
|
|
10
|
+
@media screen(-lg) {
|
|
11
11
|
.entryForm,
|
|
12
12
|
.entryFormError {
|
|
13
13
|
/* switch to rows. */
|
|
@@ -16,24 +16,17 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
/* TODO @TW: cannot compose */
|
|
20
19
|
.entryFormError input {
|
|
21
|
-
|
|
22
|
-
border-color: rgb(var(--venia-global-color-red-400));
|
|
20
|
+
@apply border-error;
|
|
23
21
|
}
|
|
24
22
|
|
|
25
|
-
/* TODO @TW: cannot compose */
|
|
26
23
|
.entryFormError input:focus {
|
|
27
|
-
|
|
28
|
-
border-color: rgb(var(--venia-global-color-gray-600));
|
|
24
|
+
@apply border-inputFocus;
|
|
29
25
|
}
|
|
30
26
|
|
|
31
|
-
/* TODO @TW: cannot compose */
|
|
32
27
|
.entryFormError p {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/* composes: font-semibold from global; */
|
|
36
|
-
font-weight: 600;
|
|
28
|
+
@apply text-error;
|
|
29
|
+
@apply font-semibold;
|
|
37
30
|
}
|
|
38
31
|
|
|
39
32
|
.errorContainer {
|
|
@@ -20,11 +20,7 @@
|
|
|
20
20
|
.errorText {
|
|
21
21
|
composes: leading-normal from global;
|
|
22
22
|
composes: text-error from global;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
/* TODO @TW: cannot compose */
|
|
26
|
-
.errorText:empty {
|
|
27
|
-
display: none;
|
|
23
|
+
composes: empty_hidden from global;
|
|
28
24
|
}
|
|
29
25
|
|
|
30
26
|
.imageContainer {
|
|
@@ -53,7 +49,7 @@
|
|
|
53
49
|
composes: sm_grid from global;
|
|
54
50
|
}
|
|
55
51
|
|
|
56
|
-
@media (
|
|
52
|
+
@media screen(sm) {
|
|
57
53
|
.details {
|
|
58
54
|
grid-area: details;
|
|
59
55
|
grid-template-areas:
|
|
@@ -114,11 +110,8 @@
|
|
|
114
110
|
composes: text-error from global;
|
|
115
111
|
composes: text-sm from global;
|
|
116
112
|
grid-area: stock;
|
|
117
|
-
}
|
|
118
113
|
|
|
119
|
-
|
|
120
|
-
.stockStatusMessage:empty {
|
|
121
|
-
display: none;
|
|
114
|
+
composes: empty_hidden from global;
|
|
122
115
|
}
|
|
123
116
|
|
|
124
117
|
.addToListButton {
|
|
@@ -137,7 +130,7 @@
|
|
|
137
130
|
composes: hidden from global;
|
|
138
131
|
}
|
|
139
132
|
|
|
140
|
-
@media (
|
|
133
|
+
@media screen(-sm) {
|
|
141
134
|
.name,
|
|
142
135
|
.options,
|
|
143
136
|
.price,
|
|
@@ -28,9 +28,8 @@
|
|
|
28
28
|
composes: leading-tight from global;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
display: none;
|
|
31
|
+
.stockStatusMessageContainer {
|
|
32
|
+
composes: empty_hidden from global;
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
.items_container {
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
composes: top-[5.5rem] from global; /* TODO @TW: review */
|
|
57
56
|
}
|
|
58
57
|
|
|
59
|
-
@media (
|
|
58
|
+
@media screen(-lg) {
|
|
60
59
|
.body {
|
|
61
60
|
/* Only one column in mobile view. */
|
|
62
61
|
grid-template-columns: 100%;
|
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
|
|
27
27
|
/* TODO @TW: review, replaces input:disabled. Check if working. */
|
|
28
28
|
composes: disabled_cursor-not-allowed from global;
|
|
29
|
+
|
|
30
|
+
composes: active_enabled_shadow-radioActive from global;
|
|
31
|
+
composes: active_enabled_outline-0 from global;
|
|
32
|
+
|
|
33
|
+
composes: focus_enabled_shadow-radioFocus from global;
|
|
34
|
+
composes: focus_enabled_outline-0 from global;
|
|
29
35
|
}
|
|
30
36
|
|
|
31
37
|
.icon {
|
|
@@ -47,24 +53,14 @@
|
|
|
47
53
|
}
|
|
48
54
|
|
|
49
55
|
/* When the input is disabled, update the cursor on the sibling label element. */
|
|
50
|
-
/* TODO @TW: cannot compose */
|
|
51
56
|
.input:disabled ~ .label {
|
|
52
|
-
cursor
|
|
57
|
+
@apply cursor-default;
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
.input:checked:enabled + .icon {
|
|
56
61
|
--stroke: var(--venia-brand-color-1-700);
|
|
57
62
|
}
|
|
58
63
|
|
|
59
|
-
/* TODO @TW: cannot compose, needs "checked" variant enabled. Cannot combine variants. */
|
|
60
|
-
.input:active:enabled,
|
|
61
|
-
.input:focus:enabled {
|
|
62
|
-
/* composes: active_shadow-radioActive from global; */
|
|
63
|
-
/* composes: focus_shadow-radioFocus from global; */
|
|
64
|
-
box-shadow: -3px 3px rgb(var(--venia-brand-color-1-100));
|
|
65
|
-
outline: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
64
|
.input_shimmer {
|
|
69
65
|
composes: h-[1.5rem] from global;
|
|
70
66
|
composes: rounded from global;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
.body {
|
|
5
5
|
composes: body from './flow.module.css';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
@apply gap-0;
|
|
8
|
+
@apply p-0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.footer {
|
|
@@ -31,11 +31,7 @@
|
|
|
31
31
|
/* The ::first-letter pseudo element below only works on block elements */
|
|
32
32
|
composes: block from global;
|
|
33
33
|
composes: lowercase from global;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/* TODO @TW: cannot compose */
|
|
37
|
-
.paymentDisplaySecondary::first-letter {
|
|
38
|
-
composes: uppercase from global;
|
|
34
|
+
composes: first-letter_uppercase from global;
|
|
39
35
|
}
|
|
40
36
|
|
|
41
37
|
@keyframes enter {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
.body {
|
|
9
9
|
composes: body from './flow.module.css';
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
@apply h-[30rem];
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.footer {
|
|
@@ -78,7 +78,6 @@
|
|
|
78
78
|
z-index: unset;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
/* TODO @TW: cannot compose */
|
|
82
81
|
:global .braintree-placeholder {
|
|
83
|
-
|
|
82
|
+
@apply hidden;
|
|
84
83
|
}
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
composes: justify-self-stretch from global;
|
|
36
36
|
composes: leading-normal from global;
|
|
37
37
|
composes: overflow-hidden from global;
|
|
38
|
-
composes:
|
|
38
|
+
composes: text-ellipsis from global;
|
|
39
39
|
composes: text-sm from global;
|
|
40
40
|
composes: whitespace-nowrap from global;
|
|
41
41
|
}
|
|
@@ -37,10 +37,9 @@
|
|
|
37
37
|
composes: lg_row-start-1 from global;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
@media (
|
|
41
|
-
/* TODO @TW: cannot compose */
|
|
40
|
+
@media screen(-xs) {
|
|
42
41
|
.buttonContainer button {
|
|
43
|
-
min-
|
|
42
|
+
@apply min-w-32;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
|
|
@@ -66,7 +65,7 @@
|
|
|
66
65
|
composes: border-dashed from global;
|
|
67
66
|
composes: border-subtle from global;
|
|
68
67
|
composes: font-semibold from global;
|
|
69
|
-
composes: rounded-
|
|
68
|
+
composes: rounded-button from global;
|
|
70
69
|
composes: text-brand-dark from global;
|
|
71
70
|
composes: text-sm from global;
|
|
72
71
|
transition: border-color 384ms var(--venia-global-anim-standard);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
composes: px-5 from global;
|
|
11
11
|
composes: py-xs from global;
|
|
12
12
|
composes: relative from global;
|
|
13
|
-
composes: rounded-
|
|
13
|
+
composes: rounded-box from global;
|
|
14
14
|
composes: shadow-none from global;
|
|
15
15
|
composes: text-colorDefault from global;
|
|
16
16
|
transition: border-color 384ms var(--venia-global-anim-in);
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
.root_selected {
|
|
27
27
|
composes: root;
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
@apply border-brand-dark;
|
|
30
|
+
@apply cursor-default;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
.root_updated {
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
composes: mb-1 from global;
|
|
68
68
|
composes: px-sm from global;
|
|
69
69
|
composes: py-1.5 from global;
|
|
70
|
-
composes: rounded-
|
|
70
|
+
composes: rounded-badge from global;
|
|
71
71
|
composes: text-xs from global;
|
|
72
72
|
composes: w-max from global;
|
|
73
73
|
}
|