@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.
Files changed (128) hide show
  1. package/i18n/en_US.json +7 -3
  2. package/lib/RootComponents/Category/category.module.css +2 -2
  3. package/lib/components/Accordion/accordion.module.css +1 -1
  4. package/lib/components/Accordion/section.module.css +2 -8
  5. package/lib/components/AccountInformationPage/editForm.module.css +1 -1
  6. package/lib/components/AccountMenu/__tests__/__snapshots__/accountMenu.spec.js.snap +1 -1
  7. package/lib/components/AccountMenu/accountMenu.js +4 -1
  8. package/lib/components/AccountMenu/accountMenu.module.css +10 -9
  9. package/lib/components/AddToCartDialog/addToCartDialog.module.css +4 -8
  10. package/lib/components/AddressBookPage/addEditDialog.module.css +1 -1
  11. package/lib/components/AddressBookPage/addressBookPage.module.css +1 -1
  12. package/lib/components/AddressBookPage/addressCard.module.css +7 -6
  13. package/lib/components/Breadcrumbs/breadcrumbs.module.css +1 -2
  14. package/lib/components/Button/button.module.css +3 -10
  15. package/lib/components/ButtonGroup/button.module.css +5 -5
  16. package/lib/components/CartPage/GiftCards/giftCards.module.css +8 -15
  17. package/lib/components/CartPage/PriceAdjustments/CouponCode/couponCode.module.css +5 -12
  18. package/lib/components/CartPage/PriceAdjustments/ShippingMethods/shippingForm.module.css +1 -1
  19. package/lib/components/CartPage/ProductListing/EditModal/productForm.module.css +1 -1
  20. package/lib/components/CartPage/ProductListing/product.module.css +4 -11
  21. package/lib/components/CartPage/cartPage.module.css +3 -4
  22. package/lib/components/CategoryTree/categoryLeaf.module.css +1 -1
  23. package/lib/components/Checkbox/checkbox.module.css +7 -11
  24. package/lib/components/Checkout/form.module.css +3 -7
  25. package/lib/components/Checkout/paymentsForm.module.css +2 -3
  26. package/lib/components/Checkout/section.module.css +1 -1
  27. package/lib/components/CheckoutPage/AddressBook/addressBook.module.css +3 -4
  28. package/lib/components/CheckoutPage/AddressBook/addressCard.module.css +4 -4
  29. package/lib/components/CheckoutPage/GuestSignIn/guestSignIn.module.css +11 -11
  30. package/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +1 -1
  31. package/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +1 -2
  32. package/lib/components/CheckoutPage/OrderSummary/orderSummary.module.css +1 -1
  33. package/lib/components/CheckoutPage/PaymentInformation/braintreeDropin.module.css +6 -6
  34. package/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +1 -1
  35. package/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +1 -3
  36. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.module.css +5 -5
  37. package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.module.css +5 -5
  38. package/lib/components/CheckoutPage/ShippingInformation/editModal.module.css +6 -10
  39. package/lib/components/CheckoutPage/ShippingInformation/shippingInformation.module.css +5 -9
  40. package/lib/components/CheckoutPage/ShippingMethod/shippingMethod.module.css +1 -3
  41. package/lib/components/CheckoutPage/checkoutPage.module.css +11 -13
  42. package/lib/components/CmsBlock/cmsBlock.module.css +8 -10
  43. package/lib/components/ContactPage/contactPage.shimmer.module.css +1 -1
  44. package/lib/components/CreateAccount/createAccount.module.css +1 -4
  45. package/lib/components/CreateAccountPage/createAccountPage.module.css +1 -1
  46. package/lib/components/Dialog/dialog.module.css +7 -13
  47. package/lib/components/ErrorView/errorView.module.css +1 -1
  48. package/lib/components/Field/field.module.css +2 -1
  49. package/lib/components/Field/fieldIcons.module.css +8 -12
  50. package/lib/components/Field/message.module.css +3 -7
  51. package/lib/components/FilterModal/CurrentFilters/currentFilter.module.css +1 -3
  52. package/lib/components/FilterModal/CurrentFilters/currentFilters.module.css +1 -4
  53. package/lib/components/FilterModal/filterBlock.module.css +1 -5
  54. package/lib/components/FilterModal/filterModal.module.css +7 -18
  55. package/lib/components/FilterModalOpenButton/filterModalOpenButton.module.css +2 -2
  56. package/lib/components/FilterSidebar/filterSidebar.module.css +5 -10
  57. package/lib/components/Footer/footer.module.css +2 -2
  58. package/lib/components/ForgotPassword/ForgotPasswordForm/forgotPasswordForm.module.css +2 -2
  59. package/lib/components/ForgotPasswordPage/forgotPasswordPage.module.css +1 -1
  60. package/lib/components/Gallery/addToCartButton.module.css +3 -5
  61. package/lib/components/Gallery/gallery.module.css +1 -1
  62. package/lib/components/Gallery/item.module.css +1 -4
  63. package/lib/components/Header/currencySwitcher.module.css +17 -28
  64. package/lib/components/Header/header.module.css +2 -2
  65. package/lib/components/Header/onlineIndicator.module.css +2 -2
  66. package/lib/components/Header/storeSwitcher.module.css +9 -16
  67. package/lib/components/HomePage/homePage.module.css +10 -10
  68. package/lib/components/Image/image.module.css +2 -7
  69. package/lib/components/LegacyMiniCart/cartOptions.module.css +1 -1
  70. package/lib/components/LegacyMiniCart/mask.module.css +1 -1
  71. package/lib/components/LegacyMiniCart/miniCart.module.css +2 -8
  72. package/lib/components/LinkButton/linkButton.module.css +1 -2
  73. package/lib/components/LoadingIndicator/indicator.module.css +3 -3
  74. package/lib/components/Main/main.module.css +3 -3
  75. package/lib/components/Mask/mask.module.css +3 -9
  76. package/lib/components/MegaMenu/megaMenuItem.module.css +1 -2
  77. package/lib/components/MegaMenu/submenu.module.css +8 -8
  78. package/lib/components/MiniCart/ProductList/item.module.css +1 -1
  79. package/lib/components/MiniCart/miniCart.js +2 -1
  80. package/lib/components/MiniCart/miniCart.module.css +15 -17
  81. package/lib/components/MyAccount/ResetPassword/resetPassword.module.css +1 -1
  82. package/lib/components/Navigation/navigation.module.css +9 -27
  83. package/lib/components/Newsletter/newsletter.module.css +10 -11
  84. package/lib/components/OrderHistoryPage/OrderDetails/item.module.css +1 -1
  85. package/lib/components/OrderHistoryPage/OrderDetails/orderDetails.module.css +1 -1
  86. package/lib/components/OrderHistoryPage/OrderDetails/orderTotal.module.css +1 -1
  87. package/lib/components/OrderHistoryPage/OrderDetails/shippingMethod.module.css +2 -3
  88. package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderRow.spec.js.snap +4 -8
  89. package/lib/components/OrderHistoryPage/__tests__/orderRow.spec.js +0 -42
  90. package/lib/components/OrderHistoryPage/orderHistoryPage.module.css +1 -1
  91. package/lib/components/OrderHistoryPage/orderProgressBar.js +22 -8
  92. package/lib/components/OrderHistoryPage/orderRow.js +5 -31
  93. package/lib/components/OrderHistoryPage/orderRow.module.css +5 -9
  94. package/lib/components/PageLoadingIndicator/pageLoadingIndicator.module.css +2 -2
  95. package/lib/components/Pagination/tile.module.css +1 -1
  96. package/lib/components/Password/password.module.css +2 -2
  97. package/lib/components/ProductFullDetail/productFullDetail.module.css +4 -5
  98. package/lib/components/ProductImageCarousel/carousel.module.css +2 -3
  99. package/lib/components/ProductImageCarousel/thumbnail.module.css +1 -1
  100. package/lib/components/ProductOptions/swatch.module.css +9 -10
  101. package/lib/components/ProductOptions/tile.module.css +8 -9
  102. package/lib/components/ProductSort/productSort.module.css +2 -2
  103. package/lib/components/QuantityStepper/quantityStepper.module.css +3 -13
  104. package/lib/components/RadioGroup/radio.module.css +2 -6
  105. package/lib/components/RadioGroup/radioGroup.module.css +1 -5
  106. package/lib/components/RichContent/richContent.module.css +57 -64
  107. package/lib/components/RichText/richText.module.css +6 -7
  108. package/lib/components/SavedPaymentsPage/creditCard.module.css +10 -16
  109. package/lib/components/SavedPaymentsPage/savedPaymentsPage.module.css +2 -4
  110. package/lib/components/SearchBar/autocomplete.module.css +2 -8
  111. package/lib/components/SearchBar/searchBar.module.css +2 -7
  112. package/lib/components/SearchBar/suggestedCategories.module.css +1 -4
  113. package/lib/components/SearchBar/suggestedProducts.module.css +1 -4
  114. package/lib/components/SearchPage/searchPage.module.css +2 -7
  115. package/lib/components/Select/select.module.css +1 -1
  116. package/lib/components/Shimmer/shimmer.module.css +22 -45
  117. package/lib/components/SignIn/signIn.module.css +2 -8
  118. package/lib/components/SignInPage/signInPage.module.css +1 -1
  119. package/lib/components/TextArea/textArea.module.css +2 -2
  120. package/lib/components/TextInput/textInput.module.css +2 -2
  121. package/lib/components/ToastContainer/toast.module.css +4 -4
  122. package/lib/components/WishlistPage/createWishlist.module.css +3 -3
  123. package/lib/components/WishlistPage/wishlist.module.css +4 -4
  124. package/lib/components/WishlistPage/wishlistEditFavoritesListDialog.module.css +1 -1
  125. package/lib/components/WishlistPage/wishlistItem.module.css +1 -1
  126. package/lib/index.module.css +34 -67
  127. package/lib/tokens.module.css +22 -22
  128. package/package.json +2 -2
