@magento/venia-ui 10.3.0 → 11.3.0-alpha.8

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
@@ -1,87 +1,64 @@
1
1
  .root {
2
- composes: bg-gray-100 from global;
3
2
  composes: inline-block from global;
4
3
  composes: overflow-hidden from global;
5
4
  composes: pointer-events-none from global;
6
5
  composes: relative from global;
7
- }
8
6
 
9
- /* TODO @TW: cannot compose */
10
- .root::before {
11
- content: '';
12
- position: absolute;
13
- top: 0;
14
- left: 0;
15
- width: var(
16
- --venia-global-maxWidth
17
- ); /* TODO @TW: review. this should use TW theme value "maxWidth.site" */
18
- height: 100%;
19
- background-image: linear-gradient(
20
- to right,
21
- rgb(var(--venia-global-color-gray-50) / 0%) 0%,
22
- rgb(var(--venia-global-color-gray-50)) 40%,
23
- rgb(var(--venia-global-color-gray-50) / 0%) 80%,
24
- rgb(var(--venia-global-color-gray-50) / 0%) 100%
25
- );
26
- /* composes: bg-no-repeat from global; */
27
- background-repeat: none;
28
- background-size: var(--venia-global-maxWidth) 100%;
29
- -webkit-animation-name: shimmerAnimation;
30
- -webkit-animation-duration: 1s;
31
- -webkit-animation-timing-function: linear;
32
- -webkit-animation-iteration-count: infinite;
33
- -webkit-animation-fill-mode: forwards;
34
- will-change: transform;
7
+ composes: before_absolute from global;
8
+ composes: before_top-0 from global;
9
+ composes: before_left-0 from global;
10
+ composes: before_w-maxSite from global;
11
+ composes: before_h-full from global;
12
+ composes: before_bg-shimmer from global;
13
+ composes: before_bg-no-repeat from global;
14
+ composes: before_bg-maxSite from global;
15
+ composes: before_will-change-transform from global;
16
+ composes: before_animate-shimmer from global;
35
17
  }
36
18
 
37
19
  .root_rectangle {
38
20
  composes: root;
39
21
 
40
- min-height: 1rem;
22
+ @apply bg-gray-100;
23
+ min-height: theme('fontSize.base');
41
24
  }
42
25
 
43
26
  .root_button {
44
27
  composes: root from '../Button/button.module.css';
45
28
  composes: root;
46
29
 
47
- composes: border-0 from global;
30
+ @apply bg-gray-100;
31
+ @apply border-0;
48
32
  }
49
33
 
50
34
  .root_checkbox {
51
35
  composes: input_shimmer from '../Checkbox/checkbox.module.css';
52
36
  composes: root;
53
37
 
54
- composes: border-0 from global;
38
+ @apply bg-gray-100;
39
+ @apply border-0;
55
40
  }
56
41
 
57
42
  .root_radio {
58
43
  composes: input_shimmer from '../RadioGroup/radio.module.css';
59
44
  composes: root;
60
45
 
61
- composes: border-0 from global;
46
+ @apply bg-gray-100;
47
+ @apply border-0;
62
48
  }
63
49
 
64
50
  .root_textArea {
65
51
  composes: input_shimmer from '../TextArea/textArea.module.css';
66
52
  composes: root;
67
53
 
68
- min-height: 6.75rem;
69
- composes: border-0 from global;
54
+ @apply bg-gray-100;
55
+ @apply border-0;
70
56
  }
71
57
 
72
58
  .root_textInput {
73
59
  composes: input_shimmer from '../TextInput/textInput.module.css';
74
60
  composes: root;
75
61
 
76
- composes: border-0 from global;
77
- }
78
-
79
- @-webkit-keyframes shimmerAnimation {
80
- 0% {
81
- transform: translateX(-100%);
82
- }
83
-
84
- 100% {
85
- transform: translateX(100%);
86
- }
62
+ @apply bg-gray-100;
63
+ @apply border-0;
87
64
  }
@@ -25,19 +25,13 @@
25
25
  composes: h-full from global;
26
26
  composes: text-center from global;
27
27
  composes: w-full from global;
