@magento/venia-ui 11.7.1 → 11.7.2-alpha3
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/lib/RootComponents/Category/__tests__/__snapshots__/category.spec.js.snap +2 -0
- package/lib/RootComponents/Category/__tests__/category.spec.js +2 -1
- package/lib/RootComponents/Category/category.gql.js +2 -0
- package/lib/RootComponents/Category/category.js +23 -3
- package/lib/RootComponents/Product/__tests__/product.spec.js +2 -1
- package/lib/RootComponents/Product/product.js +14 -3
- package/lib/components/AccountInformationPage/__tests__/__snapshots__/editForm.spec.js.snap +8 -0
- package/lib/components/AccountInformationPage/__tests__/__snapshots__/editModal.spec.js.snap +6 -0
- package/lib/components/AddToCartDialog/__tests__/__snapshots__/addToCartDialog.spec.js.snap +2 -0
- package/lib/components/AddressBookPage/__tests__/__snapshots__/addressBookPage.spec.js.snap +6 -0
- package/lib/components/AddressBookPage/__tests__/__snapshots__/addressCard.spec.js.snap +18 -0
- package/lib/components/App/__tests__/__snapshots__/app.spec.js.snap +5 -0
- package/lib/components/App/__tests__/app.spec.js +14 -1
- package/lib/components/App/app.js +3 -0
- package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCard.spec.js.snap +3 -0
- package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap +12 -0
- package/lib/components/CartPage/PriceAdjustments/CouponCode/__tests__/__snapshots__/couponCode.spec.js.snap +8 -0
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingForm.spec.js.snap +7 -0
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingMethods.spec.js.snap +2 -0
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/priceSummary.spec.js.snap +3 -0
- package/lib/components/CartPage/ProductListing/EditModal/__tests__/__snapshots__/productForm.spec.js.snap +10 -0
- package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +8 -0
- package/lib/components/Checkout/Receipt/__tests__/__snapshots__/receipt.spec.js.snap +2 -0
- package/lib/components/Checkout/__tests__/__snapshots__/addressForm.spec.js.snap +8 -0
- package/lib/components/Checkout/__tests__/__snapshots__/checkoutButton.spec.js.snap +3 -0
- package/lib/components/Checkout/__tests__/__snapshots__/overview.spec.js.snap +9 -0
- package/lib/components/Checkout/__tests__/__snapshots__/paymentsForm.spec.js.snap +6 -0
- package/lib/components/Checkout/__tests__/__snapshots__/shippingform.spec.js.snap +8 -0
- package/lib/components/CheckoutPage/AddressBook/__tests__/__snapshots__/addressBook.spec.js.snap +10 -0
- package/lib/components/CheckoutPage/GuestSignIn/__tests__/__snapshots__/guestSignIn.spec.js.snap +6 -0
- package/lib/components/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/createAccount.spec.js.snap +8 -0
- package/lib/components/CheckoutPage/PaymentInformation/__tests__/__snapshots__/braintreeSummary.spec.js.snap +6 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/customerForm.spec.js.snap +8 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/guestForm.spec.js.snap +10 -0
- package/lib/components/CheckoutPage/ShippingInformation/__tests__/__snapshots__/shippingInformation.spec.js.snap +4 -0
- package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/completedView.spec.js.snap +4 -0
- package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/shippingMethod.spec.js.snap +3 -0
- package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/updateModal.spec.js.snap +7 -0
- package/lib/components/CheckoutPage/__tests__/__snapshots__/checkoutPage.spec.js.snap +7 -0
- package/lib/components/CommunicationsPage/__tests__/__snapshots__/communicationsPage.spec.js.snap +7 -0
- package/lib/components/CreateAccount/__tests__/__snapshots__/createAccount.spec.js.snap +8 -0
- package/lib/components/Dialog/__tests__/__snapshots__/dialog.spec.js.snap +21 -0
- package/lib/components/ForgotPassword/ForgotPasswordForm/__tests__/__snapshots__/forgotPasswordForm.spec.js.snap +6 -0
- package/lib/components/Gallery/__tests__/__snapshots__/addToCartButton.spec.js.snap +5 -0
- package/lib/components/HomePage/homePage.module.css +0 -4
- package/lib/components/LegacyMiniCart/__tests__/__snapshots__/section.spec.js.snap +8 -0
- package/lib/components/MiniCart/__tests__/__snapshots__/miniCart.spec.js.snap +4 -0
- package/lib/components/MyAccount/ResetPassword/__tests__/__snapshots__/resetPassword.spec.js.snap +8 -0
- package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/item.spec.js.snap +2 -0
- package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/orderDetails.spec.js.snap +4 -0
- package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderHistoryPage.spec.js.snap +11 -0
- package/lib/components/Password/__tests__/__snapshots__/password.spec.js.snap +4 -0
- package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap +23 -0
- package/lib/components/ProductImageCarousel/__tests__/__snapshots__/carousel.spec.js.snap +8 -0
- package/lib/components/ProductSort/__tests__/__snapshots__/productSort.spec.js.snap +2 -0
- package/lib/components/RobotsMeta/robotsMeta.gql.js +10 -0
- package/lib/components/RobotsMeta/robotsMeta.js +26 -0
- package/lib/components/SavedPaymentsPage/__tests__/__snapshots__/creditCard.spec.js.snap +9 -0
- package/lib/components/Wishlist/AddToListButton/__tests__/__snapshots__/addToListButton.ce.spec.js.snap +4 -0
- package/lib/components/Wishlist/AddToListButton/__tests__/__snapshots__/addToListButton.ee.spec.js.snap +6 -0
- package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/__tests__/__snapshots__/createWishlistForm.spec.js.snap +7 -0
- package/package.json +2 -2
package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap
CHANGED
|
@@ -106,6 +106,7 @@ exports[`it disables the add to cart button when the talon indicates 1`] = `
|
|
|
106
106
|
aria-disabled={true}
|
|
107
107
|
aria-label=""
|
|
108
108
|
className="root_highPriority"
|
|
109
|
+
data-react-aria-pressable={true}
|
|
109
110
|
disabled={true}
|
|
110
111
|
onClick={[Function]}
|
|
111
112
|
onDragStart={[Function]}
|
|
@@ -257,6 +258,7 @@ exports[`it does not render options if the product is not a ConfigurableProduct
|
|
|
257
258
|
aria-disabled={false}
|
|
258
259
|
aria-label=""
|
|
259
260
|
className="root_highPriority"
|
|
261
|
+
data-react-aria-pressable={true}
|
|
260
262
|
disabled={false}
|
|
261
263
|
onClick={[Function]}
|
|
262
264
|
onDragStart={[Function]}
|
|
@@ -269,6 +271,7 @@ exports[`it does not render options if the product is not a ConfigurableProduct
|
|
|
269
271
|
onTouchEnd={[Function]}
|
|
270
272
|
onTouchMove={[Function]}
|
|
271
273
|
onTouchStart={[Function]}
|
|
274
|
+
tabIndex={0}
|
|
272
275
|
type="submit"
|
|
273
276
|
>
|
|
274
277
|
<span
|
|
@@ -444,6 +447,7 @@ exports[`it renders an error for an invalid cart 1`] = `
|
|
|
444
447
|
aria-disabled={false}
|
|
445
448
|
aria-label=""
|
|
446
449
|
className="root_highPriority"
|
|
450
|
+
data-react-aria-pressable={true}
|
|
447
451
|
disabled={false}
|
|
448
452
|
onClick={[Function]}
|
|
449
453
|
onDragStart={[Function]}
|
|
@@ -456,6 +460,7 @@ exports[`it renders an error for an invalid cart 1`] = `
|
|
|
456
460
|
onTouchEnd={[Function]}
|
|
457
461
|
onTouchMove={[Function]}
|
|
458
462
|
onTouchStart={[Function]}
|
|
463
|
+
tabIndex={0}
|
|
459
464
|
type="submit"
|
|
460
465
|
>
|
|
461
466
|
<span
|
|
@@ -631,6 +636,7 @@ exports[`it renders an error for an invalid user token when adding to cart 1`] =
|
|
|
631
636
|
aria-disabled={false}
|
|
632
637
|
aria-label=""
|
|
633
638
|
className="root_highPriority"
|
|
639
|
+
data-react-aria-pressable={true}
|
|
634
640
|
disabled={false}
|
|
635
641
|
onClick={[Function]}
|
|
636
642
|
onDragStart={[Function]}
|
|
@@ -643,6 +649,7 @@ exports[`it renders an error for an invalid user token when adding to cart 1`] =
|
|
|
643
649
|
onTouchEnd={[Function]}
|
|
644
650
|
onTouchMove={[Function]}
|
|
645
651
|
onTouchStart={[Function]}
|
|
652
|
+
tabIndex={0}
|
|
646
653
|
type="submit"
|
|
647
654
|
>
|
|
648
655
|
<span
|
|
@@ -819,6 +826,7 @@ Array [
|
|
|
819
826
|
aria-disabled={false}
|
|
820
827
|
aria-label=""
|
|
821
828
|
className="root_highPriority"
|
|
829
|
+
data-react-aria-pressable={true}
|
|
822
830
|
disabled={false}
|
|
823
831
|
onClick={[Function]}
|
|
824
832
|
onDragStart={[Function]}
|
|
@@ -831,6 +839,7 @@ Array [
|
|
|
831
839
|
onTouchEnd={[Function]}
|
|
832
840
|
onTouchMove={[Function]}
|
|
833
841
|
onTouchStart={[Function]}
|
|
842
|
+
tabIndex={0}
|
|
834
843
|
type="submit"
|
|
835
844
|
>
|
|
836
845
|
<span
|
|
@@ -1003,6 +1012,7 @@ exports[`it renders correctly 1`] = `
|
|
|
1003
1012
|
aria-disabled={false}
|
|
1004
1013
|
aria-label=""
|
|
1005
1014
|
className="root_highPriority"
|
|
1015
|
+
data-react-aria-pressable={true}
|
|
1006
1016
|
disabled={false}
|
|
1007
1017
|
onClick={[Function]}
|
|
1008
1018
|
onDragStart={[Function]}
|
|
@@ -1015,6 +1025,7 @@ exports[`it renders correctly 1`] = `
|
|
|
1015
1025
|
onTouchEnd={[Function]}
|
|
1016
1026
|
onTouchMove={[Function]}
|
|
1017
1027
|
onTouchStart={[Function]}
|
|
1028
|
+
tabIndex={0}
|
|
1018
1029
|
type="submit"
|
|
1019
1030
|
>
|
|
1020
1031
|
<span
|
|
@@ -1186,6 +1197,7 @@ exports[`it renders field level errors for quantity - message 1 1`] = `
|
|
|
1186
1197
|
aria-disabled={false}
|
|
1187
1198
|
aria-label=""
|
|
1188
1199
|
className="root_highPriority"
|
|
1200
|
+
data-react-aria-pressable={true}
|
|
1189
1201
|
disabled={false}
|
|
1190
1202
|
onClick={[Function]}
|
|
1191
1203
|
onDragStart={[Function]}
|
|
@@ -1198,6 +1210,7 @@ exports[`it renders field level errors for quantity - message 1 1`] = `
|
|
|
1198
1210
|
onTouchEnd={[Function]}
|
|
1199
1211
|
onTouchMove={[Function]}
|
|
1200
1212
|
onTouchStart={[Function]}
|
|
1213
|
+
tabIndex={0}
|
|
1201
1214
|
type="submit"
|
|
1202
1215
|
>
|
|
1203
1216
|
<span
|
|
@@ -1369,6 +1382,7 @@ exports[`it renders field level errors for quantity - message 2 1`] = `
|
|
|
1369
1382
|
aria-disabled={false}
|
|
1370
1383
|
aria-label=""
|
|
1371
1384
|
className="root_highPriority"
|
|
1385
|
+
data-react-aria-pressable={true}
|
|
1372
1386
|
disabled={false}
|
|
1373
1387
|
onClick={[Function]}
|
|
1374
1388
|
onDragStart={[Function]}
|
|
@@ -1381,6 +1395,7 @@ exports[`it renders field level errors for quantity - message 2 1`] = `
|
|
|
1381
1395
|
onTouchEnd={[Function]}
|
|
1382
1396
|
onTouchMove={[Function]}
|
|
1383
1397
|
onTouchStart={[Function]}
|
|
1398
|
+
tabIndex={0}
|
|
1384
1399
|
type="submit"
|
|
1385
1400
|
>
|
|
1386
1401
|
<span
|
|
@@ -1552,6 +1567,7 @@ exports[`it renders field level errors for quantity - message 3 1`] = `
|
|
|
1552
1567
|
aria-disabled={false}
|
|
1553
1568
|
aria-label=""
|
|
1554
1569
|
className="root_highPriority"
|
|
1570
|
+
data-react-aria-pressable={true}
|
|
1555
1571
|
disabled={false}
|
|
1556
1572
|
onClick={[Function]}
|
|
1557
1573
|
onDragStart={[Function]}
|
|
@@ -1564,6 +1580,7 @@ exports[`it renders field level errors for quantity - message 3 1`] = `
|
|
|
1564
1580
|
onTouchEnd={[Function]}
|
|
1565
1581
|
onTouchMove={[Function]}
|
|
1566
1582
|
onTouchStart={[Function]}
|
|
1583
|
+
tabIndex={0}
|
|
1567
1584
|
type="submit"
|
|
1568
1585
|
>
|
|
1569
1586
|
<span
|
|
@@ -1739,6 +1756,7 @@ exports[`it renders form level errors 1`] = `
|
|
|
1739
1756
|
aria-disabled={false}
|
|
1740
1757
|
aria-label=""
|
|
1741
1758
|
className="root_highPriority"
|
|
1759
|
+
data-react-aria-pressable={true}
|
|
1742
1760
|
disabled={false}
|
|
1743
1761
|
onClick={[Function]}
|
|
1744
1762
|
onDragStart={[Function]}
|
|
@@ -1751,6 +1769,7 @@ exports[`it renders form level errors 1`] = `
|
|
|
1751
1769
|
onTouchEnd={[Function]}
|
|
1752
1770
|
onTouchMove={[Function]}
|
|
1753
1771
|
onTouchStart={[Function]}
|
|
1772
|
+
tabIndex={0}
|
|
1754
1773
|
type="submit"
|
|
1755
1774
|
>
|
|
1756
1775
|
<span
|
|
@@ -1922,6 +1941,7 @@ exports[`it renders message with everything out of stock 1`] = `
|
|
|
1922
1941
|
aria-disabled={true}
|
|
1923
1942
|
aria-label="This item is currently out of stock"
|
|
1924
1943
|
className="root_highPriority"
|
|
1944
|
+
data-react-aria-pressable={true}
|
|
1925
1945
|
disabled={true}
|
|
1926
1946
|
onClick={[Function]}
|
|
1927
1947
|
onDragStart={[Function]}
|
|
@@ -2264,6 +2284,7 @@ exports[`out of stock disabled CTA button is rendered if out of stock 1`] = `
|
|
|
2264
2284
|
aria-disabled={true}
|
|
2265
2285
|
aria-label=""
|
|
2266
2286
|
className="root_highPriority"
|
|
2287
|
+
data-react-aria-pressable={true}
|
|
2267
2288
|
disabled={true}
|
|
2268
2289
|
onClick={[Function]}
|
|
2269
2290
|
onDragStart={[Function]}
|
|
@@ -2447,6 +2468,7 @@ exports[`renders a WishlistButton with props 1`] = `
|
|
|
2447
2468
|
aria-disabled={false}
|
|
2448
2469
|
aria-label=""
|
|
2449
2470
|
className="root_highPriority"
|
|
2471
|
+
data-react-aria-pressable={true}
|
|
2450
2472
|
disabled={false}
|
|
2451
2473
|
onClick={[Function]}
|
|
2452
2474
|
onDragStart={[Function]}
|
|
@@ -2459,6 +2481,7 @@ exports[`renders a WishlistButton with props 1`] = `
|
|
|
2459
2481
|
onTouchEnd={[Function]}
|
|
2460
2482
|
onTouchMove={[Function]}
|
|
2461
2483
|
onTouchStart={[Function]}
|
|
2484
|
+
tabIndex={0}
|
|
2462
2485
|
type="submit"
|
|
2463
2486
|
>
|
|
2464
2487
|
<span
|
|
@@ -10,6 +10,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
10
10
|
<button
|
|
11
11
|
aria-label="Previous Image"
|
|
12
12
|
className="previousButton"
|
|
13
|
+
data-react-aria-pressable={true}
|
|
13
14
|
onClick={[Function]}
|
|
14
15
|
onDragStart={[Function]}
|
|
15
16
|
onKeyDown={[Function]}
|
|
@@ -21,6 +22,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
21
22
|
onTouchEnd={[Function]}
|
|
22
23
|
onTouchMove={[Function]}
|
|
23
24
|
onTouchStart={[Function]}
|
|
25
|
+
tabIndex={0}
|
|
24
26
|
type="button"
|
|
25
27
|
>
|
|
26
28
|
<span
|
|
@@ -68,6 +70,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
68
70
|
<button
|
|
69
71
|
aria-label="Next Image"
|
|
70
72
|
className="nextButton"
|
|
73
|
+
data-react-aria-pressable={true}
|
|
71
74
|
onClick={[Function]}
|
|
72
75
|
onDragStart={[Function]}
|
|
73
76
|
onKeyDown={[Function]}
|
|
@@ -79,6 +82,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
79
82
|
onTouchEnd={[Function]}
|
|
80
83
|
onTouchMove={[Function]}
|
|
81
84
|
onTouchStart={[Function]}
|
|
85
|
+
tabIndex={0}
|
|
82
86
|
type="button"
|
|
83
87
|
>
|
|
84
88
|
<span
|
|
@@ -119,6 +123,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
119
123
|
<button
|
|
120
124
|
aria-label="Previous Image"
|
|
121
125
|
className="previousButton"
|
|
126
|
+
data-react-aria-pressable={true}
|
|
122
127
|
onClick={[Function]}
|
|
123
128
|
onDragStart={[Function]}
|
|
124
129
|
onKeyDown={[Function]}
|
|
@@ -130,6 +135,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
130
135
|
onTouchEnd={[Function]}
|
|
131
136
|
onTouchMove={[Function]}
|
|
132
137
|
onTouchStart={[Function]}
|
|
138
|
+
tabIndex={0}
|
|
133
139
|
type="button"
|
|
134
140
|
>
|
|
135
141
|
<span
|
|
@@ -198,6 +204,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
198
204
|
<button
|
|
199
205
|
aria-label="Next Image"
|
|
200
206
|
className="nextButton"
|
|
207
|
+
data-react-aria-pressable={true}
|
|
201
208
|
onClick={[Function]}
|
|
202
209
|
onDragStart={[Function]}
|
|
203
210
|
onKeyDown={[Function]}
|
|
@@ -209,6 +216,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
209
216
|
onTouchEnd={[Function]}
|
|
210
217
|
onTouchMove={[Function]}
|
|
211
218
|
onTouchStart={[Function]}
|
|
219
|
+
tabIndex={0}
|
|
212
220
|
type="button"
|
|
213
221
|
>
|
|
214
222
|
<span
|
|
@@ -6,6 +6,7 @@ exports[`renders correctly 1`] = `
|
|
|
6
6
|
>
|
|
7
7
|
<button
|
|
8
8
|
aria-label="Sort Button Collapsed"
|
|
9
|
+
data-react-aria-pressable={true}
|
|
9
10
|
disabled={false}
|
|
10
11
|
onClick={[Function]}
|
|
11
12
|
onDragStart={[Function]}
|
|
@@ -18,6 +19,7 @@ exports[`renders correctly 1`] = `
|
|
|
18
19
|
onTouchEnd={[Function]}
|
|
19
20
|
onTouchMove={[Function]}
|
|
20
21
|
onTouchStart={[Function]}
|
|
22
|
+
tabIndex={0}
|
|
21
23
|
type="button"
|
|
22
24
|
>
|
|
23
25
|
<span>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useQuery } from '@apollo/client';
|
|
3
|
+
import { Helmet } from 'react-helmet-async';
|
|
4
|
+
import { GET_ROBOTS_CONFIG } from './robotsMeta.gql';
|
|
5
|
+
|
|
6
|
+
const RobotsMeta = () => {
|
|
7
|
+
const { data, loading, error } = useQuery(GET_ROBOTS_CONFIG);
|
|
8
|
+
|
|
9
|
+
if (loading || error) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const robots = data?.robotsConfig?.defaultRobots;
|
|
14
|
+
|
|
15
|
+
if (!robots) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Helmet>
|
|
21
|
+
<meta name="robots" content={robots} />
|
|
22
|
+
</Helmet>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default RobotsMeta;
|
|
@@ -27,6 +27,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
27
27
|
>
|
|
28
28
|
<button
|
|
29
29
|
className="root_normalPriority"
|
|
30
|
+
data-react-aria-pressable={true}
|
|
30
31
|
disabled={true}
|
|
31
32
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
32
33
|
onDragStart={[Function]}
|
|
@@ -95,6 +96,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
95
96
|
>
|
|
96
97
|
<button
|
|
97
98
|
className="root_normalPriorityNegative"
|
|
99
|
+
data-react-aria-pressable={true}
|
|
98
100
|
disabled={true}
|
|
99
101
|
onClick={[MockFunction handleDeletePayment]}
|
|
100
102
|
onDragStart={[Function]}
|
|
@@ -120,6 +122,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
120
122
|
</button>
|
|
121
123
|
<button
|
|
122
124
|
className="root_lowPriority"
|
|
125
|
+
data-react-aria-pressable={true}
|
|
123
126
|
disabled={true}
|
|
124
127
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
125
128
|
onDragStart={[Function]}
|
|
@@ -196,6 +199,7 @@ exports[`should render properly 1`] = `
|
|
|
196
199
|
>
|
|
197
200
|
<button
|
|
198
201
|
className="root_normalPriority"
|
|
202
|
+
data-react-aria-pressable={true}
|
|
199
203
|
disabled={false}
|
|
200
204
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
201
205
|
onDragStart={[Function]}
|
|
@@ -208,6 +212,7 @@ exports[`should render properly 1`] = `
|
|
|
208
212
|
onTouchEnd={[Function]}
|
|
209
213
|
onTouchMove={[Function]}
|
|
210
214
|
onTouchStart={[Function]}
|
|
215
|
+
tabIndex={0}
|
|
211
216
|
type="button"
|
|
212
217
|
>
|
|
213
218
|
<span
|
|
@@ -264,6 +269,7 @@ exports[`should render properly 1`] = `
|
|
|
264
269
|
>
|
|
265
270
|
<button
|
|
266
271
|
className="root_normalPriorityNegative"
|
|
272
|
+
data-react-aria-pressable={true}
|
|
267
273
|
disabled={false}
|
|
268
274
|
onClick={[MockFunction handleDeletePayment]}
|
|
269
275
|
onDragStart={[Function]}
|
|
@@ -276,6 +282,7 @@ exports[`should render properly 1`] = `
|
|
|
276
282
|
onTouchEnd={[Function]}
|
|
277
283
|
onTouchMove={[Function]}
|
|
278
284
|
onTouchStart={[Function]}
|
|
285
|
+
tabIndex={0}
|
|
279
286
|
type="button"
|
|
280
287
|
>
|
|
281
288
|
<span
|
|
@@ -289,6 +296,7 @@ exports[`should render properly 1`] = `
|
|
|
289
296
|
</button>
|
|
290
297
|
<button
|
|
291
298
|
className="root_lowPriority"
|
|
299
|
+
data-react-aria-pressable={true}
|
|
292
300
|
disabled={false}
|
|
293
301
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
294
302
|
onDragStart={[Function]}
|
|
@@ -301,6 +309,7 @@ exports[`should render properly 1`] = `
|
|
|
301
309
|
onTouchEnd={[Function]}
|
|
302
310
|
onTouchMove={[Function]}
|
|
303
311
|
onTouchStart={[Function]}
|
|
312
|
+
tabIndex={0}
|
|
304
313
|
type="button"
|
|
305
314
|
>
|
|
306
315
|
<span
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
exports[`renders button 1`] = `
|
|
4
4
|
<button
|
|
5
5
|
className="root"
|
|
6
|
+
data-react-aria-pressable={true}
|
|
6
7
|
onClick={[Function]}
|
|
7
8
|
onDragStart={[Function]}
|
|
8
9
|
onKeyDown={[Function]}
|
|
@@ -14,6 +15,7 @@ exports[`renders button 1`] = `
|
|
|
14
15
|
onTouchEnd={[Function]}
|
|
15
16
|
onTouchMove={[Function]}
|
|
16
17
|
onTouchStart={[Function]}
|
|
18
|
+
tabIndex={0}
|
|
17
19
|
type="button"
|
|
18
20
|
>
|
|
19
21
|
<span
|
|
@@ -43,6 +45,7 @@ exports[`renders button 1`] = `
|
|
|
43
45
|
exports[`renders selected button 1`] = `
|
|
44
46
|
<button
|
|
45
47
|
className="root_selected"
|
|
48
|
+
data-react-aria-pressable={true}
|
|
46
49
|
onClick={[Function]}
|
|
47
50
|
onDragStart={[Function]}
|
|
48
51
|
onKeyDown={[Function]}
|
|
@@ -54,6 +57,7 @@ exports[`renders selected button 1`] = `
|
|
|
54
57
|
onTouchEnd={[Function]}
|
|
55
58
|
onTouchMove={[Function]}
|
|
56
59
|
onTouchStart={[Function]}
|
|
60
|
+
tabIndex={0}
|
|
57
61
|
type="button"
|
|
58
62
|
>
|
|
59
63
|
<span
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
exports[`renders button 1`] = `
|
|
4
4
|
<button
|
|
5
5
|
className="root"
|
|
6
|
+
data-react-aria-pressable={true}
|
|
6
7
|
onClick={[Function]}
|
|
7
8
|
onDragStart={[Function]}
|
|
8
9
|
onKeyDown={[Function]}
|
|
@@ -14,6 +15,7 @@ exports[`renders button 1`] = `
|
|
|
14
15
|
onTouchEnd={[Function]}
|
|
15
16
|
onTouchMove={[Function]}
|
|
16
17
|
onTouchStart={[Function]}
|
|
18
|
+
tabIndex={0}
|
|
17
19
|
type="button"
|
|
18
20
|
>
|
|
19
21
|
<span
|
|
@@ -43,6 +45,7 @@ exports[`renders button 1`] = `
|
|
|
43
45
|
exports[`renders selected button 1`] = `
|
|
44
46
|
<button
|
|
45
47
|
className="root_selected"
|
|
48
|
+
data-react-aria-pressable={true}
|
|
46
49
|
onClick={[Function]}
|
|
47
50
|
onDragStart={[Function]}
|
|
48
51
|
onKeyDown={[Function]}
|
|
@@ -54,6 +57,7 @@ exports[`renders selected button 1`] = `
|
|
|
54
57
|
onTouchEnd={[Function]}
|
|
55
58
|
onTouchMove={[Function]}
|
|
56
59
|
onTouchStart={[Function]}
|
|
60
|
+
tabIndex={0}
|
|
57
61
|
type="button"
|
|
58
62
|
>
|
|
59
63
|
<span
|
|
@@ -84,6 +88,7 @@ exports[`renders wishlist dialog with modal props 1`] = `
|
|
|
84
88
|
Array [
|
|
85
89
|
<button
|
|
86
90
|
className="root"
|
|
91
|
+
data-react-aria-pressable={true}
|
|
87
92
|
onClick={[Function]}
|
|
88
93
|
onDragStart={[Function]}
|
|
89
94
|
onKeyDown={[Function]}
|
|
@@ -95,6 +100,7 @@ Array [
|
|
|
95
100
|
onTouchEnd={[Function]}
|
|
96
101
|
onTouchMove={[Function]}
|
|
97
102
|
onTouchStart={[Function]}
|
|
103
|
+
tabIndex={0}
|
|
98
104
|
type="button"
|
|
99
105
|
>
|
|
100
106
|
<span
|
|
@@ -56,6 +56,7 @@ exports[`disables save if isSaveDisabled is true 1`] = `
|
|
|
56
56
|
>
|
|
57
57
|
<button
|
|
58
58
|
className="root_lowPriority"
|
|
59
|
+
data-react-aria-pressable={true}
|
|
59
60
|
disabled={false}
|
|
60
61
|
onClick={[MockFunction]}
|
|
61
62
|
onDragStart={[Function]}
|
|
@@ -68,6 +69,7 @@ exports[`disables save if isSaveDisabled is true 1`] = `
|
|
|
68
69
|
onTouchEnd={[Function]}
|
|
69
70
|
onTouchMove={[Function]}
|
|
70
71
|
onTouchStart={[Function]}
|
|
72
|
+
tabIndex={0}
|
|
71
73
|
type="reset"
|
|
72
74
|
>
|
|
73
75
|
<span
|
|
@@ -78,6 +80,7 @@ exports[`disables save if isSaveDisabled is true 1`] = `
|
|
|
78
80
|
</button>
|
|
79
81
|
<button
|
|
80
82
|
className="root_highPriority"
|
|
83
|
+
data-react-aria-pressable={true}
|
|
81
84
|
disabled={true}
|
|
82
85
|
onClick={[MockFunction]}
|
|
83
86
|
onDragStart={[Function]}
|
|
@@ -158,6 +161,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
158
161
|
>
|
|
159
162
|
<button
|
|
160
163
|
className="root_lowPriority"
|
|
164
|
+
data-react-aria-pressable={true}
|
|
161
165
|
disabled={false}
|
|
162
166
|
onClick={[MockFunction]}
|
|
163
167
|
onDragStart={[Function]}
|
|
@@ -170,6 +174,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
170
174
|
onTouchEnd={[Function]}
|
|
171
175
|
onTouchMove={[Function]}
|
|
172
176
|
onTouchStart={[Function]}
|
|
177
|
+
tabIndex={0}
|
|
173
178
|
type="reset"
|
|
174
179
|
>
|
|
175
180
|
<span
|
|
@@ -180,6 +185,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
180
185
|
</button>
|
|
181
186
|
<button
|
|
182
187
|
className="root_highPriority"
|
|
188
|
+
data-react-aria-pressable={true}
|
|
183
189
|
disabled={false}
|
|
184
190
|
onClick={[MockFunction]}
|
|
185
191
|
onDragStart={[Function]}
|
|
@@ -192,6 +198,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
192
198
|
onTouchEnd={[Function]}
|
|
193
199
|
onTouchMove={[Function]}
|
|
194
200
|
onTouchStart={[Function]}
|
|
201
|
+
tabIndex={0}
|
|
195
202
|
type="button"
|
|
196
203
|
>
|
|
197
204
|
<span
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magento/venia-ui",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.2-alpha3",
|
|
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.3.3",
|
|
83
|
-
"@magento/peregrine": "
|
|
83
|
+
"@magento/peregrine": "15.7.2-alpha3",
|
|
84
84
|
"@magento/pwa-buildpack": "~11.5.5",
|
|
85
85
|
"apollo-cache-persist": "~0.1.1",
|
|
86
86
|
"braintree-web-drop-in": "~1.43.0",
|