@@ -4,7 +4,7 @@
4
4
 
5
5
  composes: root from './tile.module.css';
6
6
 
7
- composes: border-shaded-10 from global;
7
+ @apply border-shaded-10;
8
8
  composes: text-white from global;
9
9
  composes: w-[3rem] from global;
10
10
  background: var(--venia-swatch-bg);
@@ -43,13 +43,12 @@
43
43
  composes: opacity-40 from global;
44
44
  composes: border-2 from global;
45
45
  composes: border-solid from global;
46
- composes: border-gray-400 from global;
47
- }
48
- .root_outOfStock:after,
49
- .root_selected_outOfStock:after {
50
- content: '';
51
- position: absolute;
52
- border-top: 2px solid rgb(var(--venia-global-color-gray-400));
53
- width: 62px;
54
- transform: rotate(-45deg);
46
+ @apply border-gray-400;
47
+
48
+ composes: after_absolute from global;
49
+ composes: after_border-t-2 from global;
50
+ composes: after_border-solid from global;
51
+ composes: after_border-swatch from global;
52
+ composes: after_w-swatch from global;
53
+ composes: after_-rotate-45 from global;
55
54
  }
@@ -34,14 +34,13 @@
34
34
  composes: opacity-50 from global;
35
35
  composes: border-2 from global;
