@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.
- 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
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
.root_hidden {
|
|
10
10
|
composes: root;
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
@apply hidden;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.header {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
.contentContainer {
|
|
20
20
|
composes: border-0 from global;
|
|
21
21
|
composes: p-0 from global;
|
|
22
|
-
composes: rounded-
|
|
22
|
+
composes: rounded-box from global;
|
|
23
23
|
|
|
24
24
|
composes: lg_border-2 from global;
|
|
25
25
|
composes: lg_border-solid from global;
|
|
@@ -30,26 +30,26 @@
|
|
|
30
30
|
.signInRoot {
|
|
31
31
|
composes: root from '../../SignIn/signIn.module.css';
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
@apply px-0;
|
|
34
|
+
@apply py-xs;
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
@apply lg_p-0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.forgotPasswordRoot {
|
|
40
40
|
composes: root from '../../ForgotPassword/forgotPassword.module.css';
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
@apply px-0;
|
|
43
|
+
@apply py-xs;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
@apply lg_p-0;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.createAccountRoot {
|
|
49
49
|
composes: root from '../../CreateAccount/createAccount.module.css';
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
@apply px-0;
|
|
52
|
+
@apply py-xs;
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
@apply lg_p-0;
|
|
55
55
|
}
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
composes: py-sm from global;
|
|
11
11
|
|
|
12
12
|
composes: lg_gap-md from global;
|
|
13
|
-
|
|
14
|
-
composes: lg_grid-cols-[2fr,1fr] from global;
|
|
13
|
+
composes: lg_grid-cols-[2fr_1fr] from global;
|
|
15
14
|
composes: lg_px-lg from global;
|
|
16
15
|
composes: lg_py-md from global;
|
|
17
16
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
composes: lg_border-2 from global;
|
|
9
9
|
composes: lg_border-solid from global;
|
|
10
10
|
composes: lg_border-subtle from global;
|
|
11
|
-
composes: lg_rounded-
|
|
11
|
+
composes: lg_rounded-box from global;
|
|
12
12
|
composes: lg_mt-0 from global;
|
|
13
13
|
composes: lg_p-md from global;
|
|
14
14
|
}
|
|
@@ -5,22 +5,22 @@
|
|
|
5
5
|
composes: text-error from global;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
/* TODO @TW: cannot compose */
|
|
9
8
|
div[data-braintree-id='card'] {
|
|
10
|
-
border
|
|
9
|
+
@apply border-0;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
/* TODO @TW: cannot compose */
|
|
14
12
|
div[data-braintree-id='card-sheet-header'] {
|
|
15
|
-
|
|
13
|
+
@apply hidden;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
/* TODO @TW: cannot compose */
|
|
19
16
|
div[class*='braintree-sheet__content--form'] {
|
|
20
17
|
/**
|
|
21
18
|
This is needed to override padding on the dropin
|
|
22
19
|
component. If we use padding-top instead it just
|
|
23
20
|
overrides the padding-top not whole padding.
|
|
24
21
|
*/
|
|
25
|
-
|
|
22
|
+
@apply pt-4;
|
|
23
|
+
@apply pr-0;
|
|
24
|
+
@apply pb-0;
|
|
25
|
+
@apply pl-0;
|
|
26
26
|
}
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
composes: p-xs from global;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
@media screen(-lg) {
|
|
46
|
+
.regionError {
|
|
47
|
+
color: brown;
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
}
|
|
49
50
|
|
|
50
|
-
@media (max-width: 959px) {
|
|
51
51
|
.firstname {
|
|
52
52
|
grid-column: 1 / span 2;
|
|
53
53
|
}
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
composes: p-xs from global;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
@media screen(-lg) {
|
|
40
|
+
.regionError {
|
|
41
|
+
color: brown;
|
|
42
|
+
font-weight: 600;
|
|
43
|
+
}
|
|
43
44
|
|
|
44
|
-
@media (max-width: 959px) {
|
|
45
45
|
.firstname {
|
|
46
46
|
grid-column: 1 / span 2;
|
|
47
47
|
}
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
transition-timing-function: var(--venia-global-anim-out);
|
|
19
19
|
transition-property: opacity, transform, visibility;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
/* composes: invisible from global; */
|
|
23
|
-
visibility: hidden;
|
|
21
|
+
@apply invisible;
|
|
24
22
|
|
|
25
23
|
composes: lg_h-auto from global;
|
|
26
24
|
composes: lg_max-h-modal from global;
|
|
@@ -28,13 +26,13 @@
|
|
|
28
26
|
composes: lg_top-[5vh] from global;
|
|
29
27
|
}
|
|
30
28
|
|
|
31
|
-
@media (
|
|
29
|
+
@media screen(-lg) {
|
|
32
30
|
.root {
|
|
33
31
|
transform: translate3d(100%, 0, 0);
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
34
|
|
|
37
|
-
@media (
|
|
35
|
+
@media screen(lg) {
|
|
38
36
|
/* TODO @TW: review */
|
|
39
37
|
.root {
|
|
40
38
|
left: calc(50% - 370px);
|
|
@@ -44,18 +42,16 @@
|
|
|
44
42
|
.root_open {
|
|
45
43
|
composes: root;
|
|
46
44
|
|
|
47
|
-
|
|
45
|
+
@apply opacity-100;
|
|
48
46
|
composes: shadow-modal from global;
|
|
49
47
|
transform: scale(1);
|
|
50
48
|
transition-duration: 224ms;
|
|
51
49
|
transition-timing-function: var(--venia-global-anim-in);
|
|
52
50
|
|
|
53
|
-
|
|
54
|
-
/* composes: visible from global; */
|
|
55
|
-
visibility: visible;
|
|
51
|
+
@apply visible;
|
|
56
52
|
}
|
|
57
53
|
|
|
58
|
-
@media (
|
|
54
|
+
@media screen(-lg) {
|
|
59
55
|
.root_open {
|
|
60
56
|
composes: root;
|
|
61
57
|
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
/* TODO @TW: review (B6) */
|
|
3
2
|
composes: border-2 from global;
|
|
4
3
|
composes: border-solid from global;
|
|
5
4
|
composes: border-subtle from global;
|
|
6
5
|
composes: p-md from global;
|
|
7
|
-
composes: rounded-
|
|
6
|
+
composes: rounded-box from global;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.root_editMode {
|
|
11
10
|
composes: root;
|
|
12
11
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
composes: border-subtle from global;
|
|
18
|
-
composes: p-0 from global;
|
|
19
|
-
composes: rounded-none from global;
|
|
12
|
+
@apply border-0;
|
|
13
|
+
@apply border-b-2;
|
|
14
|
+
@apply p-0;
|
|
15
|
+
@apply rounded-none;
|
|
20
16
|
}
|
|
21
17
|
|
|
22
18
|
.root_updated {
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
composes: grid from global;
|
|
6
6
|
composes: gap-y-xs from global;
|
|
7
7
|
composes: p-md from global;
|
|
8
|
-
composes: rounded-
|
|
8
|
+
composes: rounded-box from global;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.done {
|
|
12
12
|
composes: root;
|
|
13
13
|
|
|
14
14
|
composes: border-2 from global;
|
|
15
|
-
composes: border-solid from global;
|
|
16
|
-
composes: border-subtle from global;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
.editingHeading {
|
|
@@ -8,21 +8,19 @@
|
|
|
8
8
|
composes: lg_px-lg from global;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
/* prettier-ignore */
|
|
12
11
|
.checkoutContent {
|
|
13
12
|
composes: gap-xs from global;
|
|
14
13
|
composes: grid from global;
|
|
15
14
|
composes: grid-cols-1 from global;
|
|
16
15
|
|
|
17
16
|
composes: lg_gap-md from global;
|
|
18
|
-
|
|
19
|
-
composes: lg_grid-cols-[2fr,1fr] from global;
|
|
17
|
+
composes: lg_grid-cols-[2fr_1fr] from global;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
.checkoutContent_hidden {
|
|
23
21
|
composes: checkoutContent;
|
|
24
22
|
|
|
25
|
-
|
|
23
|
+
@apply hidden;
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
.heading_container {
|
|
@@ -39,7 +37,7 @@
|
|
|
39
37
|
.cartLink {
|
|
40
38
|
composes: root from '../LinkButton/linkButton.module.css';
|
|
41
39
|
|
|
42
|
-
|
|
40
|
+
@apply text-inherit;
|
|
43
41
|
}
|
|
44
42
|
|
|
45
43
|
.stepper_heading {
|
|
@@ -60,10 +58,10 @@
|
|
|
60
58
|
|
|
61
59
|
.payment_information_heading {
|
|
62
60
|
composes: stepper_heading;
|
|
63
|
-
|
|
61
|
+
@apply border-b-0;
|
|
64
62
|
|
|
65
63
|
/* On mobile, order summary has a top border, so avoid doubling up. */
|
|
66
|
-
|
|
64
|
+
@apply lg_border-b;
|
|
67
65
|
}
|
|
68
66
|
|
|
69
67
|
.signInContainer {
|
|
@@ -77,7 +75,7 @@
|
|
|
77
75
|
composes: justify-items-center from global;
|
|
78
76
|
composes: mb-xs from global;
|
|
79
77
|
composes: p-xs from global;
|
|
80
|
-
composes: rounded-
|
|
78
|
+
composes: rounded-box from global;
|
|
81
79
|
composes: row-start-1 from global;
|
|
82
80
|
|
|
83
81
|
composes: lg_grid-flow-col from global;
|
|
@@ -92,10 +90,10 @@
|
|
|
92
90
|
.signInButton {
|
|
93
91
|
composes: root_normalPriority from '../Button/button.module.css';
|
|
94
92
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
93
|
+
@apply min-h-auto;
|
|
94
|
+
@apply min-w-auto;
|
|
95
|
+
@apply px-md;
|
|
96
|
+
@apply py-1;
|
|
99
97
|
}
|
|
100
98
|
|
|
101
99
|
.empty_cart_container {
|
|
@@ -133,7 +131,7 @@
|
|
|
133
131
|
composes: lg_top-[6rem] from global;
|
|
134
132
|
}
|
|
135
133
|
|
|
136
|
-
@media (
|
|
134
|
+
@media screen(lg) {
|
|
137
135
|
.summaryContainer {
|
|
138
136
|
grid-column: 2 / span 1;
|
|
139
137
|
grid-row: 2 / span 3;
|
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
composes: m-xs from global;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
/* TODO @TW: cannot compose */
|
|
6
5
|
.content h2 {
|
|
7
|
-
|
|
8
|
-
text-
|
|
9
|
-
|
|
6
|
+
@apply mb-8;
|
|
7
|
+
@apply text-center;
|
|
8
|
+
@apply uppercase;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
/* TODO @TW: cannot compose */
|
|
13
11
|
.content img {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
max-
|
|
18
|
-
|
|
12
|
+
@apply block;
|
|
13
|
+
@apply h-auto;
|
|
14
|
+
@apply w-auto;
|
|
15
|
+
@apply max-h-full;
|
|
16
|
+
@apply max-w-full;
|
|
19
17
|
}
|
|
@@ -11,28 +11,22 @@
|
|
|
11
11
|
composes: top-0 from global;
|
|
12
12
|
composes: w-full from global;
|
|
13
13
|
composes: z-dialog from global;
|
|
14
|
+
composes: invisible from global;
|
|
14
15
|
transform: translate3d(-50%, 0, 0);
|
|
15
16
|
transition: opacity 192ms var(--venia-global-anim-out),
|
|
16
17
|
visibility 192ms var(--venia-global-anim-out), left 0s 192ms;
|
|
17
18
|
|
|
18
|
-
/* TODO @TW: review (B6) */
|
|
19
|
-
/* composes: invisible from global; */
|
|
20
|
-
visibility: hidden;
|
|
21
|
-
|
|
22
19
|
composes: lg_right-auto from global;
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
.root_open {
|
|
26
23
|
composes: root;
|
|
27
24
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
composes: lg_left-1/2 from global;
|
|
25
|
+
@apply left-auto;
|
|
26
|
+
@apply opacity-100;
|
|
27
|
+
@apply visible;
|
|
32
28
|
|
|
33
|
-
|
|
34
|
-
/* composes: visible from global; */
|
|
35
|
-
visibility: visible;
|
|
29
|
+
@apply lg_left-1/2;
|
|
36
30
|
|
|
37
31
|
/* It animates to being open. */
|
|
38
32
|
transition: opacity 224ms var(--venia-global-anim-in),
|
|
@@ -116,7 +110,7 @@
|
|
|
116
110
|
.headerText {
|
|
117
111
|
composes: capitalize from global;
|
|
118
112
|
composes: leading-tight from global;
|
|
119
|
-
composes:
|
|
113
|
+
composes: text-ellipsis from global;
|
|
120
114
|
composes: overflow-hidden from global;
|
|
121
115
|
composes: text-subtle from global;
|
|
122
116
|
composes: whitespace-nowrap from global;
|
|
@@ -173,7 +167,7 @@
|
|
|
173
167
|
* dialogs slide out from the right.
|
|
174
168
|
*/
|
|
175
169
|
|
|
176
|
-
@media (
|
|
170
|
+
@media screen(-lg) {
|
|
177
171
|
.root {
|
|
178
172
|
/* The Dialog starts off-screen on the right. */
|
|
179
173
|
transform: translate3d(100%, 0, 0);
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
composes: inline-flex from global;
|
|
28
28
|
composes: m-0 from global;
|
|
29
29
|
composes: max-w-full from global;
|
|
30
|
-
composes: rounded-
|
|
30
|
+
composes: rounded-input from global;
|
|
31
31
|
composes: text-colorDefault from global;
|
|
32
32
|
composes: text-colorDefault from global;
|
|
33
33
|
composes: w-full from global;
|
|
@@ -47,4 +47,5 @@
|
|
|
47
47
|
composes: font-normal from global;
|
|
48
48
|
composes: text-sm from global;
|
|
49
49
|
composes: text-subtle from global;
|
|
50
|
+
composes: leading-none from global;
|
|
50
51
|
}
|
|
@@ -14,10 +14,13 @@
|
|
|
14
14
|
grid-row: input-start / input-end;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
/* TODO @TW: cannot compose */
|
|
18
17
|
.input > input {
|
|
19
|
-
padding-left: calc(
|
|
20
|
-
|
|
18
|
+
padding-left: calc(
|
|
19
|
+
theme(spacing[7.5]) * var(--iconsBefore) + theme(spacing[2.5])
|
|
20
|
+
);
|
|
21
|
+
padding-right: calc(
|
|
22
|
+
theme(spacing[7.5]) * var(--iconsAfter) + theme(spacing[2.5])
|
|
23
|
+
);
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
.before,
|
|
@@ -30,12 +33,7 @@
|
|
|
30
33
|
composes: pointer-events-none from global;
|
|
31
34
|
composes: w-[2.5rem] from global;
|
|
32
35
|
composes: z-foreground from global;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
/* TODO @TW: cannot compose */
|
|
36
|
-
.before:empty,
|
|
37
|
-
.after:empty {
|
|
38
|
-
display: none;
|
|
36
|
+
composes: empty_hidden from global;
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
.before {
|
|
@@ -46,8 +44,6 @@
|
|
|
46
44
|
grid-area: after;
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
/* TODO @TW: cannot compose */
|
|
50
47
|
.before svg {
|
|
51
|
-
|
|
52
|
-
stroke: rgb(var(--venia-global-color-gray-600));
|
|
48
|
+
@apply stroke-gray-600;
|
|
53
49
|
}
|
|
@@ -6,16 +6,12 @@
|
|
|
6
6
|
composes: px-0.5 from global;
|
|
7
7
|
composes: text-colorDefault from global;
|
|
8
8
|
composes: text-sm from global;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/* TODO @TW: cannot compose */
|
|
12
|
-
.root:empty {
|
|
13
|
-
display: none;
|
|
9
|
+
composes: empty_hidden from global;
|
|
14
10
|
}
|
|
15
11
|
|
|
16
12
|
.root_error {
|
|
17
13
|
composes: root;
|
|
18
14
|
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
@apply font-semibold;
|
|
16
|
+
@apply text-error;
|
|
21
17
|
}
|
|
@@ -11,15 +11,12 @@
|
|
|
11
11
|
composes: top-0 from global;
|
|
12
12
|
composes: w-full from global;
|
|
13
13
|
composes: z-dialog from global;
|
|
14
|
+
composes: invisible from global;
|
|
14
15
|
grid-template-rows: 1fr 7rem;
|
|
15
16
|
transform: translate3d(-100%, 0, 0);
|
|
16
17
|
transition-duration: 192ms;
|
|
17
18
|
transition-timing-function: var(--venia-global-anim-out);
|
|
18
19
|
transition-property: opacity, transform, visibility;
|
|
19
|
-
|
|
20
|
-
/* TODO @TW: review (B6) */
|
|
21
|
-
/* composes: invisible from global; */
|
|
22
|
-
visibility: hidden;
|
|
23
20
|
}
|
|
24
21
|
|
|
25
22
|
.root_open {
|
|
@@ -27,13 +24,10 @@
|
|
|
27
24
|
|
|
28
25
|
composes: opacity-100 from global;
|
|
29
26
|
composes: shadow-modal from global;
|
|
27
|
+
@apply visible;
|
|
30
28
|
transform: translate3d(0, 0, 0);
|
|
31
29
|
transition-duration: 224ms;
|
|
32
30
|
transition-timing-function: var(--venia-global-anim-in);
|
|
33
|
-
|
|
34
|
-
/* TODO @TW: review (B6) */
|
|
35
|
-
/* composes: visible from global; */
|
|
36
|
-
visibility: visible;
|
|
37
31
|
}
|
|
38
32
|
|
|
39
33
|
.body {
|
|
@@ -64,12 +58,9 @@
|
|
|
64
58
|
composes: px-xs from global;
|
|
65
59
|
}
|
|
66
60
|
|
|
67
|
-
/* TODO @TW: cannot compose */
|
|
68
61
|
.action button {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
/* composes: no-underline from global; */
|
|
72
|
-
text-decoration: none;
|
|
62
|
+
@apply text-sm;
|
|
63
|
+
@apply no-underline;
|
|
73
64
|
}
|
|
74
65
|
|
|
75
66
|
.blocks {
|
|
@@ -78,10 +69,8 @@
|
|
|
78
69
|
composes: px-xs from global;
|
|
79
70
|
}
|
|
80
71
|
|
|
81
|
-
/* TODO @TW: cannot compose */
|
|
82
72
|
.blocks > li:last-child {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
border-bottom: 2px solid rgb(var(--venia-global-color-border));
|
|
73
|
+
@apply border-b-2;
|
|
74
|
+
@apply border-solid;
|
|
75
|
+
@apply border-subtle;
|
|
87
76
|
}
|