28
-
29
- /* TODO @TW: review (B6) */
30
- /* composes: invisible from global; */
31
- visibility: hidden;
28
+ composes: invisible from global;
32
29
  }
33
30
 
34
31
  .modal_active {
35
32
  composes: modal;
36
33
  composes: opacity-90 from global;
37
-
38
- /* TODO @TW: review (B6) */
39
- /* composes: visible from global; */
40
- visibility: visible;
34
+ @apply visible;
41
35
  }
42
36
 
43
37
  .buttonsContainer {
@@ -17,5 +17,5 @@
17
17
  composes: lg_border-solid from global;
18
18
  composes: lg_border-subtle from global;
19
19
  composes: lg_pb-md from global;
20
- composes: lg_rounded-md from global;
20
+ composes: lg_rounded-box from global;
21
21
  }
@@ -1,7 +1,7 @@
1
1
  .input {
2
2
  composes: input from '../Field/field.module.css';
3
3
 
4
- composes: h-auto from global;
4
+ @apply h-auto;
5
5
  composes: max-w-full from global;
6
6
  composes: min-w-full from global;
7
7
  composes: px-xs from global;
@@ -16,7 +16,7 @@
16
16
  composes: min-w-full from global;
17
17
  composes: px-[15px] from global;
18
18
  composes: py-[12px] from global;
19
- composes: rounded-md from global;
19
+ composes: rounded-input from global;
20
20
  composes: w-full from global;
21
21
  font-size: 1rem;
22
22
  }
@@ -7,14 +7,14 @@
7
7
  .input_error {
8
8
  composes: input from '../Field/field.module.css';
9
9
 
10
- composes: border-error from global;
10
+ @apply border-error;
11
11
  }
12
12
 
13
13
  .input_shimmer {
14
14
  composes: h-[2.5rem] from global;
15
15
  composes: m-0 from global;
16
16
  composes: max-w-full from global;
17
- composes: rounded-md from global;
17
+ composes: rounded-input from global;
18
18
  composes: w-full from global;
19
19
  font-size: 1rem;
20
20
  padding: calc(0.375rem - 1px) calc(0.625rem - 1px);
@@ -44,7 +44,7 @@
44
44
 
45
45
  composes: border-b-4 from global;
46
46
  composes: border-solid from global;
47
- composes: border-info from global;
47
+ @apply border-info;
48
48
  }
49
49
 
50
50
  .infoToast > .icon {
@@ -56,7 +56,7 @@
56
56
 
57
57
  composes: border-b-4 from global;
58
58
  composes: border-solid from global;
59
- composes: border-warning from global;
59
+ @apply border-warning;
60
60
  }
61
61
 
62
62
  .warningToast > .icon {
@@ -68,7 +68,7 @@
68
68
 
69
69
  composes: border-b-4 from global;
70
70
  composes: border-solid from global;
71
- composes: border-error from global;
71
+ @apply border-error;
72
72
  }
73
73
 
74
74
  .errorToast > .icon {
@@ -80,7 +80,7 @@
80
80
 
81
81
  composes: border-b-4 from global;
82
82
  composes: border-solid from global;
83
- composes: border-success from global;
83
+ @apply border-success;
84
84
  }
85
85
 
86
86
  .successToast > .icon {
@@ -18,13 +18,13 @@
18
18
  .cancelButton {
19
19
  composes: root_lowPriority from '../Button/button.module.css';
20
20
 
21
- composes: min-w-[9rem] from global;
21
+ @apply min-w-[9rem];
22
22
  }
23
23
 
24
24
  .confirmButton {
25
25
  composes: root_highPriority from '../Button/button.module.css';
26
26
 
27
- composes: min-w-[9rem] from global;
27
+ @apply min-w-[9rem];
28
28
  }
29
29
 
30
30
  .contents {
@@ -59,6 +59,6 @@
59
59
  composes: h-[6rem] from global;
60
60
  composes: items-center from global;
61
61
  composes: justify-center from global;
62
- composes: rounded-md from global;
62
+ composes: rounded-box from global;
63
63
  composes: text-brand-dark from global;
64
64
  }
@@ -5,7 +5,7 @@
5
5
  composes: gap-y-md from global;
6
6
  composes: grid from global;
7
7
  composes: p-sm from global;
8
- composes: rounded-md from global;
8
+ composes: rounded-box from global;
9
9
 
10
10
  composes: md_p-md from global;
11
11
  }
