@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
|
@@ -35,12 +35,9 @@
|
|
|
35
35
|
composes: px-xs from global;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
/* TODO @TW: cannot compose */
|
|
39
38
|
.action button {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
/* composes: no-underline from global; */
|
|
43
|
-
text-decoration: none;
|
|
39
|
+
@apply text-sm;
|
|
40
|
+
@apply no-underline;
|
|
44
41
|
}
|
|
45
42
|
|
|
46
43
|
.blocks {
|
|
@@ -49,10 +46,8 @@
|
|
|
49
46
|
composes: px-xs from global;
|
|
50
47
|
}
|
|
51
48
|
|
|
52
|
-
/* TODO @TW: cannot compose */
|
|
53
49
|
.blocks > li:last-child {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
border-bottom: 2px solid rgb(var(--venia-global-color-border));
|
|
50
|
+
@apply border-b-2;
|
|
51
|
+
@apply border-solid;
|
|
52
|
+
@apply border-subtle;
|
|
58
53
|
}
|
|
@@ -99,13 +99,13 @@
|
|
|
99
99
|
composes: lg_text-left from global;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
@media (
|
|
102
|
+
@media screen(-lg) {
|
|
103
103
|
.branding {
|
|
104
104
|
grid-template-areas: 'c' 'b' 'a';
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
@media (
|
|
108
|
+
@media screen(lg) {
|
|
109
109
|
.branding {
|
|
110
110
|
grid-template-columns: minmax(200px, 1fr) auto minmax(200px, 1fr);
|
|
111
111
|
}
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
.cancelButton {
|
|
17
17
|
composes: root_lowPriority from '../../Button/button.module.css';
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
@apply min-w-[9rem];
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.submitButton {
|
|
23
23
|
composes: root_highPriority from '../../Button/button.module.css';
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
@apply min-w-[9rem];
|
|
26
26
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
.root {
|
|
2
2
|
composes: root_highPriority from '../Button/button.module.css';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
@apply min-w-[6.125rem];
|
|
5
5
|
composes: -ml-2xs from global;
|
|
6
|
-
|
|
7
|
-
composes: py-0 from global;
|
|
6
|
+
@apply py-0;
|
|
8
7
|
composes: self-center from global;
|
|
9
8
|
min-height: 2rem;
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
/* composes: md_min-w-0 from global; */
|
|
10
|
+
@apply sm_min-w-[8rem];
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
.icon {
|
|
@@ -35,14 +35,13 @@
|
|
|
35
35
|
composes: shadow-menu from global;
|
|
36
36
|
composes: top-auto from global;
|
|
37
37
|
composes: z-menu from global;
|
|
38
|
+
composes: invisible from global;
|
|
38
39
|
transform: translate3d(0, 8px, 0);
|
|
39
40
|
transition-duration: 192ms;
|
|
40
41
|
transition-timing-function: var(--venia-global-anim-out);
|
|
41
42
|
transition-property: opacity, transform, visibility;
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
/* composes: invisible from global; */
|
|
45
|
-
visibility: hidden;
|
|
44
|
+
@apply invisible;
|
|
46
45
|
|
|
47
46
|
composes: sm_bottom-auto from global;
|
|
48
47
|
composes: sm_left-auto from global;
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
composes: sm_top-md from global;
|
|
51
50
|
}
|
|
52
51
|
|
|
53
|
-
@media (
|
|
52
|
+
@media screen(sm) {
|
|
54
53
|
.menu {
|
|
55
54
|
transform: translate3d(0, -8px, 0);
|
|
56
55
|
}
|
|
@@ -59,15 +58,12 @@
|
|
|
59
58
|
.menu_open {
|
|
60
59
|
composes: menu;
|
|
61
60
|
|
|
62
|
-
|
|
61
|
+
@apply opacity-100;
|
|
63
62
|
composes: p-0 from global;
|
|
63
|
+
@apply visible;
|
|
64
64
|
transform: translate3d(0, 4px, 0);
|
|
65
65
|
transition-duration: 224ms;
|
|
66
66
|
transition-timing-function: var(--venia-global-anim-in);
|
|
67
|
-
|
|
68
|
-
/* TODO @TW: review (B6) */
|
|
69
|
-
/* composes: visible from global; */
|
|
70
|
-
visibility: visible;
|
|
71
67
|
}
|
|
72
68
|
|
|
73
69
|
.menuItem {
|
|
@@ -84,35 +80,28 @@
|
|
|
84
80
|
composes: mr-2xs from global;
|
|
85
81
|
}
|
|
86
82
|
|
|
87
|
-
/* TODO @TW: cannot compose */
|
|
88
83
|
.root:last-child:not(:only-child) {
|
|
89
|
-
|
|
90
|
-
grid-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
/* composes: border-subtle from global; */
|
|
98
|
-
border-left: 1px solid rgb(var(--venia-global-color-border));
|
|
99
|
-
content: '';
|
|
100
|
-
height: 1em;
|
|
101
|
-
width: 1rem;
|
|
84
|
+
@apply pl-0;
|
|
85
|
+
@apply grid-flow-col;
|
|
86
|
+
|
|
87
|
+
@apply before_border-l;
|
|
88
|
+
@apply before_border-solid;
|
|
89
|
+
@apply before_border-base;
|
|
90
|
+
@apply before_h-4;
|
|
91
|
+
@apply before_w-4;
|
|
102
92
|
}
|
|
103
93
|
|
|
104
|
-
@media (
|
|
94
|
+
@media screen(-sm) {
|
|
105
95
|
.root:only-child {
|
|
106
96
|
grid-column: 2;
|
|
107
97
|
}
|
|
108
98
|
|
|
109
|
-
/* TODO @TW: cannot compose */
|
|
110
99
|
.root:last-child .menu {
|
|
111
|
-
right
|
|
112
|
-
left
|
|
100
|
+
@apply right-4;
|
|
101
|
+
@apply left-auto;
|
|
113
102
|
}
|
|
114
103
|
|
|
115
104
|
.menu_open {
|
|
116
|
-
|
|
105
|
+
@apply -translate-y-1;
|
|
117
106
|
}
|
|
118
107
|
}
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
.input {
|
|
116
116
|
composes: input from '../TextInput/textInput.module.css';
|
|
117
117
|
|
|
118
|
-
|
|
118
|
+
@apply max-w-sm;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.loader,
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
|
|
146
146
|
.loaderBefore,
|
|
147
147
|
.loaderAfter {
|
|
148
|
+
composes: content-empty from global;
|
|
148
149
|
composes: absolute from global;
|
|
149
150
|
composes: top-0 from global;
|
|
150
|
-
content: '';
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.loaderBefore {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
.trigger {
|
|
16
16
|
composes: max-w-[15rem] from global;
|
|
17
|
-
composes:
|
|
17
|
+
composes: text-ellipsis from global;
|
|
18
18
|
composes: overflow-hidden from global;
|
|
19
19
|
composes: whitespace-nowrap from global;
|
|
20
20
|
|
|
@@ -39,15 +39,12 @@
|
|
|
39
39
|
composes: top-auto from global;
|
|
40
40
|
composes: w-max from global;
|
|
41
41
|
composes: z-menu from global;
|
|
42
|
+
composes: invisible from global;
|
|
42
43
|
transform: translate3d(0, -8px, 0);
|
|
43
44
|
transition-duration: 192ms;
|
|
44
45
|
transition-timing-function: var(--venia-global-anim-out);
|
|
45
46
|
transition-property: opacity, transform, visibility;
|
|
46
47
|
|
|
47
|
-
/* TODO @TW: review (B6) */
|
|
48
|
-
/* composes: invisible from global; */
|
|
49
|
-
visibility: hidden;
|
|
50
|
-
|
|
51
48
|
composes: sm_bottom-auto from global;
|
|
52
49
|
composes: sm_left-auto from global;
|
|
53
50
|
composes: sm_right-xs from global;
|
|
@@ -57,14 +54,11 @@
|
|
|
57
54
|
.menu_open {
|
|
58
55
|
composes: menu;
|
|
59
56
|
|
|
60
|
-
|
|
57
|
+
@apply opacity-100;
|
|
58
|
+
@apply visible;
|
|
61
59
|
transform: translate3d(0, 4px, 0);
|
|
62
60
|
transition-duration: 224ms;
|
|
63
61
|
transition-timing-function: var(--venia-global-anim-in);
|
|
64
|
-
|
|
65
|
-
/* TODO @TW: review (B6) */
|
|
66
|
-
/* composes: visible from global; */
|
|
67
|
-
visibility: visible;
|
|
68
62
|
}
|
|
69
63
|
|
|
70
64
|
.menuItem {
|
|
@@ -90,22 +84,21 @@
|
|
|
90
84
|
* Mobile-specific styles.
|
|
91
85
|
*/
|
|
92
86
|
|
|
93
|
-
@media (
|
|
87
|
+
@media screen(-sm) {
|
|
94
88
|
.root:only-child {
|
|
95
89
|
grid-column: 2;
|
|
96
90
|
}
|
|
97
91
|
|
|
98
|
-
/* TODO @TW: cannot compose */
|
|
99
92
|
.root:last-child .menu {
|
|
100
|
-
right
|
|
101
|
-
left
|
|
93
|
+
@apply right-4;
|
|
94
|
+
@apply left-auto;
|
|
102
95
|
}
|
|
103
96
|
|
|
104
97
|
.menu {
|
|
105
|
-
|
|
98
|
+
@apply translate-y-2;
|
|
106
99
|
}
|
|
107
100
|
|
|
108
101
|
.menu_open {
|
|
109
|
-
|
|
102
|
+
@apply -translate-y-1;
|
|
110
103
|
}
|
|
111
104
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
z-index: 1;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
@media (
|
|
63
|
+
@media screen(-lg) {
|
|
64
64
|
:global(.venia-home-slider ~ div) {
|
|
65
65
|
grid-auto-flow: row;
|
|
66
66
|
grid-template-columns: 100%;
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
padding: 0 0 6rem !important;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
@media (
|
|
124
|
+
@media screen(-2xl) {
|
|
125
125
|
:global(.venia-home-slider .slick-slider) {
|
|
126
126
|
min-height: 548px !important;
|
|
127
127
|
}
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
@media (
|
|
134
|
+
@media screen(-lg) {
|
|
135
135
|
:global(.venia-home-slider .slick-slide > div > div > div) {
|
|
136
136
|
align-content: end;
|
|
137
137
|
background-position: right center !important;
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
width: 100% !important;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
@media (
|
|
233
|
+
@media screen(-lg) {
|
|
234
234
|
:global(.venia-home-callout) {
|
|
235
235
|
justify-self: center;
|
|
236
236
|
max-width: 640px;
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
width: 16rem;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
@media (
|
|
257
|
+
@media screen(-lg) {
|
|
258
258
|
:global(.venia-home-callout-text) {
|
|
259
259
|
transform: translate3d(0, 0.5rem, 0);
|
|
260
260
|
}
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
width: 100% !important;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
@media (
|
|
291
|
+
@media screen(-lg) {
|
|
292
292
|
:global(.venia-home-banner-a-content) {
|
|
293
293
|
grid-column: 1 / span 1;
|
|
294
294
|
padding-top: 0 !important;
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
width: 100% !important;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
@media (
|
|
327
|
+
@media screen(-lg) {
|
|
328
328
|
:global(.venia-home-banner-a-image) {
|
|
329
329
|
background-position: center bottom !important;
|
|
330
330
|
grid-column: 1 / span 1;
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
width: 100% !important;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
@media (
|
|
347
|
+
@media screen(-lg) {
|
|
348
348
|
:global(.venia-home-banner-b-image) {
|
|
349
349
|
grid-column: 1 / span 1;
|
|
350
350
|
}
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
width: 100% !important;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
@media (
|
|
360
|
+
@media screen(-lg) {
|
|
361
361
|
:global(.venia-home-banner-b-content) {
|
|
362
362
|
grid-column: 1 / span 1;
|
|
363
363
|
margin: 0 1rem !important;
|
|
@@ -425,7 +425,7 @@
|
|
|
425
425
|
justify-content: normal !important;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
@media (
|
|
428
|
+
@media screen(-lg) {
|
|
429
429
|
:global(.venia-home-banner-text > div) {
|
|
430
430
|
flex-direction: column !important;
|
|
431
431
|
justify-content: center !important;
|
|
@@ -20,18 +20,13 @@
|
|
|
20
20
|
composes: absolute from global;
|
|
21
21
|
composes: left-0 from global;
|
|
22
22
|
composes: top-0 from global;
|
|
23
|
-
|
|
24
|
-
/* TODO @TW: review (B6) */
|
|
25
|
-
/* composes: visible from global; */
|
|
26
|
-
visibility: visible;
|
|
23
|
+
composes: visible from global;
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
.notLoaded {
|
|
30
27
|
composes: loaded;
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
/* composes: invisible from global; */
|
|
34
|
-
visibility: hidden;
|
|
29
|
+
@apply invisible;
|
|
35
30
|
}
|
|
36
31
|
|
|
37
32
|
.placeholder {
|
|
@@ -14,16 +14,13 @@
|
|
|
14
14
|
composes: top-0 from global;
|
|
15
15
|
composes: w-full from global;
|
|
16
16
|
composes: z-menu from global;
|
|
17
|
+
composes: invisible from global;
|
|
17
18
|
box-shadow: -1px 0 rgb(var(--venia-global-color-border));
|
|
18
19
|
grid-template-rows: min-content 1fr;
|
|
19
20
|
transform: translate3d(100%, 0, 0);
|
|
20
21
|
transition-duration: 192ms;
|
|
21
22
|
transition-property: opacity, transform, visibility;
|
|
22
23
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
23
|
-
|
|
24
|
-
/* TODO @TW: review (B6) */
|
|
25
|
-
/* composes: invisible from global; */
|
|
26
|
-
visibility: hidden;
|
|
27
24
|
}
|
|
28
25
|
|
|
29
26
|
/* state: open */
|
|
@@ -32,11 +29,8 @@
|
|
|
32
29
|
composes: root;
|
|
33
30
|
|
|
34
31
|
composes: opacity-100 from global;
|
|
32
|
+
@apply visible;
|
|
35
33
|
transform: translate3d(0, 0, 0);
|
|
36
34
|
transition-duration: 224ms;
|
|
37
35
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
38
|
-
|
|
39
|
-
/* TODO @TW: review (B6) */
|
|
40
|
-
/* composes: visible from global; */
|
|
41
|
-
visibility: visible;
|
|
42
36
|
}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
composes: root from '../clickable.module.css';
|
|
3
3
|
|
|
4
4
|
composes: font-semibold from global;
|
|
5
|
-
|
|
5
|
+
@apply leading-tight;
|
|
6
6
|
composes: max-w-full from global;
|
|
7
|
-
composes: text-colorDefault from global;
|
|
8
7
|
composes: text-brand-dark from global;
|
|
9
8
|
composes: underline from global;
|
|
10
9
|
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
.global {
|
|
15
15
|
composes: root;
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
@apply fixed;
|
|
18
|
+
@apply h-full;
|
|
19
19
|
composes: left-0 from global;
|
|
20
|
-
|
|
20
|
+
@apply m-0;
|
|
21
21
|
composes: top-0 from global;
|
|
22
22
|
composes: w-full from global;
|
|
23
23
|
}
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
composes: page;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
@media (
|
|
23
|
+
@media screen(hsm) {
|
|
24
24
|
.page {
|
|
25
25
|
min-height: 48rem;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@media (
|
|
29
|
+
@media screen(hmd) {
|
|
30
30
|
.page {
|
|
31
31
|
min-height: 60rem;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
@media (
|
|
35
|
+
@media screen(hlg) {
|
|
36
36
|
.page {
|
|
37
37
|
min-height: 72rem;
|
|
38
38
|
}
|
|
@@ -10,22 +10,16 @@
|
|
|
10
10
|
composes: top-0 from global;
|
|
11
11
|
composes: w-full from global;
|
|
12
12
|
composes: z-mask from global;
|
|
13
|
+
composes: invisible from global;
|
|
13
14
|
transition-duration: 192ms;
|
|
14
15
|
transition-property: opacity, visibility;
|
|
15
16
|
transition-timing-function: linear;
|
|
16
|
-
|
|
17
|
-
/* TODO @TW: review (B6) */
|
|
18
|
-
/* composes: invisible from global; */
|
|
19
|
-
visibility: hidden;
|
|
20
17
|
}
|
|
21
18
|
|
|
22
19
|
.root_active {
|
|
23
20
|
composes: root;
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
@apply opacity-50;
|
|
23
|
+
@apply visible;
|
|
26
24
|
transition-duration: 224ms;
|
|
27
|
-
|
|
28
|
-
/* TODO @TW: review (B6) */
|
|
29
|
-
/* composes: visible from global; */
|
|
30
|
-
visibility: visible;
|
|
31
25
|
}
|
|
@@ -9,18 +9,18 @@
|
|
|
9
9
|
composes: right-0 from global;
|
|
10
10
|
top: 80px;
|
|
11
11
|
box-shadow: 0 3px rgb(var(--venia-global-color-gray-100));
|
|
12
|
+
|
|
13
|
+
composes: before_content-empty from global;
|
|
14
|
+
composes: before_h-2.5 from global;
|
|
15
|
+
composes: before_left-0 from global;
|
|
16
|
+
composes: before_pointer-events-none from global;
|
|
17
|
+
composes: before_absolute from global;
|
|
18
|
+
composes: before_right-0 from global;
|
|
19
|
+
composes: before_top-0 from global;
|
|
12
20
|
}
|
|
13
21
|
|
|
14
|
-
/* TODO @TW: cannot compose */
|
|
15
22
|
.submenu::before {
|
|
16
23
|
box-shadow: inset 0 2px rgb(var(--venia-global-color-gray-100));
|
|
17
|
-
content: '';
|
|
18
|
-
height: 10px;
|
|
19
|
-
left: 0;
|
|
20
|
-
pointer-events: none;
|
|
21
|
-
position: absolute;
|
|
22
|
-
right: 0;
|
|
23
|
-
top: 0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.submenu_inactive {
|
|
@@ -53,7 +53,7 @@ const MiniCart = React.forwardRef((props, ref) => {
|
|
|
53
53
|
} = talonProps;
|
|
54
54
|
|
|
55
55
|
const classes = useStyle(defaultClasses, props.classes);
|
|
56
|
-
const rootClass = isOpen ? classes.root_open : classes.
|
|
56
|
+
const rootClass = isOpen ? classes.root_open : classes.root_closed;
|
|
57
57
|
const contentsClass = isOpen ? classes.contents_open : classes.contents;
|
|
58
58
|
const quantityClassName = loading
|
|
59
59
|
? classes.quantity_loading
|
|
@@ -192,6 +192,7 @@ export default MiniCart;
|
|
|
192
192
|
MiniCart.propTypes = {
|
|
193
193
|
classes: shape({
|
|
194
194
|
root: string,
|
|
195
|
+
root_closed: string,
|
|
195
196
|
root_open: string,
|
|
196
197
|
contents: string,
|
|
197
198
|
contents_open: string,
|