@magento/venia-ui 11.7.1-beta3 → 11.7.2-alpha2
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/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 +3 -3
|
@@ -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>
|
|
@@ -39,6 +39,7 @@ exports[`does not render a close X button in modal mode 1`] = `
|
|
|
39
39
|
>
|
|
40
40
|
<button
|
|
41
41
|
className="root_lowPriority"
|
|
42
|
+
data-react-aria-pressable={true}
|
|
42
43
|
disabled={false}
|
|
43
44
|
onDragStart={[Function]}
|
|
44
45
|
onKeyDown={[Function]}
|
|
@@ -50,6 +51,7 @@ exports[`does not render a close X button in modal mode 1`] = `
|
|
|
50
51
|
onTouchEnd={[Function]}
|
|
51
52
|
onTouchMove={[Function]}
|
|
52
53
|
onTouchStart={[Function]}
|
|
54
|
+
tabIndex={0}
|
|
53
55
|
type="reset"
|
|
54
56
|
>
|
|
55
57
|
<span
|
|
@@ -63,6 +65,7 @@ exports[`does not render a close X button in modal mode 1`] = `
|
|
|
63
65
|
</button>
|
|
64
66
|
<button
|
|
65
67
|
className="root_highPriority"
|
|
68
|
+
data-react-aria-pressable={true}
|
|
66
69
|
disabled={false}
|
|
67
70
|
onClick={[Function]}
|
|
68
71
|
onDragStart={[Function]}
|
|
@@ -75,6 +78,7 @@ exports[`does not render a close X button in modal mode 1`] = `
|
|
|
75
78
|
onTouchEnd={[Function]}
|
|
76
79
|
onTouchMove={[Function]}
|
|
77
80
|
onTouchStart={[Function]}
|
|
81
|
+
tabIndex={0}
|
|
78
82
|
type="submit"
|
|
79
83
|
>
|
|
80
84
|
<span
|
|
@@ -168,6 +172,7 @@ exports[`renders a Dialog with disabled buttons 1`] = `
|
|
|
168
172
|
>
|
|
169
173
|
<button
|
|
170
174
|
className="root_lowPriority"
|
|
175
|
+
data-react-aria-pressable={true}
|
|
171
176
|
disabled={true}
|
|
172
177
|
onDragStart={[Function]}
|
|
173
178
|
onKeyDown={[Function]}
|
|
@@ -192,6 +197,7 @@ exports[`renders a Dialog with disabled buttons 1`] = `
|
|
|
192
197
|
</button>
|
|
193
198
|
<button
|
|
194
199
|
className="root_highPriority"
|
|
200
|
+
data-react-aria-pressable={true}
|
|
195
201
|
disabled={true}
|
|
196
202
|
onClick={[Function]}
|
|
197
203
|
onDragStart={[Function]}
|
|
@@ -373,6 +379,7 @@ exports[`renders a basic Dialog 1`] = `
|
|
|
373
379
|
>
|
|
374
380
|
<button
|
|
375
381
|
className="root_lowPriority"
|
|
382
|
+
data-react-aria-pressable={true}
|
|
376
383
|
disabled={false}
|
|
377
384
|
onDragStart={[Function]}
|
|
378
385
|
onKeyDown={[Function]}
|
|
@@ -384,6 +391,7 @@ exports[`renders a basic Dialog 1`] = `
|
|
|
384
391
|
onTouchEnd={[Function]}
|
|
385
392
|
onTouchMove={[Function]}
|
|
386
393
|
onTouchStart={[Function]}
|
|
394
|
+
tabIndex={0}
|
|
387
395
|
type="reset"
|
|
388
396
|
>
|
|
389
397
|
<span
|
|
@@ -397,6 +405,7 @@ exports[`renders a basic Dialog 1`] = `
|
|
|
397
405
|
</button>
|
|
398
406
|
<button
|
|
399
407
|
className="root_highPriority"
|
|
408
|
+
data-react-aria-pressable={true}
|
|
400
409
|
disabled={false}
|
|
401
410
|
onClick={[Function]}
|
|
402
411
|
onDragStart={[Function]}
|
|
@@ -409,6 +418,7 @@ exports[`renders a basic Dialog 1`] = `
|
|
|
409
418
|
onTouchEnd={[Function]}
|
|
410
419
|
onTouchMove={[Function]}
|
|
411
420
|
onTouchStart={[Function]}
|
|
421
|
+
tabIndex={0}
|
|
412
422
|
type="submit"
|
|
413
423
|
>
|
|
414
424
|
<span
|
|
@@ -502,6 +512,7 @@ exports[`renders a dialog with only the confirm button disabled 1`] = `
|
|
|
502
512
|
>
|
|
503
513
|
<button
|
|
504
514
|
className="root_lowPriority"
|
|
515
|
+
data-react-aria-pressable={true}
|
|
505
516
|
disabled={false}
|
|
506
517
|
onDragStart={[Function]}
|
|
507
518
|
onKeyDown={[Function]}
|
|
@@ -513,6 +524,7 @@ exports[`renders a dialog with only the confirm button disabled 1`] = `
|
|
|
513
524
|
onTouchEnd={[Function]}
|
|
514
525
|
onTouchMove={[Function]}
|
|
515
526
|
onTouchStart={[Function]}
|
|
527
|
+
tabIndex={0}
|
|
516
528
|
type="reset"
|
|
517
529
|
>
|
|
518
530
|
<span
|
|
@@ -526,6 +538,7 @@ exports[`renders a dialog with only the confirm button disabled 1`] = `
|
|
|
526
538
|
</button>
|
|
527
539
|
<button
|
|
528
540
|
className="root_highPriority"
|
|
541
|
+
data-react-aria-pressable={true}
|
|
529
542
|
disabled={true}
|
|
530
543
|
onClick={[Function]}
|
|
531
544
|
onDragStart={[Function]}
|
|
@@ -635,6 +648,7 @@ exports[`should render children even if dialog is hidden and if shouldUnmountOnH
|
|
|
635
648
|
>
|
|
636
649
|
<button
|
|
637
650
|
className="root_lowPriority"
|
|
651
|
+
data-react-aria-pressable={true}
|
|
638
652
|
disabled={false}
|
|
639
653
|
onDragStart={[Function]}
|
|
640
654
|
onKeyDown={[Function]}
|
|
@@ -646,6 +660,7 @@ exports[`should render children even if dialog is hidden and if shouldUnmountOnH
|
|
|
646
660
|
onTouchEnd={[Function]}
|
|
647
661
|
onTouchMove={[Function]}
|
|
648
662
|
onTouchStart={[Function]}
|
|
663
|
+
tabIndex={0}
|
|
649
664
|
type="reset"
|
|
650
665
|
>
|
|
651
666
|
<span
|
|
@@ -659,6 +674,7 @@ exports[`should render children even if dialog is hidden and if shouldUnmountOnH
|
|
|
659
674
|
</button>
|
|
660
675
|
<button
|
|
661
676
|
className="root_highPriority"
|
|
677
|
+
data-react-aria-pressable={true}
|
|
662
678
|
disabled={false}
|
|
663
679
|
onClick={[Function]}
|
|
664
680
|
onDragStart={[Function]}
|
|
@@ -671,6 +687,7 @@ exports[`should render children even if dialog is hidden and if shouldUnmountOnH
|
|
|
671
687
|
onTouchEnd={[Function]}
|
|
672
688
|
onTouchMove={[Function]}
|
|
673
689
|
onTouchStart={[Function]}
|
|
690
|
+
tabIndex={0}
|
|
674
691
|
type="submit"
|
|
675
692
|
>
|
|
676
693
|
<span
|
|
@@ -772,6 +789,7 @@ exports[`supports modifying title and button texts 1`] = `
|
|
|
772
789
|
>
|
|
773
790
|
<button
|
|
774
791
|
className="root_lowPriority"
|
|
792
|
+
data-react-aria-pressable={true}
|
|
775
793
|
disabled={false}
|
|
776
794
|
onDragStart={[Function]}
|
|
777
795
|
onKeyDown={[Function]}
|
|
@@ -783,6 +801,7 @@ exports[`supports modifying title and button texts 1`] = `
|
|
|
783
801
|
onTouchEnd={[Function]}
|
|
784
802
|
onTouchMove={[Function]}
|
|
785
803
|
onTouchStart={[Function]}
|
|
804
|
+
tabIndex={0}
|
|
786
805
|
type="reset"
|
|
787
806
|
>
|
|
788
807
|
<span
|
|
@@ -796,6 +815,7 @@ exports[`supports modifying title and button texts 1`] = `
|
|
|
796
815
|
</button>
|
|
797
816
|
<button
|
|
798
817
|
className="root_highPriority"
|
|
818
|
+
data-react-aria-pressable={true}
|
|
799
819
|
disabled={false}
|
|
800
820
|
onClick={[Function]}
|
|
801
821
|
onDragStart={[Function]}
|
|
@@ -808,6 +828,7 @@ exports[`supports modifying title and button texts 1`] = `
|
|
|
808
828
|
onTouchEnd={[Function]}
|
|
809
829
|
onTouchMove={[Function]}
|
|
810
830
|
onTouchStart={[Function]}
|
|
831
|
+
tabIndex={0}
|
|
811
832
|
type="submit"
|
|
812
833
|
>
|
|
813
834
|
<span
|
|
@@ -54,6 +54,7 @@ exports[`renders when busy 1`] = `
|
|
|
54
54
|
>
|
|
55
55
|
<button
|
|
56
56
|
className="cancelButton"
|
|
57
|
+
data-react-aria-pressable={true}
|
|
57
58
|
disabled={true}
|
|
58
59
|
onClick={[Function]}
|
|
59
60
|
onDragStart={[Function]}
|
|
@@ -79,6 +80,7 @@ exports[`renders when busy 1`] = `
|
|
|
79
80
|
</button>
|
|
80
81
|
<button
|
|
81
82
|
className="submitButton"
|
|
83
|
+
data-react-aria-pressable={true}
|
|
82
84
|
disabled={true}
|
|
83
85
|
onClick={[Function]}
|
|
84
86
|
onDragStart={[Function]}
|
|
@@ -160,6 +162,7 @@ exports[`renders when not busy 1`] = `
|
|
|
160
162
|
>
|
|
161
163
|
<button
|
|
162
164
|
className="cancelButton"
|
|
165
|
+
data-react-aria-pressable={true}
|
|
163
166
|
disabled={false}
|
|
164
167
|
onClick={[Function]}
|
|
165
168
|
onDragStart={[Function]}
|
|
@@ -172,6 +175,7 @@ exports[`renders when not busy 1`] = `
|
|
|
172
175
|
onTouchEnd={[Function]}
|
|
173
176
|
onTouchMove={[Function]}
|
|
174
177
|
onTouchStart={[Function]}
|
|
178
|
+
tabIndex={0}
|
|
175
179
|
type="button"
|
|
176
180
|
>
|
|
177
181
|
<span
|
|
@@ -185,6 +189,7 @@ exports[`renders when not busy 1`] = `
|
|
|
185
189
|
</button>
|
|
186
190
|
<button
|
|
187
191
|
className="submitButton"
|
|
192
|
+
data-react-aria-pressable={true}
|
|
188
193
|
disabled={false}
|
|
189
194
|
onClick={[Function]}
|
|
190
195
|
onDragStart={[Function]}
|
|
@@ -197,6 +202,7 @@ exports[`renders when not busy 1`] = `
|
|
|
197
202
|
onTouchEnd={[Function]}
|
|
198
203
|
onTouchMove={[Function]}
|
|
199
204
|
onTouchStart={[Function]}
|
|
205
|
+
tabIndex={0}
|
|
200
206
|
type="submit"
|
|
201
207
|
>
|
|
202
208
|
<span
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
exports[`should render add to cart if in stock 1`] = `
|
|
4
4
|
<button
|
|
5
5
|
aria-label="Add to cart"
|
|
6
|
+
data-react-aria-pressable={true}
|
|
6
7
|
disabled={false}
|
|
7
8
|
onClick={[Function]}
|
|
8
9
|
onDragStart={[Function]}
|
|
@@ -15,6 +16,7 @@ exports[`should render add to cart if in stock 1`] = `
|
|
|
15
16
|
onTouchEnd={[Function]}
|
|
16
17
|
onTouchMove={[Function]}
|
|
17
18
|
onTouchStart={[Function]}
|
|
19
|
+
tabIndex={0}
|
|
18
20
|
type="button"
|
|
19
21
|
>
|
|
20
22
|
<span>
|
|
@@ -57,6 +59,7 @@ exports[`should render add to cart if in stock 1`] = `
|
|
|
57
59
|
exports[`should render out of cart if not in stock 1`] = `
|
|
58
60
|
<button
|
|
59
61
|
aria-label="Out of stock"
|
|
62
|
+
data-react-aria-pressable={true}
|
|
60
63
|
disabled={true}
|
|
61
64
|
onClick={[Function]}
|
|
62
65
|
onDragStart={[Function]}
|
|
@@ -119,6 +122,7 @@ exports[`should render out of cart if not in stock 1`] = `
|
|
|
119
122
|
exports[`should render properly 1`] = `
|
|
120
123
|
<button
|
|
121
124
|
aria-label="Add to cart"
|
|
125
|
+
data-react-aria-pressable={true}
|
|
122
126
|
disabled={false}
|
|
123
127
|
onClick={[Function]}
|
|
124
128
|
onDragStart={[Function]}
|
|
@@ -131,6 +135,7 @@ exports[`should render properly 1`] = `
|
|
|
131
135
|
onTouchEnd={[Function]}
|
|
132
136
|
onTouchMove={[Function]}
|
|
133
137
|
onTouchStart={[Function]}
|
|
138
|
+
tabIndex={0}
|
|
134
139
|
type="button"
|
|
135
140
|
>
|
|
136
141
|
<span>
|