36
36
  composes: border-solid from global;
37
- composes: border-gray-400 from global;
37
+ @apply border-gray-400;
38
38
  composes: text-gray-600 from global;
39
- }
40
- .root_outOfStock:after,
41
- .root_selected_outOfStock:after {
42
- content: '';
43
- position: absolute;
44
- border-top: 2px solid rgb(var(--venia-global-color-gray-400));
45
- width: 62px;
46
- transform: rotate(-45deg);
39
+
40
+ composes: after_absolute from global;
41
+ composes: after_border-t-2 from global;
42
+ composes: after_border-solid from global;
43
+ composes: after_border-swatch from global;
44
+ composes: after_w-swatch from global;
45
+ composes: after_-rotate-45 from global;
47
46
  }
@@ -38,13 +38,13 @@
38
38
  /* TODO @TW: review (C2). This is fragile to extend. */
39
39
  composes: root_lowPriority from '../../components/Button/button.module.css';
40
40
 
41
- composes: min-w-[6.26rem] from global;
41
+ @apply min-w-[6.26rem];
42
42
 
43
43
  composes: lg_border-2 from global;
44
44
  composes: lg_border-gray-500 from global;
45
45
  composes: lg_font-normal from global;
46
46
  composes: lg_normal-case from global;
47
- composes: lg_rounded-md from global;
47
+ composes: lg_rounded-input from global;
48
48
  }
