@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
|
@@ -51,11 +51,7 @@
|
|
|
51
51
|
* Target all column groups after the slider.
|
|
52
52
|
*/
|
|
53
53
|
:global(.venia-home-slider ~ div) {
|
|
54
|
-
display: grid !important;
|
|
55
54
|
gap: 0;
|
|
56
|
-
grid-auto-columns: 1fr;
|
|
57
|
-
grid-auto-flow: column;
|
|
58
|
-
grid-template-columns: repeat(3, 1fr);
|
|
59
55
|
padding: 0 1rem;
|
|
60
56
|
z-index: 1;
|
|
61
57
|
}
|
|
@@ -4,6 +4,7 @@ exports[`it does not render an icon when not passed one 1`] = `
|
|
|
4
4
|
<li>
|
|
5
5
|
<button
|
|
6
6
|
aria-label="Unit Test Text"
|
|
7
|
+
data-react-aria-pressable={true}
|
|
7
8
|
onClick={[Function]}
|
|
8
9
|
onDragStart={[Function]}
|
|
9
10
|
onKeyDown={[Function]}
|
|
@@ -15,6 +16,7 @@ exports[`it does not render an icon when not passed one 1`] = `
|
|
|
15
16
|
onTouchEnd={[Function]}
|
|
16
17
|
onTouchMove={[Function]}
|
|
17
18
|
onTouchStart={[Function]}
|
|
19
|
+
tabIndex={0}
|
|
18
20
|
type="button"
|
|
19
21
|
>
|
|
20
22
|
<Icon
|
|
@@ -36,6 +38,7 @@ exports[`it does not render an icon when passed an invalid one 1`] = `
|
|
|
36
38
|
<li>
|
|
37
39
|
<button
|
|
38
40
|
aria-label="Unit Test Text"
|
|
41
|
+
data-react-aria-pressable={true}
|
|
39
42
|
onClick={[Function]}
|
|
40
43
|
onDragStart={[Function]}
|
|
41
44
|
onKeyDown={[Function]}
|
|
@@ -47,6 +50,7 @@ exports[`it does not render an icon when passed an invalid one 1`] = `
|
|
|
47
50
|
onTouchEnd={[Function]}
|
|
48
51
|
onTouchMove={[Function]}
|
|
49
52
|
onTouchStart={[Function]}
|
|
53
|
+
tabIndex={0}
|
|
50
54
|
type="button"
|
|
51
55
|
>
|
|
52
56
|
<Icon
|
|
@@ -68,6 +72,7 @@ exports[`it fills the icon when isFilled is true 1`] = `
|
|
|
68
72
|
<li>
|
|
69
73
|
<button
|
|
70
74
|
aria-label="Unit Test Text"
|
|
75
|
+
data-react-aria-pressable={true}
|
|
71
76
|
onClick={[Function]}
|
|
72
77
|
onDragStart={[Function]}
|
|
73
78
|
onKeyDown={[Function]}
|
|
@@ -79,6 +84,7 @@ exports[`it fills the icon when isFilled is true 1`] = `
|
|
|
79
84
|
onTouchEnd={[Function]}
|
|
80
85
|
onTouchMove={[Function]}
|
|
81
86
|
onTouchStart={[Function]}
|
|
87
|
+
tabIndex={0}
|
|
82
88
|
type="button"
|
|
83
89
|
>
|
|
84
90
|
<Icon
|
|
@@ -110,6 +116,7 @@ exports[`it renders an icon when passed a valid one 1`] = `
|
|
|
110
116
|
<li>
|
|
111
117
|
<button
|
|
112
118
|
aria-label="Unit Test Text"
|
|
119
|
+
data-react-aria-pressable={true}
|
|
113
120
|
onClick={[Function]}
|
|
114
121
|
onDragStart={[Function]}
|
|
115
122
|
onKeyDown={[Function]}
|
|
@@ -121,6 +128,7 @@ exports[`it renders an icon when passed a valid one 1`] = `
|
|
|
121
128
|
onTouchEnd={[Function]}
|
|
122
129
|
onTouchMove={[Function]}
|
|
123
130
|
onTouchStart={[Function]}
|
|
131
|
+
tabIndex={0}
|
|
124
132
|
type="button"
|
|
125
133
|
>
|
|
126
134
|
<Icon
|
|
@@ -79,6 +79,7 @@ exports[`it renders correctly 1`] = `
|
|
|
79
79
|
>
|
|
80
80
|
<button
|
|
81
81
|
className="checkoutButton"
|
|
82
|
+
data-react-aria-pressable={true}
|
|
82
83
|
disabled={false}
|
|
83
84
|
onDragStart={[Function]}
|
|
84
85
|
onKeyDown={[Function]}
|
|
@@ -90,6 +91,7 @@ exports[`it renders correctly 1`] = `
|
|
|
90
91
|
onTouchEnd={[Function]}
|
|
91
92
|
onTouchMove={[Function]}
|
|
92
93
|
onTouchStart={[Function]}
|
|
94
|
+
tabIndex={0}
|
|
93
95
|
type="button"
|
|
94
96
|
>
|
|
95
97
|
<span
|
|
@@ -131,6 +133,7 @@ exports[`it renders correctly 1`] = `
|
|
|
131
133
|
</button>
|
|
132
134
|
<button
|
|
133
135
|
className="editCartButton"
|
|
136
|
+
data-react-aria-pressable={true}
|
|
134
137
|
disabled={false}
|
|
135
138
|
onDragStart={[Function]}
|
|
136
139
|
onKeyDown={[Function]}
|
|
@@ -142,6 +145,7 @@ exports[`it renders correctly 1`] = `
|
|
|
142
145
|
onTouchEnd={[Function]}
|
|
143
146
|
onTouchMove={[Function]}
|
|
144
147
|
onTouchStart={[Function]}
|
|
148
|
+
tabIndex={0}
|
|
145
149
|
type="button"
|
|
146
150
|
>
|
|
147
151
|
<span
|
package/lib/components/MyAccount/ResetPassword/__tests__/__snapshots__/resetPassword.spec.js.snap
CHANGED
|
@@ -106,6 +106,7 @@ exports[`should render formErrors 1`] = `
|
|
|
106
106
|
aria-hidden="false"
|
|
107
107
|
>
|
|
108
108
|
<button
|
|
109
|
+
data-react-aria-pressable={true}
|
|
109
110
|
disabled={false}
|
|
110
111
|
onClick={[Function]}
|
|
111
112
|
onDragStart={[Function]}
|
|
@@ -118,6 +119,7 @@ exports[`should render formErrors 1`] = `
|
|
|
118
119
|
onTouchEnd={[Function]}
|
|
119
120
|
onTouchMove={[Function]}
|
|
120
121
|
onTouchStart={[Function]}
|
|
122
|
+
tabIndex={0}
|
|
121
123
|
type="button"
|
|
122
124
|
>
|
|
123
125
|
<span>
|
|
@@ -151,6 +153,7 @@ exports[`should render formErrors 1`] = `
|
|
|
151
153
|
</div>
|
|
152
154
|
<div>
|
|
153
155
|
<button
|
|
156
|
+
data-react-aria-pressable={true}
|
|
154
157
|
disabled={false}
|
|
155
158
|
onClick={[Function]}
|
|
156
159
|
onDragStart={[Function]}
|
|
@@ -163,6 +166,7 @@ exports[`should render formErrors 1`] = `
|
|
|
163
166
|
onTouchEnd={[Function]}
|
|
164
167
|
onTouchMove={[Function]}
|
|
165
168
|
onTouchStart={[Function]}
|
|
169
|
+
tabIndex={0}
|
|
166
170
|
type="submit"
|
|
167
171
|
>
|
|
168
172
|
<span>
|
|
@@ -260,6 +264,7 @@ exports[`should render properly 1`] = `
|
|
|
260
264
|
aria-hidden="false"
|
|
261
265
|
>
|
|
262
266
|
<button
|
|
267
|
+
data-react-aria-pressable={true}
|
|
263
268
|
disabled={false}
|
|
264
269
|
onClick={[Function]}
|
|
265
270
|
onDragStart={[Function]}
|
|
@@ -272,6 +277,7 @@ exports[`should render properly 1`] = `
|
|
|
272
277
|
onTouchEnd={[Function]}
|
|
273
278
|
onTouchMove={[Function]}
|
|
274
279
|
onTouchStart={[Function]}
|
|
280
|
+
tabIndex={0}
|
|
275
281
|
type="button"
|
|
276
282
|
>
|
|
277
283
|
<span>
|
|
@@ -305,6 +311,7 @@ exports[`should render properly 1`] = `
|
|
|
305
311
|
</div>
|
|
306
312
|
<div>
|
|
307
313
|
<button
|
|
314
|
+
data-react-aria-pressable={true}
|
|
308
315
|
disabled={false}
|
|
309
316
|
onClick={[Function]}
|
|
310
317
|
onDragStart={[Function]}
|
|
@@ -317,6 +324,7 @@ exports[`should render properly 1`] = `
|
|
|
317
324
|
onTouchEnd={[Function]}
|
|
318
325
|
onTouchMove={[Function]}
|
|
319
326
|
onTouchStart={[Function]}
|
|
327
|
+
tabIndex={0}
|
|
320
328
|
type="submit"
|
|
321
329
|
>
|
|
322
330
|
<span>
|
package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/item.spec.js.snap
CHANGED
|
@@ -93,6 +93,7 @@ https://www.venia.com/product1-thumbnail.jpg?auto=webp&format=pjpg&width=2560&he
|
|
|
93
93
|
</span>
|
|
94
94
|
</div>
|
|
95
95
|
<button
|
|
96
|
+
data-react-aria-pressable={true}
|
|
96
97
|
disabled={false}
|
|
97
98
|
onClick={[Function]}
|
|
98
99
|
onDragStart={[Function]}
|
|
@@ -105,6 +106,7 @@ https://www.venia.com/product1-thumbnail.jpg?auto=webp&format=pjpg&width=2560&he
|
|
|
105
106
|
onTouchEnd={[Function]}
|
|
106
107
|
onTouchMove={[Function]}
|
|
107
108
|
onTouchStart={[Function]}
|
|
109
|
+
tabIndex={0}
|
|
108
110
|
type="button"
|
|
109
111
|
>
|
|
110
112
|
<span>
|
|
@@ -193,6 +193,7 @@ exports[`should render properly 1`] = `
|
|
|
193
193
|
/>
|
|
194
194
|
</div>
|
|
195
195
|
<button
|
|
196
|
+
data-react-aria-pressable={true}
|
|
196
197
|
disabled={false}
|
|
197
198
|
onClick={[Function]}
|
|
198
199
|
onDragStart={[Function]}
|
|
@@ -205,6 +206,7 @@ exports[`should render properly 1`] = `
|
|
|
205
206
|
onTouchEnd={[Function]}
|
|
206
207
|
onTouchMove={[Function]}
|
|
207
208
|
onTouchStart={[Function]}
|
|
209
|
+
tabIndex={0}
|
|
208
210
|
type="button"
|
|
209
211
|
>
|
|
210
212
|
<span>
|
|
@@ -254,6 +256,7 @@ exports[`should render with reduced order information 1`] = `
|
|
|
254
256
|
<div />
|
|
255
257
|
<div />
|
|
256
258
|
<button
|
|
259
|
+
data-react-aria-pressable={true}
|
|
257
260
|
disabled={false}
|
|
258
261
|
onClick={[Function]}
|
|
259
262
|
onDragStart={[Function]}
|
|
@@ -266,6 +269,7 @@ exports[`should render with reduced order information 1`] = `
|
|
|
266
269
|
onTouchEnd={[Function]}
|
|
267
270
|
onTouchMove={[Function]}
|
|
268
271
|
onTouchStart={[Function]}
|
|
272
|
+
tabIndex={0}
|
|
269
273
|
type="button"
|
|
270
274
|
>
|
|
271
275
|
<span>
|
package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderHistoryPage.spec.js.snap
CHANGED
|
@@ -104,6 +104,7 @@ exports[`renders correctly with data 1`] = `
|
|
|
104
104
|
<button
|
|
105
105
|
aria-label="submit"
|
|
106
106
|
className="searchButton"
|
|
107
|
+
data-react-aria-pressable={true}
|
|
107
108
|
disabled={false}
|
|
108
109
|
onClick={[Function]}
|
|
109
110
|
onDragStart={[Function]}
|
|
@@ -116,6 +117,7 @@ exports[`renders correctly with data 1`] = `
|
|
|
116
117
|
onTouchEnd={[Function]}
|
|
117
118
|
onTouchMove={[Function]}
|
|
118
119
|
onTouchStart={[Function]}
|
|
120
|
+
tabIndex={0}
|
|
119
121
|
type="submit"
|
|
120
122
|
>
|
|
121
123
|
<span
|
|
@@ -178,6 +180,7 @@ exports[`renders correctly with data 1`] = `
|
|
|
178
180
|
</ul>
|
|
179
181
|
<button
|
|
180
182
|
className="root_lowPriority"
|
|
183
|
+
data-react-aria-pressable={true}
|
|
181
184
|
disabled={false}
|
|
182
185
|
onClick={[MockFunction loadMoreOrders]}
|
|
183
186
|
onDragStart={[Function]}
|
|
@@ -190,6 +193,7 @@ exports[`renders correctly with data 1`] = `
|
|
|
190
193
|
onTouchEnd={[Function]}
|
|
191
194
|
onTouchMove={[Function]}
|
|
192
195
|
onTouchStart={[Function]}
|
|
196
|
+
tabIndex={0}
|
|
193
197
|
type="button"
|
|
194
198
|
>
|
|
195
199
|
<span
|
|
@@ -298,6 +302,7 @@ exports[`renders correctly without data 1`] = `
|
|
|
298
302
|
<button
|
|
299
303
|
aria-label="submit"
|
|
300
304
|
className="searchButton"
|
|
305
|
+
data-react-aria-pressable={true}
|
|
301
306
|
disabled={false}
|
|
302
307
|
onClick={[Function]}
|
|
303
308
|
onDragStart={[Function]}
|
|
@@ -310,6 +315,7 @@ exports[`renders correctly without data 1`] = `
|
|
|
310
315
|
onTouchEnd={[Function]}
|
|
311
316
|
onTouchMove={[Function]}
|
|
312
317
|
onTouchStart={[Function]}
|
|
318
|
+
tabIndex={0}
|
|
313
319
|
type="submit"
|
|
314
320
|
>
|
|
315
321
|
<span
|
|
@@ -519,6 +525,7 @@ exports[`renders invalid order id message if order id is wrong 1`] = `
|
|
|
519
525
|
<button
|
|
520
526
|
aria-label="submit"
|
|
521
527
|
className="searchButton"
|
|
528
|
+
data-react-aria-pressable={true}
|
|
522
529
|
disabled={false}
|
|
523
530
|
onClick={[Function]}
|
|
524
531
|
onDragStart={[Function]}
|
|
@@ -531,6 +538,7 @@ exports[`renders invalid order id message if order id is wrong 1`] = `
|
|
|
531
538
|
onTouchEnd={[Function]}
|
|
532
539
|
onTouchMove={[Function]}
|
|
533
540
|
onTouchStart={[Function]}
|
|
541
|
+
tabIndex={0}
|
|
534
542
|
type="submit"
|
|
535
543
|
>
|
|
536
544
|
<span
|
|
@@ -676,6 +684,7 @@ exports[`renders loading indicator 1`] = `
|
|
|
676
684
|
<button
|
|
677
685
|
aria-label="submit"
|
|
678
686
|
className="searchButton"
|
|
687
|
+
data-react-aria-pressable={true}
|
|
679
688
|
disabled={true}
|
|
680
689
|
onClick={[Function]}
|
|
681
690
|
onDragStart={[Function]}
|
|
@@ -892,6 +901,7 @@ exports[`renders no orders message is orders is empty 1`] = `
|
|
|
892
901
|
<button
|
|
893
902
|
aria-label="submit"
|
|
894
903
|
className="searchButton"
|
|
904
|
+
data-react-aria-pressable={true}
|
|
895
905
|
disabled={false}
|
|
896
906
|
onClick={[Function]}
|
|
897
907
|
onDragStart={[Function]}
|
|
@@ -904,6 +914,7 @@ exports[`renders no orders message is orders is empty 1`] = `
|
|
|
904
914
|
onTouchEnd={[Function]}
|
|
905
915
|
onTouchMove={[Function]}
|
|
906
916
|
onTouchStart={[Function]}
|
|
917
|
+
tabIndex={0}
|
|
907
918
|
type="submit"
|
|
908
919
|
>
|
|
909
920
|
<span
|
|
@@ -77,6 +77,7 @@ exports[`should render show button if visible is false 1`] = `
|
|
|
77
77
|
aria-hidden="false"
|
|
78
78
|
>
|
|
79
79
|
<button
|
|
80
|
+
data-react-aria-pressable={true}
|
|
80
81
|
disabled={false}
|
|
81
82
|
onClick={[MockFunction]}
|
|
82
83
|
onDragStart={[Function]}
|
|
@@ -89,6 +90,7 @@ exports[`should render show button if visible is false 1`] = `
|
|
|
89
90
|
onTouchEnd={[Function]}
|
|
90
91
|
onTouchMove={[Function]}
|
|
91
92
|
onTouchStart={[Function]}
|
|
93
|
+
tabIndex={0}
|
|
92
94
|
type="button"
|
|
93
95
|
>
|
|
94
96
|
<span>
|
|
@@ -158,6 +160,7 @@ exports[`should render toggle button if isToggleButtonHidden is false 1`] = `
|
|
|
158
160
|
aria-hidden="false"
|
|
159
161
|
>
|
|
160
162
|
<button
|
|
163
|
+
data-react-aria-pressable={true}
|
|
161
164
|
disabled={false}
|
|
162
165
|
onClick={[MockFunction]}
|
|
163
166
|
onDragStart={[Function]}
|
|
@@ -170,6 +173,7 @@ exports[`should render toggle button if isToggleButtonHidden is false 1`] = `
|
|
|
170
173
|
onTouchEnd={[Function]}
|
|
171
174
|
onTouchMove={[Function]}
|
|
172
175
|
onTouchStart={[Function]}
|
|
176
|
+
tabIndex={0}
|
|
173
177
|
type="button"
|
|
174
178
|
>
|
|
175
179
|
<span>
|
package/lib/components/ProductFullDetail/__tests__/__snapshots__/productFullDetail.spec.js.snap
CHANGED
|
@@ -106,6 +106,7 @@ exports[`it disables the add to cart button when the talon indicates 1`] = `
|
|
|
106
106
|
aria-disabled={true}
|
|
107
107
|
aria-label=""
|
|
108
108
|
className="root_highPriority"
|
|
109
|
+
data-react-aria-pressable={true}
|
|
109
110
|
disabled={true}
|
|
110
111
|
onClick={[Function]}
|
|
111
112
|
onDragStart={[Function]}
|
|
@@ -257,6 +258,7 @@ exports[`it does not render options if the product is not a ConfigurableProduct
|
|
|
257
258
|
aria-disabled={false}
|
|
258
259
|
aria-label=""
|
|
259
260
|
className="root_highPriority"
|
|
261
|
+
data-react-aria-pressable={true}
|
|
260
262
|
disabled={false}
|
|
261
263
|
onClick={[Function]}
|
|
262
264
|
onDragStart={[Function]}
|
|
@@ -269,6 +271,7 @@ exports[`it does not render options if the product is not a ConfigurableProduct
|
|
|
269
271
|
onTouchEnd={[Function]}
|
|
270
272
|
onTouchMove={[Function]}
|
|
271
273
|
onTouchStart={[Function]}
|
|
274
|
+
tabIndex={0}
|
|
272
275
|
type="submit"
|
|
273
276
|
>
|
|
274
277
|
<span
|
|
@@ -444,6 +447,7 @@ exports[`it renders an error for an invalid cart 1`] = `
|
|
|
444
447
|
aria-disabled={false}
|
|
445
448
|
aria-label=""
|
|
446
449
|
className="root_highPriority"
|
|
450
|
+
data-react-aria-pressable={true}
|
|
447
451
|
disabled={false}
|
|
448
452
|
onClick={[Function]}
|
|
449
453
|
onDragStart={[Function]}
|
|
@@ -456,6 +460,7 @@ exports[`it renders an error for an invalid cart 1`] = `
|
|
|
456
460
|
onTouchEnd={[Function]}
|
|
457
461
|
onTouchMove={[Function]}
|
|
458
462
|
onTouchStart={[Function]}
|
|
463
|
+
tabIndex={0}
|
|
459
464
|
type="submit"
|
|
460
465
|
>
|
|
461
466
|
<span
|
|
@@ -631,6 +636,7 @@ exports[`it renders an error for an invalid user token when adding to cart 1`] =
|
|
|
631
636
|
aria-disabled={false}
|
|
632
637
|
aria-label=""
|
|
633
638
|
className="root_highPriority"
|
|
639
|
+
data-react-aria-pressable={true}
|
|
634
640
|
disabled={false}
|
|
635
641
|
onClick={[Function]}
|
|
636
642
|
onDragStart={[Function]}
|
|
@@ -643,6 +649,7 @@ exports[`it renders an error for an invalid user token when adding to cart 1`] =
|
|
|
643
649
|
onTouchEnd={[Function]}
|
|
644
650
|
onTouchMove={[Function]}
|
|
645
651
|
onTouchStart={[Function]}
|
|
652
|
+
tabIndex={0}
|
|
646
653
|
type="submit"
|
|
647
654
|
>
|
|
648
655
|
<span
|
|
@@ -819,6 +826,7 @@ Array [
|
|
|
819
826
|
aria-disabled={false}
|
|
820
827
|
aria-label=""
|
|
821
828
|
className="root_highPriority"
|
|
829
|
+
data-react-aria-pressable={true}
|
|
822
830
|
disabled={false}
|
|
823
831
|
onClick={[Function]}
|
|
824
832
|
onDragStart={[Function]}
|
|
@@ -831,6 +839,7 @@ Array [
|
|
|
831
839
|
onTouchEnd={[Function]}
|
|
832
840
|
onTouchMove={[Function]}
|
|
833
841
|
onTouchStart={[Function]}
|
|
842
|
+
tabIndex={0}
|
|
834
843
|
type="submit"
|
|
835
844
|
>
|
|
836
845
|
<span
|
|
@@ -1003,6 +1012,7 @@ exports[`it renders correctly 1`] = `
|
|
|
1003
1012
|
aria-disabled={false}
|
|
1004
1013
|
aria-label=""
|
|
1005
1014
|
className="root_highPriority"
|
|
1015
|
+
data-react-aria-pressable={true}
|
|
1006
1016
|
disabled={false}
|
|
1007
1017
|
onClick={[Function]}
|
|
1008
1018
|
onDragStart={[Function]}
|
|
@@ -1015,6 +1025,7 @@ exports[`it renders correctly 1`] = `
|
|
|
1015
1025
|
onTouchEnd={[Function]}
|
|
1016
1026
|
onTouchMove={[Function]}
|
|
1017
1027
|
onTouchStart={[Function]}
|
|
1028
|
+
tabIndex={0}
|
|
1018
1029
|
type="submit"
|
|
1019
1030
|
>
|
|
1020
1031
|
<span
|
|
@@ -1186,6 +1197,7 @@ exports[`it renders field level errors for quantity - message 1 1`] = `
|
|
|
1186
1197
|
aria-disabled={false}
|
|
1187
1198
|
aria-label=""
|
|
1188
1199
|
className="root_highPriority"
|
|
1200
|
+
data-react-aria-pressable={true}
|
|
1189
1201
|
disabled={false}
|
|
1190
1202
|
onClick={[Function]}
|
|
1191
1203
|
onDragStart={[Function]}
|
|
@@ -1198,6 +1210,7 @@ exports[`it renders field level errors for quantity - message 1 1`] = `
|
|
|
1198
1210
|
onTouchEnd={[Function]}
|
|
1199
1211
|
onTouchMove={[Function]}
|
|
1200
1212
|
onTouchStart={[Function]}
|
|
1213
|
+
tabIndex={0}
|
|
1201
1214
|
type="submit"
|
|
1202
1215
|
>
|
|
1203
1216
|
<span
|
|
@@ -1369,6 +1382,7 @@ exports[`it renders field level errors for quantity - message 2 1`] = `
|
|
|
1369
1382
|
aria-disabled={false}
|
|
1370
1383
|
aria-label=""
|
|
1371
1384
|
className="root_highPriority"
|
|
1385
|
+
data-react-aria-pressable={true}
|
|
1372
1386
|
disabled={false}
|
|
1373
1387
|
onClick={[Function]}
|
|
1374
1388
|
onDragStart={[Function]}
|
|
@@ -1381,6 +1395,7 @@ exports[`it renders field level errors for quantity - message 2 1`] = `
|
|
|
1381
1395
|
onTouchEnd={[Function]}
|
|
1382
1396
|
onTouchMove={[Function]}
|
|
1383
1397
|
onTouchStart={[Function]}
|
|
1398
|
+
tabIndex={0}
|
|
1384
1399
|
type="submit"
|
|
1385
1400
|
>
|
|
1386
1401
|
<span
|
|
@@ -1552,6 +1567,7 @@ exports[`it renders field level errors for quantity - message 3 1`] = `
|
|
|
1552
1567
|
aria-disabled={false}
|
|
1553
1568
|
aria-label=""
|
|
1554
1569
|
className="root_highPriority"
|
|
1570
|
+
data-react-aria-pressable={true}
|
|
1555
1571
|
disabled={false}
|
|
1556
1572
|
onClick={[Function]}
|
|
1557
1573
|
onDragStart={[Function]}
|
|
@@ -1564,6 +1580,7 @@ exports[`it renders field level errors for quantity - message 3 1`] = `
|
|
|
1564
1580
|
onTouchEnd={[Function]}
|
|
1565
1581
|
onTouchMove={[Function]}
|
|
1566
1582
|
onTouchStart={[Function]}
|
|
1583
|
+
tabIndex={0}
|
|
1567
1584
|
type="submit"
|
|
1568
1585
|
>
|
|
1569
1586
|
<span
|
|
@@ -1739,6 +1756,7 @@ exports[`it renders form level errors 1`] = `
|
|
|
1739
1756
|
aria-disabled={false}
|
|
1740
1757
|
aria-label=""
|
|
1741
1758
|
className="root_highPriority"
|
|
1759
|
+
data-react-aria-pressable={true}
|
|
1742
1760
|
disabled={false}
|
|
1743
1761
|
onClick={[Function]}
|
|
1744
1762
|
onDragStart={[Function]}
|
|
@@ -1751,6 +1769,7 @@ exports[`it renders form level errors 1`] = `
|
|
|
1751
1769
|
onTouchEnd={[Function]}
|
|
1752
1770
|
onTouchMove={[Function]}
|
|
1753
1771
|
onTouchStart={[Function]}
|
|
1772
|
+
tabIndex={0}
|
|
1754
1773
|
type="submit"
|
|
1755
1774
|
>
|
|
1756
1775
|
<span
|
|
@@ -1922,6 +1941,7 @@ exports[`it renders message with everything out of stock 1`] = `
|
|
|
1922
1941
|
aria-disabled={true}
|
|
1923
1942
|
aria-label="This item is currently out of stock"
|
|
1924
1943
|
className="root_highPriority"
|
|
1944
|
+
data-react-aria-pressable={true}
|
|
1925
1945
|
disabled={true}
|
|
1926
1946
|
onClick={[Function]}
|
|
1927
1947
|
onDragStart={[Function]}
|
|
@@ -2264,6 +2284,7 @@ exports[`out of stock disabled CTA button is rendered if out of stock 1`] = `
|
|
|
2264
2284
|
aria-disabled={true}
|
|
2265
2285
|
aria-label=""
|
|
2266
2286
|
className="root_highPriority"
|
|
2287
|
+
data-react-aria-pressable={true}
|
|
2267
2288
|
disabled={true}
|
|
2268
2289
|
onClick={[Function]}
|
|
2269
2290
|
onDragStart={[Function]}
|
|
@@ -2447,6 +2468,7 @@ exports[`renders a WishlistButton with props 1`] = `
|
|
|
2447
2468
|
aria-disabled={false}
|
|
2448
2469
|
aria-label=""
|
|
2449
2470
|
className="root_highPriority"
|
|
2471
|
+
data-react-aria-pressable={true}
|
|
2450
2472
|
disabled={false}
|
|
2451
2473
|
onClick={[Function]}
|
|
2452
2474
|
onDragStart={[Function]}
|
|
@@ -2459,6 +2481,7 @@ exports[`renders a WishlistButton with props 1`] = `
|
|
|
2459
2481
|
onTouchEnd={[Function]}
|
|
2460
2482
|
onTouchMove={[Function]}
|
|
2461
2483
|
onTouchStart={[Function]}
|
|
2484
|
+
tabIndex={0}
|
|
2462
2485
|
type="submit"
|
|
2463
2486
|
>
|
|
2464
2487
|
<span
|
|
@@ -10,6 +10,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
10
10
|
<button
|
|
11
11
|
aria-label="Previous Image"
|
|
12
12
|
className="previousButton"
|
|
13
|
+
data-react-aria-pressable={true}
|
|
13
14
|
onClick={[Function]}
|
|
14
15
|
onDragStart={[Function]}
|
|
15
16
|
onKeyDown={[Function]}
|
|
@@ -21,6 +22,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
21
22
|
onTouchEnd={[Function]}
|
|
22
23
|
onTouchMove={[Function]}
|
|
23
24
|
onTouchStart={[Function]}
|
|
25
|
+
tabIndex={0}
|
|
24
26
|
type="button"
|
|
25
27
|
>
|
|
26
28
|
<span
|
|
@@ -68,6 +70,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
68
70
|
<button
|
|
69
71
|
aria-label="Next Image"
|
|
70
72
|
className="nextButton"
|
|
73
|
+
data-react-aria-pressable={true}
|
|
71
74
|
onClick={[Function]}
|
|
72
75
|
onDragStart={[Function]}
|
|
73
76
|
onKeyDown={[Function]}
|
|
@@ -79,6 +82,7 @@ exports[`renders a transparent main image if no file name is provided 1`] = `
|
|
|
79
82
|
onTouchEnd={[Function]}
|
|
80
83
|
onTouchMove={[Function]}
|
|
81
84
|
onTouchStart={[Function]}
|
|
85
|
+
tabIndex={0}
|
|
82
86
|
type="button"
|
|
83
87
|
>
|
|
84
88
|
<span
|
|
@@ -119,6 +123,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
119
123
|
<button
|
|
120
124
|
aria-label="Previous Image"
|
|
121
125
|
className="previousButton"
|
|
126
|
+
data-react-aria-pressable={true}
|
|
122
127
|
onClick={[Function]}
|
|
123
128
|
onDragStart={[Function]}
|
|
124
129
|
onKeyDown={[Function]}
|
|
@@ -130,6 +135,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
130
135
|
onTouchEnd={[Function]}
|
|
131
136
|
onTouchMove={[Function]}
|
|
132
137
|
onTouchStart={[Function]}
|
|
138
|
+
tabIndex={0}
|
|
133
139
|
type="button"
|
|
134
140
|
>
|
|
135
141
|
<span
|
|
@@ -198,6 +204,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
198
204
|
<button
|
|
199
205
|
aria-label="Next Image"
|
|
200
206
|
className="nextButton"
|
|
207
|
+
data-react-aria-pressable={true}
|
|
201
208
|
onClick={[Function]}
|
|
202
209
|
onDragStart={[Function]}
|
|
203
210
|
onKeyDown={[Function]}
|
|
@@ -209,6 +216,7 @@ exports[`renders the Carousel component correctly w/ sorted images 1`] = `
|
|
|
209
216
|
onTouchEnd={[Function]}
|
|
210
217
|
onTouchMove={[Function]}
|
|
211
218
|
onTouchStart={[Function]}
|
|
219
|
+
tabIndex={0}
|
|
212
220
|
type="button"
|
|
213
221
|
>
|
|
214
222
|
<span
|
|
@@ -6,6 +6,7 @@ exports[`renders correctly 1`] = `
|
|
|
6
6
|
>
|
|
7
7
|
<button
|
|
8
8
|
aria-label="Sort Button Collapsed"
|
|
9
|
+
data-react-aria-pressable={true}
|
|
9
10
|
disabled={false}
|
|
10
11
|
onClick={[Function]}
|
|
11
12
|
onDragStart={[Function]}
|
|
@@ -18,6 +19,7 @@ exports[`renders correctly 1`] = `
|
|
|
18
19
|
onTouchEnd={[Function]}
|
|
19
20
|
onTouchMove={[Function]}
|
|
20
21
|
onTouchStart={[Function]}
|
|
22
|
+
tabIndex={0}
|
|
21
23
|
type="button"
|
|
22
24
|
>
|
|
23
25
|
<span>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useQuery } from '@apollo/client';
|
|
3
|
+
import { Helmet } from 'react-helmet-async';
|
|
4
|
+
import { GET_ROBOTS_CONFIG } from './robotsMeta.gql';
|
|
5
|
+
|
|
6
|
+
const RobotsMeta = () => {
|
|
7
|
+
const { data, loading, error } = useQuery(GET_ROBOTS_CONFIG);
|
|
8
|
+
|
|
9
|
+
if (loading || error) {
|
|
10
|
+
return null;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const robots = data?.robotsConfig?.defaultRobots;
|
|
14
|
+
|
|
15
|
+
if (!robots) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<Helmet>
|
|
21
|
+
<meta name="robots" content={robots} />
|
|
22
|
+
</Helmet>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export default RobotsMeta;
|
|
@@ -27,6 +27,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
27
27
|
>
|
|
28
28
|
<button
|
|
29
29
|
className="root_normalPriority"
|
|
30
|
+
data-react-aria-pressable={true}
|
|
30
31
|
disabled={true}
|
|
31
32
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
32
33
|
onDragStart={[Function]}
|
|
@@ -95,6 +96,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
95
96
|
>
|
|
96
97
|
<button
|
|
97
98
|
className="root_normalPriorityNegative"
|
|
99
|
+
data-react-aria-pressable={true}
|
|
98
100
|
disabled={true}
|
|
99
101
|
onClick={[MockFunction handleDeletePayment]}
|
|
100
102
|
onDragStart={[Function]}
|
|
@@ -120,6 +122,7 @@ exports[`renders delete confirmation 1`] = `
|
|
|
120
122
|
</button>
|
|
121
123
|
<button
|
|
122
124
|
className="root_lowPriority"
|
|
125
|
+
data-react-aria-pressable={true}
|
|
123
126
|
disabled={true}
|
|
124
127
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
125
128
|
onDragStart={[Function]}
|
|
@@ -196,6 +199,7 @@ exports[`should render properly 1`] = `
|
|
|
196
199
|
>
|
|
197
200
|
<button
|
|
198
201
|
className="root_normalPriority"
|
|
202
|
+
data-react-aria-pressable={true}
|
|
199
203
|
disabled={false}
|
|
200
204
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
201
205
|
onDragStart={[Function]}
|
|
@@ -208,6 +212,7 @@ exports[`should render properly 1`] = `
|
|
|
208
212
|
onTouchEnd={[Function]}
|
|
209
213
|
onTouchMove={[Function]}
|
|
210
214
|
onTouchStart={[Function]}
|
|
215
|
+
tabIndex={0}
|
|
211
216
|
type="button"
|
|
212
217
|
>
|
|
213
218
|
<span
|
|
@@ -264,6 +269,7 @@ exports[`should render properly 1`] = `
|
|
|
264
269
|
>
|
|
265
270
|
<button
|
|
266
271
|
className="root_normalPriorityNegative"
|
|
272
|
+
data-react-aria-pressable={true}
|
|
267
273
|
disabled={false}
|
|
268
274
|
onClick={[MockFunction handleDeletePayment]}
|
|
269
275
|
onDragStart={[Function]}
|
|
@@ -276,6 +282,7 @@ exports[`should render properly 1`] = `
|
|
|
276
282
|
onTouchEnd={[Function]}
|
|
277
283
|
onTouchMove={[Function]}
|
|
278
284
|
onTouchStart={[Function]}
|
|
285
|
+
tabIndex={0}
|
|
279
286
|
type="button"
|
|
280
287
|
>
|
|
281
288
|
<span
|
|
@@ -289,6 +296,7 @@ exports[`should render properly 1`] = `
|
|
|
289
296
|
</button>
|
|
290
297
|
<button
|
|
291
298
|
className="root_lowPriority"
|
|
299
|
+
data-react-aria-pressable={true}
|
|
292
300
|
disabled={false}
|
|
293
301
|
onClick={[MockFunction toggleDeleteConfirmation]}
|
|
294
302
|
onDragStart={[Function]}
|
|
@@ -301,6 +309,7 @@ exports[`should render properly 1`] = `
|
|
|
301
309
|
onTouchEnd={[Function]}
|
|
302
310
|
onTouchMove={[Function]}
|
|
303
311
|
onTouchStart={[Function]}
|
|
312
|
+
tabIndex={0}
|
|
304
313
|
type="button"
|
|
305
314
|
>
|
|
306
315
|
<span
|