@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/CheckoutPage/GuestSignIn/__tests__/__snapshots__/guestSignIn.spec.js.snap
CHANGED
|
@@ -27,6 +27,7 @@ exports[`renders CreateAccount component 1`] = `
|
|
|
27
27
|
/>
|
|
28
28
|
<button
|
|
29
29
|
className="root_normalPriority"
|
|
30
|
+
data-react-aria-pressable={true}
|
|
30
31
|
disabled={false}
|
|
31
32
|
onClick={[MockFunction handleBackToCheckout]}
|
|
32
33
|
onDragStart={[Function]}
|
|
@@ -39,6 +40,7 @@ exports[`renders CreateAccount component 1`] = `
|
|
|
39
40
|
onTouchEnd={[Function]}
|
|
40
41
|
onTouchMove={[Function]}
|
|
41
42
|
onTouchStart={[Function]}
|
|
43
|
+
tabIndex={0}
|
|
42
44
|
type="button"
|
|
43
45
|
>
|
|
44
46
|
<span
|
|
@@ -80,6 +82,7 @@ exports[`renders ForgotPassword component 1`] = `
|
|
|
80
82
|
/>
|
|
81
83
|
<button
|
|
82
84
|
className="root_normalPriority"
|
|
85
|
+
data-react-aria-pressable={true}
|
|
83
86
|
disabled={false}
|
|
84
87
|
onClick={[MockFunction handleBackToCheckout]}
|
|
85
88
|
onDragStart={[Function]}
|
|
@@ -92,6 +95,7 @@ exports[`renders ForgotPassword component 1`] = `
|
|
|
92
95
|
onTouchEnd={[Function]}
|
|
93
96
|
onTouchMove={[Function]}
|
|
94
97
|
onTouchStart={[Function]}
|
|
98
|
+
tabIndex={0}
|
|
95
99
|
type="button"
|
|
96
100
|
>
|
|
97
101
|
<span
|
|
@@ -135,6 +139,7 @@ exports[`renders SignIn component 2`] = `
|
|
|
135
139
|
/>
|
|
136
140
|
<button
|
|
137
141
|
className="root_normalPriority"
|
|
142
|
+
data-react-aria-pressable={true}
|
|
138
143
|
disabled={false}
|
|
139
144
|
onClick={[MockFunction handleBackToCheckout]}
|
|
140
145
|
onDragStart={[Function]}
|
|
@@ -147,6 +152,7 @@ exports[`renders SignIn component 2`] = `
|
|
|
147
152
|
onTouchEnd={[Function]}
|
|
148
153
|
onTouchMove={[Function]}
|
|
149
154
|
onTouchStart={[Function]}
|
|
155
|
+
tabIndex={0}
|
|
150
156
|
type="button"
|
|
151
157
|
>
|
|
152
158
|
<span
|
|
@@ -196,6 +196,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
|
|
|
196
196
|
>
|
|
197
197
|
<button
|
|
198
198
|
className="passwordButton"
|
|
199
|
+
data-react-aria-pressable={true}
|
|
199
200
|
disabled={false}
|
|
200
201
|
onClick={[Function]}
|
|
201
202
|
onDragStart={[Function]}
|
|
@@ -208,6 +209,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
|
|
|
208
209
|
onTouchEnd={[Function]}
|
|
209
210
|
onTouchMove={[Function]}
|
|
210
211
|
onTouchStart={[Function]}
|
|
212
|
+
tabIndex={0}
|
|
211
213
|
type="button"
|
|
212
214
|
>
|
|
213
215
|
<span
|
|
@@ -298,6 +300,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
|
|
|
298
300
|
>
|
|
299
301
|
<button
|
|
300
302
|
className="create_account_button"
|
|
303
|
+
data-react-aria-pressable={true}
|
|
301
304
|
disabled={false}
|
|
302
305
|
onClick={[Function]}
|
|
303
306
|
onDragStart={[Function]}
|
|
@@ -310,6 +313,7 @@ exports[`CreateAccount renders CreateAccount component 1`] = `
|
|
|
310
313
|
onTouchEnd={[Function]}
|
|
311
314
|
onTouchMove={[Function]}
|
|
312
315
|
onTouchStart={[Function]}
|
|
316
|
+
tabIndex={0}
|
|
313
317
|
type="submit"
|
|
314
318
|
>
|
|
315
319
|
<span
|
|
@@ -526,6 +530,7 @@ exports[`CreateAccount renders errors 1`] = `
|
|
|
526
530
|
>
|
|
527
531
|
<button
|
|
528
532
|
className="passwordButton"
|
|
533
|
+
data-react-aria-pressable={true}
|
|
529
534
|
disabled={false}
|
|
530
535
|
onClick={[Function]}
|
|
531
536
|
onDragStart={[Function]}
|
|
@@ -538,6 +543,7 @@ exports[`CreateAccount renders errors 1`] = `
|
|
|
538
543
|
onTouchEnd={[Function]}
|
|
539
544
|
onTouchMove={[Function]}
|
|
540
545
|
onTouchStart={[Function]}
|
|
546
|
+
tabIndex={0}
|
|
541
547
|
type="button"
|
|
542
548
|
>
|
|
543
549
|
<span
|
|
@@ -628,6 +634,7 @@ exports[`CreateAccount renders errors 1`] = `
|
|
|
628
634
|
>
|
|
629
635
|
<button
|
|
630
636
|
className="create_account_button"
|
|
637
|
+
data-react-aria-pressable={true}
|
|
631
638
|
disabled={false}
|
|
632
639
|
onClick={[Function]}
|
|
633
640
|
onDragStart={[Function]}
|
|
@@ -640,6 +647,7 @@ exports[`CreateAccount renders errors 1`] = `
|
|
|
640
647
|
onTouchEnd={[Function]}
|
|
641
648
|
onTouchMove={[Function]}
|
|
642
649
|
onTouchStart={[Function]}
|
|
650
|
+
tabIndex={0}
|
|
643
651
|
type="submit"
|
|
644
652
|
>
|
|
645
653
|
<span
|
|
@@ -17,6 +17,7 @@ exports[`Should not render billing address if it is same as shipping address 1`]
|
|
|
17
17
|
</h5>
|
|
18
18
|
<button
|
|
19
19
|
className="edit_button"
|
|
20
|
+
data-react-aria-pressable={true}
|
|
20
21
|
disabled={false}
|
|
21
22
|
onDragStart={[Function]}
|
|
22
23
|
onKeyDown={[Function]}
|
|
@@ -28,6 +29,7 @@ exports[`Should not render billing address if it is same as shipping address 1`]
|
|
|
28
29
|
onTouchEnd={[Function]}
|
|
29
30
|
onTouchMove={[Function]}
|
|
30
31
|
onTouchStart={[Function]}
|
|
32
|
+
tabIndex={0}
|
|
31
33
|
type="button"
|
|
32
34
|
>
|
|
33
35
|
<span
|
|
@@ -135,6 +137,7 @@ exports[`Should render billing address if it is not same as shipping address 1`]
|
|
|
135
137
|
</h5>
|
|
136
138
|
<button
|
|
137
139
|
className="edit_button"
|
|
140
|
+
data-react-aria-pressable={true}
|
|
138
141
|
disabled={false}
|
|
139
142
|
onDragStart={[Function]}
|
|
140
143
|
onKeyDown={[Function]}
|
|
@@ -146,6 +149,7 @@ exports[`Should render billing address if it is not same as shipping address 1`]
|
|
|
146
149
|
onTouchEnd={[Function]}
|
|
147
150
|
onTouchMove={[Function]}
|
|
148
151
|
onTouchStart={[Function]}
|
|
152
|
+
tabIndex={0}
|
|
149
153
|
type="button"
|
|
150
154
|
>
|
|
151
155
|
<span
|
|
@@ -269,6 +273,7 @@ exports[`should render 1`] = `
|
|
|
269
273
|
</h5>
|
|
270
274
|
<button
|
|
271
275
|
className="edit_button"
|
|
276
|
+
data-react-aria-pressable={true}
|
|
272
277
|
disabled={false}
|
|
273
278
|
onDragStart={[Function]}
|
|
274
279
|
onKeyDown={[Function]}
|
|
@@ -280,6 +285,7 @@ exports[`should render 1`] = `
|
|
|
280
285
|
onTouchEnd={[Function]}
|
|
281
286
|
onTouchMove={[Function]}
|
|
282
287
|
onTouchStart={[Function]}
|
|
288
|
+
tabIndex={0}
|
|
283
289
|
type="button"
|
|
284
290
|
>
|
|
285
291
|
<span
|
|
@@ -504,6 +504,7 @@ Array [
|
|
|
504
504
|
>
|
|
505
505
|
<button
|
|
506
506
|
className="root_lowPriority"
|
|
507
|
+
data-react-aria-pressable={true}
|
|
507
508
|
disabled={true}
|
|
508
509
|
onClick={[MockFunction handleCancel]}
|
|
509
510
|
onDragStart={[Function]}
|
|
@@ -529,6 +530,7 @@ Array [
|
|
|
529
530
|
</button>
|
|
530
531
|
<button
|
|
531
532
|
className="root_highPriority"
|
|
533
|
+
data-react-aria-pressable={true}
|
|
532
534
|
disabled={true}
|
|
533
535
|
onClick={[Function]}
|
|
534
536
|
onDragStart={[Function]}
|
|
@@ -976,6 +978,7 @@ Array [
|
|
|
976
978
|
>
|
|
977
979
|
<button
|
|
978
980
|
className="root_lowPriority"
|
|
981
|
+
data-react-aria-pressable={true}
|
|
979
982
|
disabled={false}
|
|
980
983
|
onClick={[MockFunction handleCancel]}
|
|
981
984
|
onDragStart={[Function]}
|
|
@@ -988,6 +991,7 @@ Array [
|
|
|
988
991
|
onTouchEnd={[Function]}
|
|
989
992
|
onTouchMove={[Function]}
|
|
990
993
|
onTouchStart={[Function]}
|
|
994
|
+
tabIndex={0}
|
|
991
995
|
type="button"
|
|
992
996
|
>
|
|
993
997
|
<span
|
|
@@ -1001,6 +1005,7 @@ Array [
|
|
|
1001
1005
|
</button>
|
|
1002
1006
|
<button
|
|
1003
1007
|
className="root_highPriority"
|
|
1008
|
+
data-react-aria-pressable={true}
|
|
1004
1009
|
disabled={false}
|
|
1005
1010
|
onClick={[Function]}
|
|
1006
1011
|
onDragStart={[Function]}
|
|
@@ -1013,6 +1018,7 @@ Array [
|
|
|
1013
1018
|
onTouchEnd={[Function]}
|
|
1014
1019
|
onTouchMove={[Function]}
|
|
1015
1020
|
onTouchStart={[Function]}
|
|
1021
|
+
tabIndex={0}
|
|
1016
1022
|
type="submit"
|
|
1017
1023
|
>
|
|
1018
1024
|
<span
|
|
@@ -1470,6 +1476,7 @@ Array [
|
|
|
1470
1476
|
>
|
|
1471
1477
|
<button
|
|
1472
1478
|
className="root_normalPriority"
|
|
1479
|
+
data-react-aria-pressable={true}
|
|
1473
1480
|
disabled={false}
|
|
1474
1481
|
onClick={[Function]}
|
|
1475
1482
|
onDragStart={[Function]}
|
|
@@ -1482,6 +1489,7 @@ Array [
|
|
|
1482
1489
|
onTouchEnd={[Function]}
|
|
1483
1490
|
onTouchMove={[Function]}
|
|
1484
1491
|
onTouchStart={[Function]}
|
|
1492
|
+
tabIndex={0}
|
|
1485
1493
|
type="submit"
|
|
1486
1494
|
>
|
|
1487
1495
|
<span
|
|
@@ -437,6 +437,7 @@ Array [
|
|
|
437
437
|
>
|
|
438
438
|
<button
|
|
439
439
|
className="root_normalPriority"
|
|
440
|
+
data-react-aria-pressable={true}
|
|
440
441
|
disabled={false}
|
|
441
442
|
onClick={[Function]}
|
|
442
443
|
onDragStart={[Function]}
|
|
@@ -449,6 +450,7 @@ Array [
|
|
|
449
450
|
onTouchEnd={[Function]}
|
|
450
451
|
onTouchMove={[Function]}
|
|
451
452
|
onTouchStart={[Function]}
|
|
453
|
+
tabIndex={0}
|
|
452
454
|
type="submit"
|
|
453
455
|
>
|
|
454
456
|
Continue to Shipping Method
|
|
@@ -899,6 +901,7 @@ Array [
|
|
|
899
901
|
>
|
|
900
902
|
<button
|
|
901
903
|
className="root_normalPriority"
|
|
904
|
+
data-react-aria-pressable={true}
|
|
902
905
|
disabled={false}
|
|
903
906
|
onClick={[Function]}
|
|
904
907
|
onDragStart={[Function]}
|
|
@@ -911,6 +914,7 @@ Array [
|
|
|
911
914
|
onTouchEnd={[Function]}
|
|
912
915
|
onTouchMove={[Function]}
|
|
913
916
|
onTouchStart={[Function]}
|
|
917
|
+
tabIndex={0}
|
|
914
918
|
type="submit"
|
|
915
919
|
>
|
|
916
920
|
Continue to Shipping Method
|
|
@@ -1349,6 +1353,7 @@ Array [
|
|
|
1349
1353
|
>
|
|
1350
1354
|
<button
|
|
1351
1355
|
className="root_lowPriority"
|
|
1356
|
+
data-react-aria-pressable={true}
|
|
1352
1357
|
disabled={true}
|
|
1353
1358
|
onClick={[MockFunction handleCancel]}
|
|
1354
1359
|
onDragStart={[Function]}
|
|
@@ -1370,6 +1375,7 @@ Array [
|
|
|
1370
1375
|
</button>
|
|
1371
1376
|
<button
|
|
1372
1377
|
className="root_highPriority"
|
|
1378
|
+
data-react-aria-pressable={true}
|
|
1373
1379
|
disabled={true}
|
|
1374
1380
|
onClick={[Function]}
|
|
1375
1381
|
onDragStart={[Function]}
|
|
@@ -1820,6 +1826,7 @@ Array [
|
|
|
1820
1826
|
>
|
|
1821
1827
|
<button
|
|
1822
1828
|
className="root_lowPriority"
|
|
1829
|
+
data-react-aria-pressable={true}
|
|
1823
1830
|
disabled={false}
|
|
1824
1831
|
onClick={[MockFunction handleCancel]}
|
|
1825
1832
|
onDragStart={[Function]}
|
|
@@ -1832,6 +1839,7 @@ Array [
|
|
|
1832
1839
|
onTouchEnd={[Function]}
|
|
1833
1840
|
onTouchMove={[Function]}
|
|
1834
1841
|
onTouchStart={[Function]}
|
|
1842
|
+
tabIndex={0}
|
|
1835
1843
|
type="button"
|
|
1836
1844
|
>
|
|
1837
1845
|
<mock-FormattedMessage
|
|
@@ -1841,6 +1849,7 @@ Array [
|
|
|
1841
1849
|
</button>
|
|
1842
1850
|
<button
|
|
1843
1851
|
className="root_highPriority"
|
|
1852
|
+
data-react-aria-pressable={true}
|
|
1844
1853
|
disabled={false}
|
|
1845
1854
|
onClick={[Function]}
|
|
1846
1855
|
onDragStart={[Function]}
|
|
@@ -1853,6 +1862,7 @@ Array [
|
|
|
1853
1862
|
onTouchEnd={[Function]}
|
|
1854
1863
|
onTouchMove={[Function]}
|
|
1855
1864
|
onTouchStart={[Function]}
|
|
1865
|
+
tabIndex={0}
|
|
1856
1866
|
type="submit"
|
|
1857
1867
|
>
|
|
1858
1868
|
Update
|
|
@@ -17,6 +17,7 @@ exports[`renders card state with customer data 1`] = `
|
|
|
17
17
|
</h5>
|
|
18
18
|
<button
|
|
19
19
|
className="editButton"
|
|
20
|
+
data-react-aria-pressable={true}
|
|
20
21
|
disabled={false}
|
|
21
22
|
onClick={[MockFunction handleEditShipping]}
|
|
22
23
|
onDragStart={[Function]}
|
|
@@ -29,6 +30,7 @@ exports[`renders card state with customer data 1`] = `
|
|
|
29
30
|
onTouchEnd={[Function]}
|
|
30
31
|
onTouchMove={[Function]}
|
|
31
32
|
onTouchStart={[Function]}
|
|
33
|
+
tabIndex={0}
|
|
32
34
|
type="button"
|
|
33
35
|
>
|
|
34
36
|
<span
|
|
@@ -88,6 +90,7 @@ exports[`renders card state with guest data 1`] = `
|
|
|
88
90
|
</h5>
|
|
89
91
|
<button
|
|
90
92
|
className="editButton"
|
|
93
|
+
data-react-aria-pressable={true}
|
|
91
94
|
disabled={false}
|
|
92
95
|
onClick={[MockFunction handleEditShipping]}
|
|
93
96
|
onDragStart={[Function]}
|
|
@@ -100,6 +103,7 @@ exports[`renders card state with guest data 1`] = `
|
|
|
100
103
|
onTouchEnd={[Function]}
|
|
101
104
|
onTouchMove={[Function]}
|
|
102
105
|
onTouchStart={[Function]}
|
|
106
|
+
tabIndex={0}
|
|
103
107
|
type="button"
|
|
104
108
|
>
|
|
105
109
|
<span
|
|
@@ -20,6 +20,7 @@ exports[`it renders an error when selectedShippingMethod is missing 1`] = `
|
|
|
20
20
|
</h5>
|
|
21
21
|
<button
|
|
22
22
|
className="editButton"
|
|
23
|
+
data-react-aria-pressable={true}
|
|
23
24
|
disabled={false}
|
|
24
25
|
onClick={false}
|
|
25
26
|
onDragStart={[Function]}
|
|
@@ -32,6 +33,7 @@ exports[`it renders an error when selectedShippingMethod is missing 1`] = `
|
|
|
32
33
|
onTouchEnd={[Function]}
|
|
33
34
|
onTouchMove={[Function]}
|
|
34
35
|
onTouchStart={[Function]}
|
|
36
|
+
tabIndex={0}
|
|
35
37
|
type="button"
|
|
36
38
|
>
|
|
37
39
|
<span
|
|
@@ -100,6 +102,7 @@ exports[`it renders correctly 1`] = `
|
|
|
100
102
|
</h5>
|
|
101
103
|
<button
|
|
102
104
|
className="editButton"
|
|
105
|
+
data-react-aria-pressable={true}
|
|
103
106
|
disabled={false}
|
|
104
107
|
onClick={false}
|
|
105
108
|
onDragStart={[Function]}
|
|
@@ -112,6 +115,7 @@ exports[`it renders correctly 1`] = `
|
|
|
112
115
|
onTouchEnd={[Function]}
|
|
113
116
|
onTouchMove={[Function]}
|
|
114
117
|
onTouchStart={[Function]}
|
|
118
|
+
tabIndex={0}
|
|
115
119
|
type="button"
|
|
116
120
|
>
|
|
117
121
|
<span
|
|
@@ -93,6 +93,7 @@ exports[`it disables inputs when the page is updating 1`] = `
|
|
|
93
93
|
>
|
|
94
94
|
<button
|
|
95
95
|
className="root_normalPriority"
|
|
96
|
+
data-react-aria-pressable={true}
|
|
96
97
|
disabled={true}
|
|
97
98
|
onClick={[Function]}
|
|
98
99
|
onDragStart={[Function]}
|
|
@@ -210,6 +211,7 @@ exports[`it renders correctly 1`] = `
|
|
|
210
211
|
>
|
|
211
212
|
<button
|
|
212
213
|
className="root_normalPriority"
|
|
214
|
+
data-react-aria-pressable={true}
|
|
213
215
|
disabled={false}
|
|
214
216
|
onClick={[Function]}
|
|
215
217
|
onDragStart={[Function]}
|
|
@@ -222,6 +224,7 @@ exports[`it renders correctly 1`] = `
|
|
|
222
224
|
onTouchEnd={[Function]}
|
|
223
225
|
onTouchMove={[Function]}
|
|
224
226
|
onTouchStart={[Function]}
|
|
227
|
+
tabIndex={0}
|
|
225
228
|
type="submit"
|
|
226
229
|
>
|
|
227
230
|
<mock-FormattedMessage
|
package/lib/components/CheckoutPage/ShippingMethod/__tests__/__snapshots__/updateModal.spec.js.snap
CHANGED
|
@@ -158,6 +158,7 @@ exports[`it disables the submit button while loading 1`] = `
|
|
|
158
158
|
>
|
|
159
159
|
<button
|
|
160
160
|
className="root_lowPriority"
|
|
161
|
+
data-react-aria-pressable={true}
|
|
161
162
|
disabled={false}
|
|
162
163
|
onClick={[MockFunction]}
|
|
163
164
|
onDragStart={[Function]}
|
|
@@ -170,6 +171,7 @@ exports[`it disables the submit button while loading 1`] = `
|
|
|
170
171
|
onTouchEnd={[Function]}
|
|
171
172
|
onTouchMove={[Function]}
|
|
172
173
|
onTouchStart={[Function]}
|
|
174
|
+
tabIndex={0}
|
|
173
175
|
type="reset"
|
|
174
176
|
>
|
|
175
177
|
<span
|
|
@@ -183,6 +185,7 @@ exports[`it disables the submit button while loading 1`] = `
|
|
|
183
185
|
</button>
|
|
184
186
|
<button
|
|
185
187
|
className="root_highPriority"
|
|
188
|
+
data-react-aria-pressable={true}
|
|
186
189
|
disabled={true}
|
|
187
190
|
onClick={[Function]}
|
|
188
191
|
onDragStart={[Function]}
|
|
@@ -366,6 +369,7 @@ exports[`it renders correctly 1`] = `
|
|
|
366
369
|
>
|
|
367
370
|
<button
|
|
368
371
|
className="root_lowPriority"
|
|
372
|
+
data-react-aria-pressable={true}
|
|
369
373
|
disabled={false}
|
|
370
374
|
onClick={[MockFunction]}
|
|
371
375
|
onDragStart={[Function]}
|
|
@@ -378,6 +382,7 @@ exports[`it renders correctly 1`] = `
|
|
|
378
382
|
onTouchEnd={[Function]}
|
|
379
383
|
onTouchMove={[Function]}
|
|
380
384
|
onTouchStart={[Function]}
|
|
385
|
+
tabIndex={0}
|
|
381
386
|
type="reset"
|
|
382
387
|
>
|
|
383
388
|
<span
|
|
@@ -391,6 +396,7 @@ exports[`it renders correctly 1`] = `
|
|
|
391
396
|
</button>
|
|
392
397
|
<button
|
|
393
398
|
className="root_highPriority"
|
|
399
|
+
data-react-aria-pressable={true}
|
|
394
400
|
disabled={false}
|
|
395
401
|
onClick={[Function]}
|
|
396
402
|
onDragStart={[Function]}
|
|
@@ -403,6 +409,7 @@ exports[`it renders correctly 1`] = `
|
|
|
403
409
|
onTouchEnd={[Function]}
|
|
404
410
|
onTouchMove={[Function]}
|
|
405
411
|
onTouchStart={[Function]}
|
|
412
|
+
tabIndex={0}
|
|
406
413
|
type="submit"
|
|
407
414
|
>
|
|
408
415
|
<span
|
|
@@ -162,6 +162,7 @@ exports[`CheckoutPage renders an error and disables review order button if there
|
|
|
162
162
|
</span>
|
|
163
163
|
<button
|
|
164
164
|
className="signInButton"
|
|
165
|
+
data-react-aria-pressable={true}
|
|
165
166
|
disabled={false}
|
|
166
167
|
onClick={[MockFunction toggleSignInContent]}
|
|
167
168
|
onDragStart={[Function]}
|
|
@@ -174,6 +175,7 @@ exports[`CheckoutPage renders an error and disables review order button if there
|
|
|
174
175
|
onTouchEnd={[Function]}
|
|
175
176
|
onTouchMove={[Function]}
|
|
176
177
|
onTouchStart={[MockFunction toggleSignInContent]}
|
|
178
|
+
tabIndex={0}
|
|
177
179
|
type="button"
|
|
178
180
|
>
|
|
179
181
|
<span
|
|
@@ -228,6 +230,7 @@ exports[`CheckoutPage renders an error and disables review order button if there
|
|
|
228
230
|
</div>
|
|
229
231
|
<button
|
|
230
232
|
className="review_order_button"
|
|
233
|
+
data-react-aria-pressable={true}
|
|
231
234
|
disabled={true}
|
|
232
235
|
onDragStart={[Function]}
|
|
233
236
|
onMouseDown={[Function]}
|
|
@@ -526,6 +529,7 @@ exports[`CheckoutPage renders checkout content for guest on desktop 1`] = `
|
|
|
526
529
|
</span>
|
|
527
530
|
<button
|
|
528
531
|
className="signInButton"
|
|
532
|
+
data-react-aria-pressable={true}
|
|
529
533
|
disabled={false}
|
|
530
534
|
onClick={[MockFunction toggleSignInContent]}
|
|
531
535
|
onDragStart={[Function]}
|
|
@@ -538,6 +542,7 @@ exports[`CheckoutPage renders checkout content for guest on desktop 1`] = `
|
|
|
538
542
|
onTouchEnd={[Function]}
|
|
539
543
|
onTouchMove={[Function]}
|
|
540
544
|
onTouchStart={[MockFunction toggleSignInContent]}
|
|
545
|
+
tabIndex={0}
|
|
541
546
|
type="button"
|
|
542
547
|
>
|
|
543
548
|
<span
|
|
@@ -668,6 +673,7 @@ exports[`CheckoutPage renders checkout content for guest on mobile 1`] = `
|
|
|
668
673
|
</span>
|
|
669
674
|
<button
|
|
670
675
|
className="signInButton"
|
|
676
|
+
data-react-aria-pressable={true}
|
|
671
677
|
disabled={false}
|
|
672
678
|
onClick={[MockFunction toggleSignInContent]}
|
|
673
679
|
onDragStart={[Function]}
|
|
@@ -680,6 +686,7 @@ exports[`CheckoutPage renders checkout content for guest on mobile 1`] = `
|
|
|
680
686
|
onTouchEnd={[Function]}
|
|
681
687
|
onTouchMove={[Function]}
|
|
682
688
|
onTouchStart={[MockFunction toggleSignInContent]}
|
|
689
|
+
tabIndex={0}
|
|
683
690
|
type="button"
|
|
684
691
|
>
|
|
685
692
|
<span
|
package/lib/components/CommunicationsPage/__tests__/__snapshots__/communicationsPage.spec.js.snap
CHANGED
|
@@ -83,6 +83,7 @@ exports[`renders empty form without data 1`] = `
|
|
|
83
83
|
>
|
|
84
84
|
<button
|
|
85
85
|
className="root_highPriority"
|
|
86
|
+
data-react-aria-pressable={true}
|
|
86
87
|
disabled={false}
|
|
87
88
|
onClick={[Function]}
|
|
88
89
|
onDragStart={[Function]}
|
|
@@ -95,6 +96,7 @@ exports[`renders empty form without data 1`] = `
|
|
|
95
96
|
onTouchEnd={[Function]}
|
|
96
97
|
onTouchMove={[Function]}
|
|
97
98
|
onTouchStart={[Function]}
|
|
99
|
+
tabIndex={0}
|
|
98
100
|
type="submit"
|
|
99
101
|
>
|
|
100
102
|
<span
|
|
@@ -191,6 +193,7 @@ exports[`renders form error 1`] = `
|
|
|
191
193
|
>
|
|
192
194
|
<button
|
|
193
195
|
className="root_highPriority"
|
|
196
|
+
data-react-aria-pressable={true}
|
|
194
197
|
disabled={false}
|
|
195
198
|
onClick={[Function]}
|
|
196
199
|
onDragStart={[Function]}
|
|
@@ -203,6 +206,7 @@ exports[`renders form error 1`] = `
|
|
|
203
206
|
onTouchEnd={[Function]}
|
|
204
207
|
onTouchMove={[Function]}
|
|
205
208
|
onTouchStart={[Function]}
|
|
209
|
+
tabIndex={0}
|
|
206
210
|
type="submit"
|
|
207
211
|
>
|
|
208
212
|
<span
|
|
@@ -301,6 +305,7 @@ exports[`renders prefilled form with data with disabled buttons 1`] = `
|
|
|
301
305
|
>
|
|
302
306
|
<button
|
|
303
307
|
className="root_highPriority"
|
|
308
|
+
data-react-aria-pressable={true}
|
|
304
309
|
disabled={true}
|
|
305
310
|
onClick={[Function]}
|
|
306
311
|
onDragStart={[Function]}
|
|
@@ -411,6 +416,7 @@ exports[`renders prefilled form with data with enabled buttons 1`] = `
|
|
|
411
416
|
>
|
|
412
417
|
<button
|
|
413
418
|
className="root_highPriority"
|
|
419
|
+
data-react-aria-pressable={true}
|
|
414
420
|
disabled={false}
|
|
415
421
|
onClick={[Function]}
|
|
416
422
|
onDragStart={[Function]}
|
|
@@ -423,6 +429,7 @@ exports[`renders prefilled form with data with enabled buttons 1`] = `
|
|
|
423
429
|
onTouchEnd={[Function]}
|
|
424
430
|
onTouchMove={[Function]}
|
|
425
431
|
onTouchStart={[Function]}
|
|
432
|
+
tabIndex={0}
|
|
426
433
|
type="submit"
|
|
427
434
|
>
|
|
428
435
|
<span
|
|
@@ -139,6 +139,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
139
139
|
aria-hidden="false"
|
|
140
140
|
>
|
|
141
141
|
<button
|
|
142
|
+
data-react-aria-pressable={true}
|
|
142
143
|
disabled={false}
|
|
143
144
|
onClick={[Function]}
|
|
144
145
|
onDragStart={[Function]}
|
|
@@ -151,6 +152,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
151
152
|
onTouchEnd={[Function]}
|
|
152
153
|
onTouchMove={[Function]}
|
|
153
154
|
onTouchStart={[Function]}
|
|
155
|
+
tabIndex={0}
|
|
154
156
|
type="button"
|
|
155
157
|
>
|
|
156
158
|
<span>
|
|
@@ -224,6 +226,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
224
226
|
</div>
|
|
225
227
|
<div>
|
|
226
228
|
<button
|
|
229
|
+
data-react-aria-pressable={true}
|
|
227
230
|
disabled={false}
|
|
228
231
|
onClick={[Function]}
|
|
229
232
|
onDragStart={[Function]}
|
|
@@ -235,6 +238,7 @@ exports[`renders the correct tree 1`] = `
|
|
|
235
238
|
onTouchEnd={[Function]}
|
|
236
239
|
onTouchMove={[Function]}
|
|
237
240
|
onTouchStart={[Function]}
|
|
241
|
+
tabIndex={0}
|
|
238
242
|
type="submit"
|
|
239
243
|
>
|
|
240
244
|
<span>
|
|
@@ -387,6 +391,7 @@ exports[`should not render cancel button if isCancelButtonHidden is true 1`] = `
|
|
|
387
391
|
aria-hidden="false"
|
|
388
392
|
>
|
|
389
393
|
<button
|
|
394
|
+
data-react-aria-pressable={true}
|
|
390
395
|
disabled={false}
|
|
391
396
|
onClick={[Function]}
|
|
392
397
|
onDragStart={[Function]}
|
|
@@ -399,6 +404,7 @@ exports[`should not render cancel button if isCancelButtonHidden is true 1`] = `
|
|
|
399
404
|
onTouchEnd={[Function]}
|
|
400
405
|
onTouchMove={[Function]}
|
|
401
406
|
onTouchStart={[Function]}
|
|
407
|
+
tabIndex={0}
|
|
402
408
|
type="button"
|
|
403
409
|
>
|
|
404
410
|
<span>
|
|
@@ -472,6 +478,7 @@ exports[`should not render cancel button if isCancelButtonHidden is true 1`] = `
|
|
|
472
478
|
</div>
|
|
473
479
|
<div>
|
|
474
480
|
<button
|
|
481
|
+
data-react-aria-pressable={true}
|
|
475
482
|
disabled={false}
|
|
476
483
|
onClick={[Function]}
|
|
477
484
|
onDragStart={[Function]}
|
|
@@ -483,6 +490,7 @@ exports[`should not render cancel button if isCancelButtonHidden is true 1`] = `
|
|
|
483
490
|
onTouchEnd={[Function]}
|
|
484
491
|
onTouchMove={[Function]}
|
|
485
492
|
onTouchStart={[Function]}
|
|
493
|
+
tabIndex={0}
|
|
486
494
|
type="submit"
|
|
487
495
|
>
|
|
488
496
|
<span>
|