49
49
 
50
50
  .desktopText {
@@ -15,16 +15,8 @@
15
15
  composes: justify-center from global;
16
16
  }
17
17
 
18
- /* TODO @TW: cannot compose */
19
18
  .label:not(:focus):not(:active) {
20
- /* composes: sr-only from global; */
21
- position: absolute;
22
- overflow: hidden;
23
- width: 1px;
24
- height: 1px;
25
- clip: rect(0 0 0 0);
26
- clip-path: inset(100%);
27
- white-space: nowrap;
19
+ @apply sr-only;
28
20
  }
29
21
 
30
22
  .button {
@@ -36,7 +28,7 @@
36
28
  composes: inline-flex from global;
37
29
  composes: items-center from global;
38
30
  composes: justify-center from global;
39
- composes: rounded-full from global;
31
+ composes: rounded-button from global;
40
32
  composes: w-[2rem] from global;
41
33
  stroke: rgb(var(--stroke));
42
34
 
@@ -48,12 +40,10 @@
48
40
  border-color: rgb(var(--stroke));
49
41
  }
50
42
 
51
- /* TODO @TW: cannot compose */
52
43
  .button:disabled,
53
44
  .button:disabled:hover {
54
45
  --stroke: rgb(var(--venia-global-color-gray-400));
55
- /* composes: border-subtle from global; */
56
- border-color: rgb(var(--venia-global-color-gray-400));
46
+ @apply border-base;
57
47
  }
58
48
 
59
49
  .button_decrement {
@@ -41,10 +41,8 @@
41
41
  grid-area: input;
42
42
  }
43
43
 
44
- /* TODO @TW: cannot compose */
45
44
  .icon svg {
46
- /* composes: stroke-gray-600 from global; */
47
- stroke: rgb(var(--venia-global-color-gray-600));
45
+ @apply stroke-gray-600;
48
46
  }
49
47
 
50
48
  .label {
@@ -53,10 +51,8 @@
53
51
  grid-area: label;
54
52
  }
55
53
 
56
- /* TODO @TW: cannot compose */
57
54
  .input:checked + .icon svg {
58
- /* composes: stroke-brand-base from global; */
59
- stroke: rgb(var(--venia-brand-color-1-700));
55
+ @apply stroke-brand-base;
60
56
  }
61
57
 
