@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
|
@@ -9,6 +9,7 @@ exports[`disables remove button on click 1`] = `
|
|
|
9
9
|
</span>
|
|
10
10
|
<button
|
|
11
11
|
className="removeButton"
|
|
12
|
+
data-react-aria-pressable={true}
|
|
12
13
|
disabled={true}
|
|
13
14
|
onClick={[Function]}
|
|
14
15
|
onDragStart={[Function]}
|
|
@@ -76,6 +77,7 @@ exports[`disables submit button on coupon entry 1`] = `
|
|
|
76
77
|
<div>
|
|
77
78
|
<label />
|
|
78
79
|
<button
|
|
80
|
+
data-react-aria-pressable={true}
|
|
79
81
|
disabled={true}
|
|
80
82
|
onClick={[Function]}
|
|
81
83
|
onDragStart={[Function]}
|
|
@@ -144,6 +146,7 @@ exports[`renders CouponCode input and submit button 1`] = `
|
|
|
144
146
|
<div>
|
|
145
147
|
<label />
|
|
146
148
|
<button
|
|
149
|
+
data-react-aria-pressable={true}
|
|
147
150
|
disabled={false}
|
|
148
151
|
onClick={[Function]}
|
|
149
152
|
onDragStart={[Function]}
|
|
@@ -156,6 +159,7 @@ exports[`renders CouponCode input and submit button 1`] = `
|
|
|
156
159
|
onTouchEnd={[Function]}
|
|
157
160
|
onTouchMove={[Function]}
|
|
158
161
|
onTouchStart={[Function]}
|
|
162
|
+
tabIndex={0}
|
|
159
163
|
type="submit"
|
|
160
164
|
>
|
|
161
165
|
<span>
|
|
@@ -211,6 +215,7 @@ exports[`renders an error message if an error occurs on code entry 1`] = `
|
|
|
211
215
|
<div>
|
|
212
216
|
<label />
|
|
213
217
|
<button
|
|
218
|
+
data-react-aria-pressable={true}
|
|
214
219
|
disabled={false}
|
|
215
220
|
onClick={[Function]}
|
|
216
221
|
onDragStart={[Function]}
|
|
@@ -223,6 +228,7 @@ exports[`renders an error message if an error occurs on code entry 1`] = `
|
|
|
223
228
|
onTouchEnd={[Function]}
|
|
224
229
|
onTouchMove={[Function]}
|
|
225
230
|
onTouchStart={[Function]}
|
|
231
|
+
tabIndex={0}
|
|
226
232
|
type="submit"
|
|
227
233
|
>
|
|
228
234
|
<span>
|
|
@@ -256,6 +262,7 @@ exports[`renders the coupon code view if applied coupons has data 1`] = `
|
|
|
256
262
|
</span>
|
|
257
263
|
<button
|
|
258
264
|
className="removeButton"
|
|
265
|
+
data-react-aria-pressable={true}
|
|
259
266
|
disabled={false}
|
|
260
267
|
onClick={[Function]}
|
|
261
268
|
onDragStart={[Function]}
|
|
@@ -268,6 +275,7 @@ exports[`renders the coupon code view if applied coupons has data 1`] = `
|
|
|
268
275
|
onTouchEnd={[Function]}
|
|
269
276
|
onTouchMove={[Function]}
|
|
270
277
|
onTouchStart={[Function]}
|
|
278
|
+
tabIndex={0}
|
|
271
279
|
type="button"
|
|
272
280
|
>
|
|
273
281
|
<span>
|
|
@@ -175,6 +175,7 @@ Array [
|
|
|
175
175
|
</div>
|
|
176
176
|
<button
|
|
177
177
|
className="root_normalPriority"
|
|
178
|
+
data-react-aria-pressable={true}
|
|
178
179
|
disabled={false}
|
|
179
180
|
onClick={[Function]}
|
|
180
181
|
onDragStart={[Function]}
|
|
@@ -187,6 +188,7 @@ Array [
|
|
|
187
188
|
onTouchEnd={[Function]}
|
|
188
189
|
onTouchMove={[Function]}
|
|
189
190
|
onTouchStart={[Function]}
|
|
191
|
+
tabIndex={0}
|
|
190
192
|
type="submit"
|
|
191
193
|
>
|
|
192
194
|
<span
|
|
@@ -390,6 +392,7 @@ Array [
|
|
|
390
392
|
</div>
|
|
391
393
|
<button
|
|
392
394
|
className="root_normalPriority"
|
|
395
|
+
data-react-aria-pressable={true}
|
|
393
396
|
disabled={false}
|
|
394
397
|
onClick={[Function]}
|
|
395
398
|
onDragStart={[Function]}
|
|
@@ -402,6 +405,7 @@ Array [
|
|
|
402
405
|
onTouchEnd={[Function]}
|
|
403
406
|
onTouchMove={[Function]}
|
|
404
407
|
onTouchStart={[Function]}
|
|
408
|
+
tabIndex={0}
|
|
405
409
|
type="submit"
|
|
406
410
|
>
|
|
407
411
|
<span
|
|
@@ -651,6 +655,7 @@ Array [
|
|
|
651
655
|
</div>
|
|
652
656
|
<button
|
|
653
657
|
className="root_normalPriority"
|
|
658
|
+
data-react-aria-pressable={true}
|
|
654
659
|
disabled={false}
|
|
655
660
|
onClick={[Function]}
|
|
656
661
|
onDragStart={[Function]}
|
|
@@ -663,6 +668,7 @@ Array [
|
|
|
663
668
|
onTouchEnd={[Function]}
|
|
664
669
|
onTouchMove={[Function]}
|
|
665
670
|
onTouchStart={[Function]}
|
|
671
|
+
tabIndex={0}
|
|
666
672
|
type="submit"
|
|
667
673
|
>
|
|
668
674
|
<span
|
|
@@ -1151,6 +1157,7 @@ Array [
|
|
|
1151
1157
|
</div>
|
|
1152
1158
|
<button
|
|
1153
1159
|
className="root_normalPriority"
|
|
1160
|
+
data-react-aria-pressable={true}
|
|
1154
1161
|
disabled={true}
|
|
1155
1162
|
onClick={[Function]}
|
|
1156
1163
|
onDragStart={[Function]}
|
|
@@ -97,6 +97,7 @@ exports[`renders description and confirm link w/o shipping address set 1`] = `
|
|
|
97
97
|
</p>
|
|
98
98
|
<button
|
|
99
99
|
className="root_normalPriority"
|
|
100
|
+
data-react-aria-pressable={true}
|
|
100
101
|
disabled={false}
|
|
101
102
|
onClick={[Function]}
|
|
102
103
|
onDragStart={[Function]}
|
|
@@ -109,6 +110,7 @@ exports[`renders description and confirm link w/o shipping address set 1`] = `
|
|
|
109
110
|
onTouchEnd={[Function]}
|
|
110
111
|
onTouchMove={[Function]}
|
|
111
112
|
onTouchStart={[Function]}
|
|
113
|
+
tabIndex={0}
|
|
112
114
|
type="button"
|
|
113
115
|
>
|
|
114
116
|
<span
|
package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/priceSummary.spec.js.snap
CHANGED
|
@@ -78,6 +78,7 @@ exports[`renders PriceSummary correctly on cart page 1`] = `
|
|
|
78
78
|
>
|
|
79
79
|
<button
|
|
80
80
|
className="root_highPriority"
|
|
81
|
+
data-react-aria-pressable={true}
|
|
81
82
|
disabled={false}
|
|
82
83
|
onDragStart={[Function]}
|
|
83
84
|
onMouseDown={[Function]}
|
|
@@ -87,6 +88,7 @@ exports[`renders PriceSummary correctly on cart page 1`] = `
|
|
|
87
88
|
onTouchCancel={[Function]}
|
|
88
89
|
onTouchEnd={[Function]}
|
|
89
90
|
onTouchMove={[Function]}
|
|
91
|
+
tabIndex={0}
|
|
90
92
|
type="button"
|
|
91
93
|
>
|
|
92
94
|
<span
|
|
@@ -273,6 +275,7 @@ exports[`renders summary with loading state if query is loading 1`] = `
|
|
|
273
275
|
>
|
|
274
276
|
<button
|
|
275
277
|
className="root_highPriority"
|
|
278
|
+
data-react-aria-pressable={true}
|
|
276
279
|
disabled={true}
|
|
277
280
|
onDragStart={[Function]}
|
|
278
281
|
onMouseDown={[Function]}
|
|
@@ -322,6 +322,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
322
322
|
>
|
|
323
323
|
<button
|
|
324
324
|
className="root_lowPriority"
|
|
325
|
+
data-react-aria-pressable={true}
|
|
325
326
|
disabled={false}
|
|
326
327
|
onDragStart={[Function]}
|
|
327
328
|
onKeyDown={[Function]}
|
|
@@ -333,6 +334,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
333
334
|
onTouchEnd={[Function]}
|
|
334
335
|
onTouchMove={[Function]}
|
|
335
336
|
onTouchStart={[Function]}
|
|
337
|
+
tabIndex={0}
|
|
336
338
|
type="reset"
|
|
337
339
|
>
|
|
338
340
|
<span
|
|
@@ -346,6 +348,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
346
348
|
</button>
|
|
347
349
|
<button
|
|
348
350
|
className="root_highPriority"
|
|
351
|
+
data-react-aria-pressable={true}
|
|
349
352
|
disabled={false}
|
|
350
353
|
onClick={[Function]}
|
|
351
354
|
onDragStart={[Function]}
|
|
@@ -358,6 +361,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
358
361
|
onTouchEnd={[Function]}
|
|
359
362
|
onTouchMove={[Function]}
|
|
360
363
|
onTouchStart={[Function]}
|
|
364
|
+
tabIndex={0}
|
|
361
365
|
type="submit"
|
|
362
366
|
>
|
|
363
367
|
<span
|
|
@@ -690,6 +694,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
690
694
|
>
|
|
691
695
|
<button
|
|
692
696
|
className="root_lowPriority"
|
|
697
|
+
data-react-aria-pressable={true}
|
|
693
698
|
disabled={false}
|
|
694
699
|
onDragStart={[Function]}
|
|
695
700
|
onKeyDown={[Function]}
|
|
@@ -701,6 +706,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
701
706
|
onTouchEnd={[Function]}
|
|
702
707
|
onTouchMove={[Function]}
|
|
703
708
|
onTouchStart={[Function]}
|
|
709
|
+
tabIndex={0}
|
|
704
710
|
type="reset"
|
|
705
711
|
>
|
|
706
712
|
<span
|
|
@@ -714,6 +720,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
714
720
|
</button>
|
|
715
721
|
<button
|
|
716
722
|
className="root_highPriority"
|
|
723
|
+
data-react-aria-pressable={true}
|
|
717
724
|
disabled={false}
|
|
718
725
|
onClick={[Function]}
|
|
719
726
|
onDragStart={[Function]}
|
|
@@ -726,6 +733,7 @@ https://master-7rqtwti-c5v7sxvquxwl4.eu-4.magentosite.cloud/media/catalog/produc
|
|
|
726
733
|
onTouchEnd={[Function]}
|
|
727
734
|
onTouchMove={[Function]}
|
|
728
735
|
onTouchStart={[Function]}
|
|
736
|
+
tabIndex={0}
|
|
729
737
|
type="submit"
|
|
730
738
|
>
|
|
731
739
|
<span
|
|
@@ -827,6 +835,7 @@ exports[`renders loading indicator while options are being fetched 1`] = `
|
|
|
827
835
|
>
|
|
828
836
|
<button
|
|
829
837
|
className="root_lowPriority"
|
|
838
|
+
data-react-aria-pressable={true}
|
|
830
839
|
disabled={true}
|
|
831
840
|
onDragStart={[Function]}
|
|
832
841
|
onKeyDown={[Function]}
|
|
@@ -851,6 +860,7 @@ exports[`renders loading indicator while options are being fetched 1`] = `
|
|
|
851
860
|
</button>
|
|
852
861
|
<button
|
|
853
862
|
className="root_highPriority"
|
|
863
|
+
data-react-aria-pressable={true}
|
|
854
864
|
disabled={true}
|
|
855
865
|
onClick={[Function]}
|
|
856
866
|
onDragStart={[Function]}
|
|
@@ -272,6 +272,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
272
272
|
<button
|
|
273
273
|
aria-label="Edit item"
|
|
274
274
|
className="button"
|
|
275
|
+
data-react-aria-pressable={true}
|
|
275
276
|
onClick={[Function]}
|
|
276
277
|
onDragStart={[Function]}
|
|
277
278
|
onKeyDown={[Function]}
|
|
@@ -283,6 +284,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
283
284
|
onTouchEnd={[Function]}
|
|
284
285
|
onTouchMove={[Function]}
|
|
285
286
|
onTouchStart={[Function]}
|
|
287
|
+
tabIndex={0}
|
|
286
288
|
type="button"
|
|
287
289
|
>
|
|
288
290
|
<span
|
|
@@ -318,6 +320,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
318
320
|
<button
|
|
319
321
|
aria-label="Remove from cart"
|
|
320
322
|
className="button"
|
|
323
|
+
data-react-aria-pressable={true}
|
|
321
324
|
onClick={[Function]}
|
|
322
325
|
onDragStart={[Function]}
|
|
323
326
|
onKeyDown={[Function]}
|
|
@@ -329,6 +332,7 @@ exports[`renders configurable product with options 1`] = `
|
|
|
329
332
|
onTouchEnd={[Function]}
|
|
330
333
|
onTouchMove={[Function]}
|
|
331
334
|
onTouchStart={[Function]}
|
|
335
|
+
tabIndex={0}
|
|
332
336
|
type="button"
|
|
333
337
|
>
|
|
334
338
|
<span
|
|
@@ -633,6 +637,7 @@ exports[`renders out of stock product 1`] = `
|
|
|
633
637
|
<button
|
|
634
638
|
aria-label="Remove from cart"
|
|
635
639
|
className="button"
|
|
640
|
+
data-react-aria-pressable={true}
|
|
636
641
|
onClick={[Function]}
|
|
637
642
|
onDragStart={[Function]}
|
|
638
643
|
onKeyDown={[Function]}
|
|
@@ -644,6 +649,7 @@ exports[`renders out of stock product 1`] = `
|
|
|
644
649
|
onTouchEnd={[Function]}
|
|
645
650
|
onTouchMove={[Function]}
|
|
646
651
|
onTouchStart={[Function]}
|
|
652
|
+
tabIndex={0}
|
|
647
653
|
type="button"
|
|
648
654
|
>
|
|
649
655
|
<span
|
|
@@ -948,6 +954,7 @@ exports[`renders simple product correctly 1`] = `
|
|
|
948
954
|
<button
|
|
949
955
|
aria-label="Remove from cart"
|
|
950
956
|
className="button"
|
|
957
|
+
data-react-aria-pressable={true}
|
|
951
958
|
onClick={[Function]}
|
|
952
959
|
onDragStart={[Function]}
|
|
953
960
|
onKeyDown={[Function]}
|
|
@@ -959,6 +966,7 @@ exports[`renders simple product correctly 1`] = `
|
|
|
959
966
|
onTouchEnd={[Function]}
|
|
960
967
|
onTouchMove={[Function]}
|
|
961
968
|
onTouchStart={[Function]}
|
|
969
|
+
tabIndex={0}
|
|
962
970
|
type="button"
|
|
963
971
|
>
|
|
964
972
|
<span
|
|
@@ -25,6 +25,7 @@ exports[`renders a Receipt component correctly 1`] = `
|
|
|
25
25
|
</div>
|
|
26
26
|
<button
|
|
27
27
|
className="root_highPriority"
|
|
28
|
+
data-react-aria-pressable={true}
|
|
28
29
|
disabled={false}
|
|
29
30
|
onClick={[MockFunction]}
|
|
30
31
|
onDragStart={[Function]}
|
|
@@ -37,6 +38,7 @@ exports[`renders a Receipt component correctly 1`] = `
|
|
|
37
38
|
onTouchEnd={[Function]}
|
|
38
39
|
onTouchMove={[Function]}
|
|
39
40
|
onTouchStart={[Function]}
|
|
41
|
+
tabIndex={0}
|
|
40
42
|
type="button"
|
|
41
43
|
>
|
|
42
44
|
<span
|
|
@@ -394,6 +394,7 @@ exports[`renders an AddressForm component 1`] = `
|
|
|
394
394
|
>
|
|
395
395
|
<button
|
|
396
396
|
className="root_highPriority"
|
|
397
|
+
data-react-aria-pressable={true}
|
|
397
398
|
disabled={false}
|
|
398
399
|
onClick={[Function]}
|
|
399
400
|
onDragStart={[Function]}
|
|
@@ -406,6 +407,7 @@ exports[`renders an AddressForm component 1`] = `
|
|
|
406
407
|
onTouchEnd={[Function]}
|
|
407
408
|
onTouchMove={[Function]}
|
|
408
409
|
onTouchStart={[Function]}
|
|
410
|
+
tabIndex={0}
|
|
409
411
|
type="submit"
|
|
410
412
|
>
|
|
411
413
|
<span
|
|
@@ -416,6 +418,7 @@ exports[`renders an AddressForm component 1`] = `
|
|
|
416
418
|
</button>
|
|
417
419
|
<button
|
|
418
420
|
className="root_lowPriority"
|
|
421
|
+
data-react-aria-pressable={true}
|
|
419
422
|
disabled={false}
|
|
420
423
|
onClick={[MockFunction]}
|
|
421
424
|
onDragStart={[Function]}
|
|
@@ -428,6 +431,7 @@ exports[`renders an AddressForm component 1`] = `
|
|
|
428
431
|
onTouchEnd={[Function]}
|
|
429
432
|
onTouchMove={[Function]}
|
|
430
433
|
onTouchStart={[Function]}
|
|
434
|
+
tabIndex={0}
|
|
431
435
|
type="button"
|
|
432
436
|
>
|
|
433
437
|
<span
|
|
@@ -834,6 +838,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
|
|
|
834
838
|
>
|
|
835
839
|
<button
|
|
836
840
|
className="root_highPriority"
|
|
841
|
+
data-react-aria-pressable={true}
|
|
837
842
|
disabled={false}
|
|
838
843
|
onClick={[Function]}
|
|
839
844
|
onDragStart={[Function]}
|
|
@@ -846,6 +851,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
|
|
|
846
851
|
onTouchEnd={[Function]}
|
|
847
852
|
onTouchMove={[Function]}
|
|
848
853
|
onTouchStart={[Function]}
|
|
854
|
+
tabIndex={0}
|
|
849
855
|
type="submit"
|
|
850
856
|
>
|
|
851
857
|
<span
|
|
@@ -856,6 +862,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
|
|
|
856
862
|
</button>
|
|
857
863
|
<button
|
|
858
864
|
className="root_lowPriority"
|
|
865
|
+
data-react-aria-pressable={true}
|
|
859
866
|
disabled={false}
|
|
860
867
|
onClick={[MockFunction]}
|
|
861
868
|
onDragStart={[Function]}
|
|
@@ -868,6 +875,7 @@ exports[`renders validation block with message if address is incorrect 1`] = `
|
|
|
868
875
|
onTouchEnd={[Function]}
|
|
869
876
|
onTouchMove={[Function]}
|
|
870
877
|
onTouchStart={[Function]}
|
|
878
|
+
tabIndex={0}
|
|
871
879
|
type="button"
|
|
872
880
|
>
|
|
873
881
|
<span
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`renders a Checkout Button component 1`] = `
|
|
4
4
|
<button
|
|
5
|
+
data-react-aria-pressable={true}
|
|
5
6
|
disabled={false}
|
|
6
7
|
onDragStart={[Function]}
|
|
7
8
|
onKeyDown={[Function]}
|
|
@@ -13,6 +14,7 @@ exports[`renders a Checkout Button component 1`] = `
|
|
|
13
14
|
onTouchEnd={[Function]}
|
|
14
15
|
onTouchMove={[Function]}
|
|
15
16
|
onTouchStart={[Function]}
|
|
17
|
+
tabIndex={0}
|
|
16
18
|
type="button"
|
|
17
19
|
>
|
|
18
20
|
<span>
|
|
@@ -50,6 +52,7 @@ exports[`renders a Checkout Button component 1`] = `
|
|
|
50
52
|
|
|
51
53
|
exports[`renders a disabled Checkout Button component 1`] = `
|
|
52
54
|
<button
|
|
55
|
+
data-react-aria-pressable={true}
|
|
53
56
|
disabled={true}
|
|
54
57
|
onDragStart={[Function]}
|
|
55
58
|
onKeyDown={[Function]}
|
|
@@ -143,6 +143,7 @@ Array [
|
|
|
143
143
|
>
|
|
144
144
|
<button
|
|
145
145
|
className="root_highPriority"
|
|
146
|
+
data-react-aria-pressable={true}
|
|
146
147
|
disabled={true}
|
|
147
148
|
onClick={[Function]}
|
|
148
149
|
onDragStart={[Function]}
|
|
@@ -165,6 +166,7 @@ Array [
|
|
|
165
166
|
</button>
|
|
166
167
|
<button
|
|
167
168
|
className="root_lowPriority"
|
|
169
|
+
data-react-aria-pressable={true}
|
|
168
170
|
disabled={false}
|
|
169
171
|
onClick={[Function]}
|
|
170
172
|
onDragStart={[Function]}
|
|
@@ -177,6 +179,7 @@ Array [
|
|
|
177
179
|
onTouchEnd={[Function]}
|
|
178
180
|
onTouchMove={[Function]}
|
|
179
181
|
onTouchStart={[Function]}
|
|
182
|
+
tabIndex={0}
|
|
180
183
|
type="button"
|
|
181
184
|
>
|
|
182
185
|
<span
|
|
@@ -332,6 +335,7 @@ Array [
|
|
|
332
335
|
>
|
|
333
336
|
<button
|
|
334
337
|
className="root_highPriority"
|
|
338
|
+
data-react-aria-pressable={true}
|
|
335
339
|
disabled={true}
|
|
336
340
|
onClick={[Function]}
|
|
337
341
|
onDragStart={[Function]}
|
|
@@ -354,6 +358,7 @@ Array [
|
|
|
354
358
|
</button>
|
|
355
359
|
<button
|
|
356
360
|
className="root_lowPriority"
|
|
361
|
+
data-react-aria-pressable={true}
|
|
357
362
|
disabled={false}
|
|
358
363
|
onClick={[Function]}
|
|
359
364
|
onDragStart={[Function]}
|
|
@@ -366,6 +371,7 @@ Array [
|
|
|
366
371
|
onTouchEnd={[Function]}
|
|
367
372
|
onTouchMove={[Function]}
|
|
368
373
|
onTouchStart={[Function]}
|
|
374
|
+
tabIndex={0}
|
|
369
375
|
type="button"
|
|
370
376
|
>
|
|
371
377
|
<span
|
|
@@ -521,6 +527,7 @@ Array [
|
|
|
521
527
|
>
|
|
522
528
|
<button
|
|
523
529
|
className="root_highPriority"
|
|
530
|
+
data-react-aria-pressable={true}
|
|
524
531
|
disabled={true}
|
|
525
532
|
onClick={[Function]}
|
|
526
533
|
onDragStart={[Function]}
|
|
@@ -543,6 +550,7 @@ Array [
|
|
|
543
550
|
</button>
|
|
544
551
|
<button
|
|
545
552
|
className="root_lowPriority"
|
|
553
|
+
data-react-aria-pressable={true}
|
|
546
554
|
disabled={false}
|
|
547
555
|
onClick={[Function]}
|
|
548
556
|
onDragStart={[Function]}
|
|
@@ -555,6 +563,7 @@ Array [
|
|
|
555
563
|
onTouchEnd={[Function]}
|
|
556
564
|
onTouchMove={[Function]}
|
|
557
565
|
onTouchStart={[Function]}
|
|
566
|
+
tabIndex={0}
|
|
558
567
|
type="button"
|
|
559
568
|
>
|
|
560
569
|
<span
|
|
@@ -78,6 +78,7 @@ exports[`renders a PaymentsForm component 1`] = `
|
|
|
78
78
|
>
|
|
79
79
|
<button
|
|
80
80
|
className="root_highPriority"
|
|
81
|
+
data-react-aria-pressable={true}
|
|
81
82
|
disabled={true}
|
|
82
83
|
onClick={[Function]}
|
|
83
84
|
onDragStart={[Function]}
|
|
@@ -100,6 +101,7 @@ exports[`renders a PaymentsForm component 1`] = `
|
|
|
100
101
|
</button>
|
|
101
102
|
<button
|
|
102
103
|
className="root_lowPriority"
|
|
104
|
+
data-react-aria-pressable={true}
|
|
103
105
|
disabled={false}
|
|
104
106
|
onClick={[Function]}
|
|
105
107
|
onDragStart={[Function]}
|
|
@@ -112,6 +114,7 @@ exports[`renders a PaymentsForm component 1`] = `
|
|
|
112
114
|
onTouchEnd={[Function]}
|
|
113
115
|
onTouchMove={[Function]}
|
|
114
116
|
onTouchStart={[Function]}
|
|
117
|
+
tabIndex={0}
|
|
115
118
|
type="button"
|
|
116
119
|
>
|
|
117
120
|
<span
|
|
@@ -520,6 +523,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
|
|
|
520
523
|
>
|
|
521
524
|
<button
|
|
522
525
|
className="root_highPriority"
|
|
526
|
+
data-react-aria-pressable={true}
|
|
523
527
|
disabled={true}
|
|
524
528
|
onClick={[Function]}
|
|
525
529
|
onDragStart={[Function]}
|
|
@@ -542,6 +546,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
|
|
|
542
546
|
</button>
|
|
543
547
|
<button
|
|
544
548
|
className="root_lowPriority"
|
|
549
|
+
data-react-aria-pressable={true}
|
|
545
550
|
disabled={false}
|
|
546
551
|
onClick={[Function]}
|
|
547
552
|
onDragStart={[Function]}
|
|
@@ -554,6 +559,7 @@ exports[`renders billing address fields if addresses_same checkbox unchecked 1`]
|
|
|
554
559
|
onTouchEnd={[Function]}
|
|
555
560
|
onTouchMove={[Function]}
|
|
556
561
|
onTouchStart={[Function]}
|
|
562
|
+
tabIndex={0}
|
|
557
563
|
type="button"
|
|
558
564
|
>
|
|
559
565
|
<span
|
|
@@ -30,6 +30,7 @@ exports[`renders a shipping form 1`] = `
|
|
|
30
30
|
</div>
|
|
31
31
|
<div>
|
|
32
32
|
<button
|
|
33
|
+
data-react-aria-pressable={true}
|
|
33
34
|
disabled={false}
|
|
34
35
|
onClick={[Function]}
|
|
35
36
|
onDragStart={[Function]}
|
|
@@ -42,6 +43,7 @@ exports[`renders a shipping form 1`] = `
|
|
|
42
43
|
onTouchEnd={[Function]}
|
|
43
44
|
onTouchMove={[Function]}
|
|
44
45
|
onTouchStart={[Function]}
|
|
46
|
+
tabIndex={0}
|
|
45
47
|
type="submit"
|
|
46
48
|
>
|
|
47
49
|
<span>
|
|
@@ -49,6 +51,7 @@ exports[`renders a shipping form 1`] = `
|
|
|
49
51
|
</span>
|
|
50
52
|
</button>
|
|
51
53
|
<button
|
|
54
|
+
data-react-aria-pressable={true}
|
|
52
55
|
disabled={false}
|
|
53
56
|
onClick={[MockFunction]}
|
|
54
57
|
onDragStart={[Function]}
|
|
@@ -61,6 +64,7 @@ exports[`renders a shipping form 1`] = `
|
|
|
61
64
|
onTouchEnd={[Function]}
|
|
62
65
|
onTouchMove={[Function]}
|
|
63
66
|
onTouchStart={[Function]}
|
|
67
|
+
tabIndex={0}
|
|
64
68
|
type="button"
|
|
65
69
|
>
|
|
66
70
|
<span>
|
|
@@ -94,6 +98,7 @@ exports[`renders no initial value and no shipping methods if no availableShippin
|
|
|
94
98
|
</div>
|
|
95
99
|
<div>
|
|
96
100
|
<button
|
|
101
|
+
data-react-aria-pressable={true}
|
|
97
102
|
disabled={false}
|
|
98
103
|
onClick={[Function]}
|
|
99
104
|
onDragStart={[Function]}
|
|
@@ -106,6 +111,7 @@ exports[`renders no initial value and no shipping methods if no availableShippin
|
|
|
106
111
|
onTouchEnd={[Function]}
|
|
107
112
|
onTouchMove={[Function]}
|
|
108
113
|
onTouchStart={[Function]}
|
|
114
|
+
tabIndex={0}
|
|
109
115
|
type="submit"
|
|
110
116
|
>
|
|
111
117
|
<span>
|
|
@@ -113,6 +119,7 @@ exports[`renders no initial value and no shipping methods if no availableShippin
|
|
|
113
119
|
</span>
|
|
114
120
|
</button>
|
|
115
121
|
<button
|
|
122
|
+
data-react-aria-pressable={true}
|
|
116
123
|
disabled={false}
|
|
117
124
|
onClick={[MockFunction]}
|
|
118
125
|
onDragStart={[Function]}
|
|
@@ -125,6 +132,7 @@ exports[`renders no initial value and no shipping methods if no availableShippin
|
|
|
125
132
|
onTouchEnd={[Function]}
|
|
126
133
|
onTouchMove={[Function]}
|
|
127
134
|
onTouchStart={[Function]}
|
|
135
|
+
tabIndex={0}
|
|
128
136
|
type="button"
|
|
129
137
|
>
|
|
130
138
|
<span>
|
package/lib/components/CheckoutPage/AddressBook/__tests__/__snapshots__/addressBook.spec.js.snap
CHANGED
|
@@ -45,6 +45,7 @@ Array [
|
|
|
45
45
|
>
|
|
46
46
|
<button
|
|
47
47
|
className="root_lowPriority"
|
|
48
|
+
data-react-aria-pressable={true}
|
|
48
49
|
disabled={false}
|
|
49
50
|
onClick={[MockFunction handleCancel]}
|
|
50
51
|
onDragStart={[Function]}
|
|
@@ -57,6 +58,7 @@ Array [
|
|
|
57
58
|
onTouchEnd={[Function]}
|
|
58
59
|
onTouchMove={[Function]}
|
|
59
60
|
onTouchStart={[Function]}
|
|
61
|
+
tabIndex={0}
|
|
60
62
|
type="button"
|
|
61
63
|
>
|
|
62
64
|
<span
|
|
@@ -70,6 +72,7 @@ Array [
|
|
|
70
72
|
</button>
|
|
71
73
|
<button
|
|
72
74
|
className="root_highPriority"
|
|
75
|
+
data-react-aria-pressable={true}
|
|
73
76
|
disabled={false}
|
|
74
77
|
onClick={[MockFunction handleApplyAddress]}
|
|
75
78
|
onDragStart={[Function]}
|
|
@@ -82,6 +85,7 @@ Array [
|
|
|
82
85
|
onTouchEnd={[Function]}
|
|
83
86
|
onTouchMove={[Function]}
|
|
84
87
|
onTouchStart={[Function]}
|
|
88
|
+
tabIndex={0}
|
|
85
89
|
type="button"
|
|
86
90
|
>
|
|
87
91
|
<span
|
|
@@ -135,6 +139,7 @@ Array [
|
|
|
135
139
|
/>
|
|
136
140
|
<button
|
|
137
141
|
className="addButton"
|
|
142
|
+
data-react-aria-pressable={true}
|
|
138
143
|
disabled={false}
|
|
139
144
|
onClick={[MockFunction handleAddAddress]}
|
|
140
145
|
onDragStart={[Function]}
|
|
@@ -147,6 +152,7 @@ Array [
|
|
|
147
152
|
onTouchEnd={[Function]}
|
|
148
153
|
onTouchMove={[Function]}
|
|
149
154
|
onTouchStart={[Function]}
|
|
155
|
+
tabIndex={0}
|
|
150
156
|
type="button"
|
|
151
157
|
>
|
|
152
158
|
<span
|
|
@@ -226,6 +232,7 @@ Array [
|
|
|
226
232
|
>
|
|
227
233
|
<button
|
|
228
234
|
className="root_lowPriority"
|
|
235
|
+
data-react-aria-pressable={true}
|
|
229
236
|
disabled={true}
|
|
230
237
|
onClick={[MockFunction handleCancel]}
|
|
231
238
|
onDragStart={[Function]}
|
|
@@ -251,6 +258,7 @@ Array [
|
|
|
251
258
|
</button>
|
|
252
259
|
<button
|
|
253
260
|
className="root_highPriority"
|
|
261
|
+
data-react-aria-pressable={true}
|
|
254
262
|
disabled={true}
|
|
255
263
|
onClick={[MockFunction handleApplyAddress]}
|
|
256
264
|
onDragStart={[Function]}
|
|
@@ -280,6 +288,7 @@ Array [
|
|
|
280
288
|
>
|
|
281
289
|
<button
|
|
282
290
|
className="addButton"
|
|
291
|
+
data-react-aria-pressable={true}
|
|
283
292
|
disabled={false}
|
|
284
293
|
onClick={[MockFunction handleAddAddress]}
|
|
285
294
|
onDragStart={[Function]}
|
|
@@ -292,6 +301,7 @@ Array [
|
|
|
292
301
|
onTouchEnd={[Function]}
|
|
293
302
|
onTouchMove={[Function]}
|
|
294
303
|
onTouchStart={[Function]}
|
|
304
|
+
tabIndex={0}
|
|
295
305
|
type="button"
|
|
296
306
|
>
|
|
297
307
|
<span
|