@@ -20,7 +20,7 @@
20
20
  composes: md_gap-y-2xs from global;
21
21
  }
22
22
 
23
- @media (max-width: 799px) {
23
+ @media screen(-md) {
24
24
  .header {
25
25
  grid-template-rows: 1fr 1fr;
26
26
  }
@@ -69,8 +69,8 @@
69
69
  .loadMore {
70
70
  composes: root_lowPriority from '../Button/button.module.css';
71
71
 
72
- composes: block from global;
73
- composes: min-w-[20rem] from global;
72
+ @apply block;
73
+ @apply min-w-[20rem];
74
74
  composes: mx-auto from global;
75
75
  composes: my-md from global;
76
76
  }
@@ -5,7 +5,7 @@
5
5
  .cancelButton {
6
6
  composes: root_lowPriority from '../Button/button.module.css';
7
7
 
8
- composes: min-w-[9rem] from global;
8
+ @apply min-w-[9rem];
9
9
  }
10
10
 
11
11
  .confirmButton {
@@ -48,7 +48,7 @@
48
48
  composes: root_highPriority from '../Button/button.module.css';
49
49
 
50
50
  composes: justify-self-start from global;
51
- composes: min-w-full from global;
51
+ @apply min-w-full;
52
52
  composes: mt-1 from global;
53
53
 
54
54
  composes: xs_min-w-auto from global;
@@ -1,47 +1,35 @@
1
1
  @import './tokens.module.css';
2
2
 
3
3
  :global(*) {
4
- /* composes: box-border from global; */
5
- box-sizing: border-box;
4
+ @apply box-border;
6
5
  }
7
6
 
8
- /* TODO @TW: cannot compose */
9
7
  :global(html) {
10
- /* composes: text-[100%] from global; */
11
- font-size: 100%;
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; */
17
- -moz-osx-font-smoothing: grayscale;
18
- -webkit-font-smoothing: antialiased;
8
+ @apply text-[100%];
9
+ @apply font-normal;
10
+ @apply leading-none;
11
+ @apply antialiased;
19
12
  }
20
13
 
21
14
  :global(html[data-scroll-lock='true']),
22
15
  :global(html[data-scroll-lock='true'] body) {
23
- height: 100%;
24
- overflow: hidden;
25
- position: fixed;
26
- width: 100%;
16
+ @apply h-full;
17
+ @apply overflow-hidden;
18
+ @apply fixed;
19
+ @apply w-full;
27
20
  }
28
21
 
29
- /* TODO @TW: cannot compose */
30
22
  :global(body),
31
23
  :global(button),
32
24
  :global(input),
33
25
  :global(select),
34
26
  :global(textarea) {
35
- /* composes: text-gray-900 from global; */
36
- /* color: rgb(var(--venia-global-color-text)); */
37
- color: rgb(23 32 38);
27
+ @apply text-gray-900;
38
28
  }
39
29
 
40
30
  :global(body) {
41
- /* composes: m-0 from global; */
42
- margin: 0;
43
- /* composes: p-0 from global; */
44
- padding: 0;
31
+ @apply m-0;
32
+ @apply p-0;
45
33
  }
46
34
 
47
35
  :global(h1),
@@ -50,76 +38,55 @@
50
38
  :global(h4),
51
39
  :global(h5),
52
40
  :global(h6) {
53
- /* composes: font-base from global; */
54
- font-size: 1rem;
55
- /* composes: font-normal from global; */
56
- font-weight: 400;
57
- /* composes: m-0 from global; */
58
- margin: 0;
41
+ @apply text-base;
42
+ @apply font-normal;
43
+ @apply m-0;
59
44
  }
60
45
 
61
46
  :global(h1) {
62
- /* composes: text-xl from global; */
63
- font-size: 1.5rem;
47
+ @apply text-xl;
64
48
  }
65
49
 
66
50
  :global(h2) {
67
- /* composes: text-lg from global; */
68
- font-size: 1.25rem;
51
+ @apply text-lg;
69
52
  }
70
53
 
71
54
  :global(a) {
72
- /* composes: text-current from global; */
73
- color: currentColor;
74
- /* composes: no-underline from global; */
75
- text-decoration: none;
55
+ @apply text-current;
56
+ @apply no-underline;
76
57
  }
77
58
 
78
59
  :global(p) {
79
- /* composes: m-0 from global; */
80
- margin: 0;
60
+ @apply m-0;
81
61
  }
82
62
 
83
63
  :global(dl),
84
64
  :global(ol),
85
65
  :global(ul) {
86
- /* composes: list-none from global; */
87
- list-style-type: none;
88
- /* composes: m-0 from global; */
89
- margin: 0;
90
- /* composes: p-0 from global; */
91
- padding: 0;
66
+ @apply list-none;
67
+ @apply m-0;
68
+ @apply p-0;
92
69
  }
93
70
 
94
71
  :global(dd),
95
72
  :global(dt) {
96
- /* composes: m-0 from global; */
97
- margin: 0;
73
+ @apply m-0;
98
74
  }
99
75
 
100
- /* TODO @TW: cannot compose */
101
76
  :global(button) {
102
- /* composes: bg-transparent from global; */
103
- background: none;
104
- /* composes: border-0 from global; */
105
- border: 0;
106
- /* composes: cursor-pointer from global; */
107
- cursor: pointer;
108
- /* composes: text-[100%] from global; */
109
- font-size: 100%;
110
- /* composes: p-0 from global; */
111
- padding: 0;
112
- touch-action: manipulation;
113
- /* composes: select-none from global; */
114
- user-select: none;
115
- /* composes: appearance-none from global; */
116
- -webkit-appearance: none;
77
+ @apply bg-transparent;
78
+ @apply border-0;
79
+ @apply cursor-pointer;
80
+ @apply text-[100%];
81
+ @apply p-0;
82
+ @apply touch-manipulation;
83
+ @apply select-none;
84
+ @apply appearance-none;
117
85
  }
118
86
 
119
87
  :global(button:disabled) {
120
- /* composes: cursor-default from global; */
121
- cursor: default;
122
- touch-action: none;
88
+ @apply cursor-default;
89
+ @apply touch-none;
123
90
  }
124
91
 
125
92
  :global(.braintree-sheet__content--form
@@ -7,35 +7,35 @@
7
7
  --venia-global-anim-standard: cubic-bezier(0.4, 0, 0.2, 1);
8
8
 
9
9
  /* color */
10
- --venia-global-color-blue-100: 194 200 255;
11
- --venia-global-color-blue-400: 71 139 255;
10
+ --venia-global-color-blue-100: var(--color-blue-100);
11
+ --venia-global-color-blue-400: var(--color-blue-400);
12
12
  /* --venia-global-color-blue-500: 51 109 255; */
13
13
  /* --venia-global-color-blue-600: 41 84 255; */
14
- --venia-global-color-blue-700: 31 57 255;
14
+ --venia-global-color-blue-700: var(--color-blue-700);
15
15
  /* --venia-global-color-blue-800: 23 43 196; */
16
- --venia-global-color-gray-50: 255 255 255;
16
+ --venia-global-color-gray-50: var(--color-gray-50);
17
17
  /* --venia-global-color-gray-75: 250 250 250; */
18
- --venia-global-color-gray-100: 244 245 245;
18
+ --venia-global-color-gray-100: var(--color-gray-100);
19
19
  /* --venia-global-color-gray-200: 234 235 235; */
20
- --venia-global-color-gray-300: 161 151 145;
21
- --venia-global-color-gray-400: 181 184 186;
22
- --venia-global-color-gray-500: 149 154 157;
23
- --venia-global-color-gray-600: 118 123 127;
24
- --venia-global-color-gray-700: 84 93 99;
20
+ --venia-global-color-gray-300: var(--color-gray-300);
21
+ --venia-global-color-gray-400: var(--color-gray-400);
22
+ --venia-global-color-gray-500: var(--color-gray-500);
23
+ --venia-global-color-gray-600: var(--color-gray-600);
24
+ --venia-global-color-gray-700: var(--color-gray-700);
25
25
  /* --venia-global-color-gray-800: 51 63 71; */
26
- --venia-global-color-gray-900: 23 32 38;
26
+ --venia-global-color-gray-900: var(--color-gray-900);
27
27
  --venia-global-color-gray: var(--venia-global-color-gray-100);
28
- --venia-global-color-gray-dark: var(--venia-global-color-gray-300);
29
- --venia-global-color-gray-darker: var(--venia-global-color-gray-600);
28
+ --venia-global-color-gray-dark: var(--venia-global-color-gray-400);
29
+ --venia-global-color-gray-darker: var(--venia-global-color-gray-700);
30
30
  /* --venia-global-color-green-400: 51 171 132; */
31
- --venia-global-color-green-500: 45 157 120;
31
+ --venia-global-color-green-500: var(--color-green-600);
32
32
  /* --venia-global-color-green-600: 38 142 108; */
33
33
  /* --venia-global-color-green-700: 18 128 92; */
34
- --venia-global-color-orange: 241 99 33;
35
- --venia-global-color-red-400: 236 91 98;
34
+ --venia-global-color-orange: var(--color-orange);
35
+ --venia-global-color-red-400: var(--color-red-400);
36
36
  /* --venia-global-color-red-500: 227 72 80; */
37
37
  /* --venia-global-color-red-600: 215 55 63; */
38
- --venia-global-color-red-700: 201 37 45;
38
+ --venia-global-color-red-700: var(--color-red-700);
39
39
  /* --venia-global-color-red-800: 161 30 36; */
40
40
  --venia-global-color-teal: var(--venia-global-color-blue-400);
41
41
  /* --venia-global-color-teal-dark: var(--venia-global-color-blue-600); */
@@ -84,11 +84,11 @@
84
84
  /* --venia-global-lineHeight-500: 2; */
85
85
 
86
86
  /* dimensions */
87
- --venia-global-maxWidth: 1440px;
88
- --venia-global-header-minHeight: 5rem;
87
+ --venia-global-maxWidth: theme(maxWidth.site);
88
+ --venia-global-header-minHeight: theme(spacing.header);
89
89
  }
90
90
 
91
- @media (max-width: 959px) {
91
+ @media screen(-lg) {
92
92
  :global(:root) {
93
93
  --venia-global-header-minHeight: 3.5rem;
94
94
  }
@@ -97,11 +97,11 @@
97
97
  /* alias tokens */
98
98
  :global(:root) {
99
99
  /* colors */
100
- --venia-brand-color-1-100: var(--venia-global-color-blue-100);
100
+ --venia-brand-color-1-100: var(--color-brand-100);
101
101
  /* --venia-brand-color-1-400: var(--venia-global-color-blue-400); */
102
102
  /* --venia-brand-color-1-500: var(--venia-global-color-blue-500); */
103
103
  /* --venia-brand-color-1-600: var(--venia-global-color-blue-600); */
104
- --venia-brand-color-1-700: var(--venia-global-color-blue-700);
104
+ --venia-brand-color-1-700: var(--color-brand-700);
105
105
  /* --venia-brand-color-1-800: var(--venia-global-color-blue-800); */
106
106
 
107
107
  /* typography - heading */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magento/venia-ui",
3
- "version": "10.3.0",
3
+ "version": "11.3.0-alpha.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -80,7 +80,7 @@
80
80
  "peerDependencies": {
81
81
  "@apollo/client": "~3.5.0",
82
82
  "@magento/babel-preset-peregrine": "~1.2.3",
83
- "@magento/peregrine": "~13.2.1",
83
+ "@magento/peregrine": "14.2.1-alpha.8",
84
84
  "@magento/pwa-buildpack": "~11.4.3",
85
85
  "apollo-cache-persist": "~0.1.1",
86
86
  "braintree-web-drop-in": "~1.33.3",