62
58
  .input_shimmer {
@@ -16,9 +16,5 @@
16
16
  .message {
17
17
  composes: mt-xs from global;
18
18
  composes: text-colorDefault from global;
19
- }
20
-
21
- /* TODO @TW: cannot compose */
22
- .message:empty {
23
- display: none;
19
+ composes: empty_hidden from global;
24
20
  }
@@ -4,143 +4,136 @@
4
4
  .root h4,
5
5
  .root h5,
6
6
  .root h6 {
7
- margin-bottom: 0.5rem;
8
- line-height: 1.25;
7
+ @apply mb-2;
8
+ @apply leading-tight;
9
9
  }
10
10
 
11
11
  .root h1 {
12
- margin-top: 0.75rem;
13
- font-size: 1.875rem;
14
- font-weight: 400;
12
+ @apply mt-3;
13
+ @apply text-3xl/tight;
14
+ @apply font-normal;
15
15
  }
16
16
 
17
17
  .root h2 {
18
- margin-top: 1rem;
19
- font-size: 1.5rem;
20
- font-weight: 400;
18
+ @apply mt-4;
19
+ @apply text-2xl/tight;
20
+ @apply font-normal;
21
21
  }
22
22
 
23
23
  .root h3 {
24
- margin-top: 1rem;
25
- font-size: 1.25rem;
26
- font-weight: 400;
24
+ @apply mt-4;
25
+ @apply text-xl/tight;
26
+ @apply font-normal;
27
27
  }
28
28
 
29
29
  .root h4 {
30
- margin-top: 1rem;
31
- font-size: 1.125rem;
32
- font-weight: 600;
30
+ @apply mt-4;
31
+ @apply text-lg/tight;
32
+ @apply font-semibold;
33
33
  }
34
34
 
35
35
  .root h5 {
36
- margin-top: 1rem;
37
- font-size: 1rem;
38
- font-weight: 600;
36
+ @apply mt-4;
37
+ @apply text-base/tight;
38
+ @apply font-semibold;
39
39
  }
40
40
 
41
41
  .root h6 {
42
- margin-top: 1rem;
43
- font-size: 0.875rem;
44
- font-weight: 600;
42
+ @apply mt-4;
43
+ @apply text-sm/tight;
44
+ @apply font-semibold;
45
45
  }
46
46
 
47
47
  .root p {
48
- margin-bottom: 1rem;
49
- line-height: 1.5;
48
+ @apply mb-4;
49
+ @apply leading-normal;
50
50
  }
51
51
 
52
52
  .root p:last-child {
53
- margin-bottom: 0;
53
+ @apply mb-0;
54
54
  }
55
55
 
56
56
  .root img {
57
- max-width: 100%;
58
- margin: 1rem 0;
57
+ @apply max-w-full;
58
+ @apply my-4;
59
+ @apply mx-0;
59
60
  }
60
61
 
61
62
  .root ol,
62
63
  .root ul {
63
- padding-left: 1.5rem;
64
- margin-top: 1rem;
65
- margin-bottom: 1rem;
66
- line-height: 1.5;
64
+ @apply pl-6;
65
+ @apply my-4;
66
+ @apply leading-normal;
67
67
  }
68
68
 
69
69
  .root p + ol,
70
70
  .root p + ul {
71
- margin-top: 0;
71
+ @apply mt-0;
72
72
  }
73
73
 
74
- /* TODO @TW: cannot compose */
75
74
  .root ol {
76
- /* composes: list-decimal from global; */
77
- list-style-type: decimal;
75
+ @apply list-decimal;
78
76
  }
79
77
 
80
- /* TODO @TW: cannot compose */
81
78
  .root ul {
82
- /* composes: list-disc from global; */
83
- list-style-type: disc;
79
+ @apply list-disc;
84
80
  }
85
81
 
86
82
  .root a {
87
- text-decoration: underline;
83
+ @apply underline;
88
84
  }
89
85
 
90
86
  .root blockquote {
91
- margin: 1rem 0;
92
- font-size: 1.25rem;
93
- font-style: italic;
87
+ @apply my-4;
88
+ @apply mx-0;
89
+ @apply text-xl;
90
+ @apply italic;
94
91
  }
95
92
 
96
93
  .root table {
97
- width: 100%;
98
- text-align: left;
94
+ @apply w-full;
95
+ @apply text-left;
99
96
  }
100
97
 
101
98
  .root pre {
102
- padding: 1rem;
103
- /* composes: border from global; */
104
- /* composes: border-solid from global; */
105
- /* composes: border-subtle from global; */
106
- border: 1px solid rgb(var(--venia-global-color-border));
107
- /* composes: bg-gray-900 from global; */
108
- background: rgb(var(--venia-global-color-gray));
99
+ @apply p-4;
100
+ @apply border;
101
+ @apply border-solid;
102
+ @apply border-subtle;
103
+ @apply bg-gray-900;
109
104
  }
110
105
 
111
106
  .root :global .cms-content-important {
112
- padding: 1rem;
113
- /* composes: border from global; */
114
- /* composes: border-solid from global; */
115
- /* composes: border-subtle from global; */
116
- border: 1px solid rgb(var(--venia-global-color-border));
117
- /* composes: bg-gray-900 from global; */
118
- background: rgb(var(--venia-global-color-gray));
119
- font-size: 1.125rem;
107
+ @apply p-4;
108
+ @apply border;
109
+ @apply border-solid;
110
+ @apply border-subtle;
111
+ @apply bg-gray-900;
112
+ @apply text-lg;
120
113
  }
121
114
 
122
- @media (min-width: 800px) {
115
+ @media screen(md) {
123
116
  .root h1 {
124
- font-size: 3rem;
117
+ @apply text-5xl/tight;
125
118
  }
126
119
 
127
120
  .root h2 {
128
- font-size: 2.25rem;
121
+ @apply text-4xl/tight;
129
122
  }
130
123
 
131
124
  .root h3 {
132
- font-size: 1.875rem;
125
+ @apply text-3xl/tight;
133
126
  }
134
127
 
135
128
  .root h4 {
136
- font-size: 1.5rem;
129
+ @apply text-2xl/tight;
137
130
  }
138
131
 
139
132
  .root h5 {
140
- font-size: 1.125rem;
133
+ @apply text-lg/tight;
141
134
  }
142
135
 
143
136
  .root h6 {
144
- font-size: 1rem;
137
+ @apply text-base/tight;
145
138
  }
146
139
  }
@@ -5,15 +5,14 @@
5
5
  composes: text-sm from global;
6
6
  }
7
7
 
8
- /* TODO @TW: cannot compose */
9
8
  .root p {
10
- margin: 0 0 1rem;
9
+ @apply m-0;
10
+ @apply mb-4;
11
11
  }
12
12
 
13
- /* TODO @TW: cannot compose */
14
13
  .root ul {
15
- /* composes: list-disc from global; */
16
- list-style-type: disc;
17
- margin: 0 0 1rem;
18
- padding-left: 2.5rem;
14
+ @apply list-disc;
15
+ @apply m-0;
16
+ @apply mb-4;
17
+ @apply pl-10;
19
18
  }
@@ -8,7 +8,7 @@
8
8
  composes: min-w-[20rem] from global;
9
9
  composes: px-md from global;
10
10
  composes: py-sm from global;
11
- composes: rounded-md from global;
11
+ composes: rounded-box from global;
12
12
  composes: relative from global;
13
13
  min-height: 10rem;
14
14
  }
@@ -16,7 +16,7 @@
16
16
  .root_active {
17
17
  composes: root;
18
18
 
19
- composes: border-brand-dark from global;
19
+ @apply border-brand-dark;
20
20
  }
21
21
 
22
22
  .title {
@@ -43,7 +43,7 @@
43
43
  .deleteButton {
44
44
  composes: root from '../LinkButton/linkButton.module.css';
45
45
 
46
- composes: no-underline from global;
46
+ @apply no-underline;
47
47
  }
48
48
 
49
49
  .deleteConfirmationContainer {
@@ -58,37 +58,31 @@
58
58
  composes: opacity-100 from global;
59
59
  composes: px-md from global;
60
60
  composes: py-xs from global;
61
- composes: rounded-md from global;
61
+ composes: rounded-box from global;
62
62
  composes: top-0 from global;
63
63
  composes: w-full from global;
64
+ composes: visible from global;
64
65
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
65
66
  transform: scaleX(1);
66
67
  transition-duration: 192ms;
67
68
  transition-timing-function: var(--venia-global-anim-in);
68
69
  transition-property: opacity, transform, visibility;
69
-
70
- /* TODO @TW: review (B6) */
71
- /* composes: visible from global; */
72
- visibility: visible;
73
70
  }
74
71
 
75
72
  .deleteConfirmationContainer_hidden {
76
73
  composes: deleteConfirmationContainer;
77
74
 
78
- composes: opacity-0 from global;
75
+ @apply opacity-0;
76
+ @apply invisible;
79
77
  transform: scaleX(0);
80
78
  transition-delay: 0s, 192ms, 0s;
81
79
  transition-timing-function: var(--venia-global-anim-out);
82
-
83
- /* TODO @TW: review (B6) */
84
- /* composes: invisible from global; */
85
- visibility: hidden;
86
80
  }
87
81
 
88
82
  .confirmDeleteButton {
89
83
  composes: root_normalPriorityNegative from '../Button/button.module.css';
90
84
 
91
- composes: bg-white from global;
85
+ @apply bg-white;
92
86
  composes: order-1 from global;
93
87
  composes: order-first from global;
94
88
  }
@@ -96,7 +90,7 @@
96
90
  .cancelDeleteButton {
97
91
  composes: root_lowPriority from '../Button/button.module.css';
98
92
 
99
- composes: bg-white from global;
93
+ @apply bg-white;
100
94
  }
101
95
 
102
96
  .deleteText {
@@ -105,7 +99,7 @@
105
99
  composes: xs_lg_block from global;
106
100
  }
107
101
 
108
- @media (max-width: 479px) {
102
+ @media screen(-xs) {
109
103
  .deleteConfirmationContainer {
110
104
  transform: scaleY(1);
111
105
  }
@@ -24,15 +24,13 @@
24
24
  composes: lg_text-center from global;
25
25
  }
26
26
 
27
- /* prettier-ignore */
28
27
  .content {
29
28
  composes: gap-xs from global;
30
29
  composes: grid from global;
31
30
  composes: grid-cols-1 from global;
32
31
  grid-auto-rows: minmax(6rem, max-content);
33
32
 
34
- /* TODO @TW: review (B7) */
35
- composes: lg_grid-cols-[1fr,1fr,1fr] from global;
33
+ composes: lg_grid-cols-[1fr_1fr_1fr] from global;
36
34
  }
37
35
 
38
36
  .noPayments {
@@ -44,7 +42,7 @@
44
42
  composes: border-solid from global;
45
43
  composes: border-subtle from global;
46
44
  composes: font-semibold from global;
47
- composes: rounded-md from global;
45
+ composes: rounded-button from global;
48
46
  composes: text-brand-dark from global;
49
47
  composes: text-sm from global;
50
48
  transition: border-color 384ms var(--venia-global-anim-standard);
@@ -44,19 +44,13 @@
44
44
  composes: py-0 from global;
45
45
  composes: text-center from global;
46
46
  composes: text-subtle from global;
47
- }
48
47
 
49
- /* TODO @TW: cannot compose */
50
- .message:empty {
51
- padding: 0;
48
+ composes: empty_hidden from global;
52
49
  }
53
50
 
54
51
  .suggestions {
55
52
  composes: gap-2xs from global;
56
53
  composes: grid from global;
57
- }
58
54
 
59
- /* TODO @TW: cannot compose */
60
- .suggestions:empty {
61
- display: none;
55
+ composes: empty_hidden from global;
62
56
  }
@@ -7,19 +7,14 @@
7
7
  composes: py-0 from global;
8
8
  composes: w-full from global;
9
9
 
10
- /* TODO @TW: review (B6) */
11
- /* composes: hidden from global; */
12
- display: none;
10
+ @apply hidden;
13
11
  }
14
12
 
15
13
  .root_open {
16
14
  composes: root;
17
15
 
18
16
  composes: z-dropdown from global;
19
-
20
- /* TODO @TW: review (B6) */
21
- /* composes: grid from global; */
22
- display: grid;
17
+ @apply grid;
23
18
  }
24
19
 
25
20
  .form {
@@ -5,9 +5,6 @@
5
5
  composes: gap-3 from global;
6
6
  composes: grid from global;
7
7
  composes: pt-3 from global;
8
- }
9
8
 
10
- /* TODO @TW: cannot compose */
11
- .root:empty {
12
- display: none;
9
+ composes: empty_hidden from global;
13
10
  }
@@ -5,9 +5,6 @@
5
5
  composes: gap-3 from global;
6
6
  composes: grid from global;
7
7
  composes: pt-3 from global;
8
- }
9
8
 
10
- /* TODO @TW: cannot compose */
11
- .products:empty {
12
- display: none;
9
+ composes: empty_hidden from global;
13
10
  }
@@ -10,7 +10,7 @@
10
10
  }
11
11
 
12
12
  .headerButtons {
13
- flex-basis: 100%;
13
+ composes: basis-full from global;
14
14
  composes: flex from global;
15
15
  composes: justify-center from global;
16
16
  composes: mx-0 from global;
@@ -42,12 +42,7 @@
42
42
  composes: mt-10 from global;
43
43
 
44
44
  composes: lg_m-0 from global;
45
- }
46
-
47
- @media (min-width: 960px) {
48
- .searchInfo {
49
- flex-basis: 100%;
50
- }
45
+ composes: lg_basis-full from global;
51
46
  }
52
47
 
53
48
  .totalPages {
@@ -20,5 +20,5 @@
20
20
  }
21
21
 
22
22
  .input_error {
23
- composes: border-error from global;
23
+ @apply border-error;
24
24
  }