@magento/venia-ui 9.7.0 → 10.0.0-alpha.1
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/i18n/en_US.json +23 -2
- package/lib/RootComponents/Category/NoProductsFound/noProductsFound.js +1 -1
- package/lib/RootComponents/Category/__tests__/__snapshots__/categoryContent.shimmer.spec.js.snap +6 -0
- package/lib/components/AccountChip/__tests__/__snapshots__/accountChip.spec.js.snap +3 -0
- package/lib/components/AccountChip/accountChip.js +14 -1
- package/lib/components/AccountInformationPage/__tests__/__snapshots__/editForm.spec.js.snap +15 -0
- package/lib/components/AddressBookPage/__tests__/__snapshots__/addEditDialog.spec.js.snap +28 -0
- package/lib/components/App/__tests__/app.spec.js +3 -1
- package/lib/components/App/app.js +1 -1
- package/lib/components/CartPage/GiftCards/__tests__/__snapshots__/giftCards.spec.js.snap +2 -0
- package/lib/components/CartPage/PriceAdjustments/CouponCode/__tests__/__snapshots__/couponCode.spec.js.snap +9 -3
- package/lib/components/CartPage/PriceAdjustments/ShippingMethods/__tests__/__snapshots__/shippingForm.spec.js.snap +15 -0
- package/lib/components/CartPage/PriceSummary/__tests__/__snapshots__/priceSummary.spec.js.snap +0 -2
- package/lib/components/CartPage/PriceSummary/priceSummary.js +2 -0
- package/lib/components/CartPage/ProductListing/EditModal/__tests__/__snapshots__/productForm.spec.js.snap +4 -0
- package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/product.spec.js.snap +6 -0
- package/lib/components/CartPage/ProductListing/__tests__/__snapshots__/quantity.spec.js.snap +1 -0
- package/lib/components/CategoryTree/categoryBranch.js +1 -1
- package/lib/components/CategoryTree/categoryLeaf.js +1 -1
- package/lib/components/CategoryTree/categoryTree.js +1 -1
- package/lib/components/Checkout/__tests__/__snapshots__/addressForm.spec.js.snap +16 -0
- package/lib/components/Checkout/__tests__/__snapshots__/paymentsForm.spec.js.snap +7 -0
- package/lib/components/Checkout/section.module.css +0 -1
- package/lib/components/CheckoutPage/ItemsReview/__tests__/__snapshots__/itemsReview.spec.js.snap +3 -0
- package/lib/components/CheckoutPage/OrderConfirmationPage/__tests__/__snapshots__/createAccount.spec.js.snap +20 -0
- package/lib/components/CheckoutPage/OrderConfirmationPage/createAccount.js +16 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/customerForm.spec.js.snap +46 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/__tests__/__snapshots__/guestForm.spec.js.snap +68 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/customerForm.js +36 -0
- package/lib/components/CheckoutPage/ShippingInformation/AddressForm/guestForm.js +36 -0
- package/lib/components/CheckoutPage/__tests__/__snapshots__/checkoutPage.spec.js.snap +1 -1
- package/lib/components/CheckoutPage/checkoutPage.js +4 -0
- package/lib/components/Country/__tests__/__snapshots__/country.spec.js.snap +2 -0
- package/lib/components/CreateAccount/__tests__/__snapshots__/createAccount.spec.js.snap +36 -10
- package/lib/components/CreateAccount/createAccount.js +18 -0
- package/lib/components/Field/fieldIcons.js +3 -1
- package/lib/components/FilterModalOpenButton/filterModalOpenButton.js +12 -2
- package/lib/components/ForgotPassword/ForgotPasswordForm/__tests__/__snapshots__/forgotPasswordForm.spec.js.snap +2 -0
- package/lib/components/Gallery/__tests__/__snapshots__/gallery.spec.js.snap +2 -0
- package/lib/components/Gallery/__tests__/__snapshots__/item.spec.js.snap +3 -0
- package/lib/components/Gallery/item.js +1 -0
- package/lib/components/Header/__tests__/__snapshots__/accountTrigger.spec.js.snap +1 -1
- package/lib/components/Header/accountTrigger.js +12 -5
- package/lib/components/Image/placeholderImage.js +1 -0
- package/lib/components/LegacyMiniCart/__tests__/__snapshots__/kebab.spec.js.snap +2 -0
- package/lib/components/LegacyMiniCart/__tests__/__snapshots__/miniCart.spec.js.snap +3 -0
- package/lib/components/LegacyMiniCart/kebab.js +14 -0
- package/lib/components/Link/__tests__/link.spec.js +8 -6
- package/lib/components/Link/link.js +1 -1
- package/lib/components/MiniCart/ProductList/__tests__/__snapshots__/item.spec.js.snap +8 -0
- package/lib/components/MiniCart/ProductList/item.js +11 -0
- package/lib/components/MyAccount/ResetPassword/__tests__/__snapshots__/resetPassword.spec.js.snap +16 -4
- package/lib/components/Newsletter/__tests__/__snapshots__/newsletter.spec.js.snap +2 -0
- package/lib/components/OrderHistoryPage/OrderDetails/__tests__/__snapshots__/item.spec.js.snap +1 -0
- package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderHistoryPage.spec.js.snap +13 -0
- package/lib/components/OrderHistoryPage/__tests__/__snapshots__/orderRow.spec.js.snap +4 -0
- package/lib/components/OrderHistoryPage/__tests__/__snapshots__/resetButton.spec.js.snap +3 -0
- package/lib/components/OrderHistoryPage/collapsedImageGallery.js +3 -3
- package/lib/components/OrderHistoryPage/orderHistoryPage.js +1 -0
- package/lib/components/OrderHistoryPage/orderRow.js +1 -0
- package/lib/components/OrderHistoryPage/resetButton.js +13 -2
- package/lib/components/PageLoadingIndicator/__tests__/pageLoadingIndicator.spec.js +1 -1
- package/lib/components/PageLoadingIndicator/pageLoadingIndicator.js +1 -1
- package/lib/components/Password/__tests__/__snapshots__/password.spec.js.snap +13 -3
- package/lib/components/Password/password.js +24 -2
- package/lib/components/ProductImageCarousel/__tests__/__snapshots__/carousel.spec.js.snap +18 -16
- package/lib/components/ProductImageCarousel/__tests__/__snapshots__/thumbnail.spec.js.snap +12 -12
- package/lib/components/ProductImageCarousel/__tests__/thumbnail.spec.js +2 -2
- package/lib/components/ProductImageCarousel/thumbnail.js +4 -5
- package/lib/components/ProductImageCarousel/thumbnail.module.css +0 -1
- package/lib/components/ProductOptions/__tests__/__snapshots__/swatch.spec.js.snap +6 -0
- package/lib/components/ProductOptions/__tests__/__snapshots__/swatchList.spec.js.snap +1 -0
- package/lib/components/ProductOptions/__tests__/swatch.spec.js +2 -1
- package/lib/components/ProductOptions/option.js +1 -0
- package/lib/components/ProductOptions/swatch.js +5 -2
- package/lib/components/ProductOptions/swatchList.js +5 -2
- package/lib/components/ProductSort/__tests__/__snapshots__/productSort.spec.js.snap +1 -0
- package/lib/components/ProductSort/productSort.js +17 -0
- package/lib/components/QuantityStepper/quantityStepper.module.css +0 -2
- package/lib/components/Region/__tests__/__snapshots__/region.spec.js.snap +3 -0
- package/lib/components/SearchBar/__tests__/__snapshots__/searchField.spec.js.snap +1 -0
- package/lib/components/SearchBar/__tests__/__snapshots__/suggestedProduct.spec.js.snap +1 -0
- package/lib/components/SearchBar/searchBar.js +6 -1
- package/lib/components/SearchBar/searchField.js +4 -2
- package/lib/components/SearchPage/__tests__/__snapshots__/searchPage.spec.js.snap +28 -28
- package/lib/components/SearchPage/searchPage.js +6 -4
- package/lib/components/SignIn/__tests__/__snapshots__/signIn.spec.js.snap +12 -0
- package/lib/components/SignIn/signIn.js +10 -0
- package/lib/components/Trigger/__tests__/__snapshots__/trigger.spec.js.snap +8 -2
- package/lib/components/Trigger/trigger.js +30 -5
- package/lib/components/Wishlist/WishlistDialog/CreateWishlistForm/__tests__/__snapshots__/createWishlistForm.spec.js.snap +2 -0
- package/lib/components/WishlistPage/__tests__/__snapshots__/createWishlist.ee.spec.js.snap +1 -0
- package/lib/components/WishlistPage/__tests__/__snapshots__/wishlistEditFavoritesListDialog.spec.js.snap +4 -0
- package/lib/components/WishlistPage/__tests__/__snapshots__/wishlistItem.spec.js.snap +2 -0
- package/lib/index.module.css +7 -9
- package/package.json +2 -2
|
@@ -36,6 +36,7 @@ Array [
|
|
|
36
36
|
className="input"
|
|
37
37
|
>
|
|
38
38
|
<input
|
|
39
|
+
aria-label="Email Required"
|
|
39
40
|
autoComplete="Shipping Email"
|
|
40
41
|
className="input"
|
|
41
42
|
id="email"
|
|
@@ -50,6 +51,7 @@ Array [
|
|
|
50
51
|
className="before"
|
|
51
52
|
/>
|
|
52
53
|
<span
|
|
54
|
+
aria-hidden="false"
|
|
53
55
|
className="after"
|
|
54
56
|
/>
|
|
55
57
|
</span>
|
|
@@ -91,6 +93,7 @@ Array [
|
|
|
91
93
|
className="input"
|
|
92
94
|
>
|
|
93
95
|
<input
|
|
96
|
+
aria-label="First Name Required"
|
|
94
97
|
autoComplete="First Name"
|
|
95
98
|
className="input"
|
|
96
99
|
id="firstname"
|
|
@@ -104,6 +107,7 @@ Array [
|
|
|
104
107
|
className="before"
|
|
105
108
|
/>
|
|
106
109
|
<span
|
|
110
|
+
aria-hidden="false"
|
|
107
111
|
className="after"
|
|
108
112
|
/>
|
|
109
113
|
</span>
|
|
@@ -137,6 +141,7 @@ Array [
|
|
|
137
141
|
className="input"
|
|
138
142
|
>
|
|
139
143
|
<input
|
|
144
|
+
aria-label="Last Name Required"
|
|
140
145
|
autoComplete="Last Name"
|
|
141
146
|
className="input"
|
|
142
147
|
id="lastname"
|
|
@@ -150,6 +155,7 @@ Array [
|
|
|
150
155
|
className="before"
|
|
151
156
|
/>
|
|
152
157
|
<span
|
|
158
|
+
aria-hidden="false"
|
|
153
159
|
className="after"
|
|
154
160
|
/>
|
|
155
161
|
</span>
|
|
@@ -162,6 +168,7 @@ Array [
|
|
|
162
168
|
className="country"
|
|
163
169
|
>
|
|
164
170
|
<Country
|
|
171
|
+
aria-label="Country Required"
|
|
165
172
|
autoComplete="Country"
|
|
166
173
|
validate={[Function]}
|
|
167
174
|
/>
|
|
@@ -191,6 +198,7 @@ Array [
|
|
|
191
198
|
className="input"
|
|
192
199
|
>
|
|
193
200
|
<input
|
|
201
|
+
aria-label="Street Address Required"
|
|
194
202
|
autoComplete="Street Address"
|
|
195
203
|
className="input"
|
|
196
204
|
id="street0"
|
|
@@ -204,6 +212,7 @@ Array [
|
|
|
204
212
|
className="before"
|
|
205
213
|
/>
|
|
206
214
|
<span
|
|
215
|
+
aria-hidden="false"
|
|
207
216
|
className="after"
|
|
208
217
|
/>
|
|
209
218
|
</span>
|
|
@@ -258,6 +267,7 @@ Array [
|
|
|
258
267
|
className="before"
|
|
259
268
|
/>
|
|
260
269
|
<span
|
|
270
|
+
aria-hidden="false"
|
|
261
271
|
className="after"
|
|
262
272
|
/>
|
|
263
273
|
</span>
|
|
@@ -291,6 +301,7 @@ Array [
|
|
|
291
301
|
className="input"
|
|
292
302
|
>
|
|
293
303
|
<input
|
|
304
|
+
aria-label="City Required"
|
|
294
305
|
autoComplete="City"
|
|
295
306
|
className="input"
|
|
296
307
|
id="city"
|
|
@@ -304,6 +315,7 @@ Array [
|
|
|
304
315
|
className="before"
|
|
305
316
|
/>
|
|
306
317
|
<span
|
|
318
|
+
aria-hidden="false"
|
|
307
319
|
className="after"
|
|
308
320
|
/>
|
|
309
321
|
</span>
|
|
@@ -316,6 +328,7 @@ Array [
|
|
|
316
328
|
className="region"
|
|
317
329
|
>
|
|
318
330
|
<Region
|
|
331
|
+
aria-label="State Required"
|
|
319
332
|
autoComplete="State"
|
|
320
333
|
fieldInput="region[region]"
|
|
321
334
|
fieldSelect="region[region_id]"
|
|
@@ -348,6 +361,7 @@ Array [
|
|
|
348
361
|
className="input"
|
|
349
362
|
>
|
|
350
363
|
<input
|
|
364
|
+
aria-label="ZIP / Postal Code Required"
|
|
351
365
|
autoComplete="ZIP / Postal Code"
|
|
352
366
|
className="input"
|
|
353
367
|
id="root"
|
|
@@ -361,6 +375,7 @@ Array [
|
|
|
361
375
|
className="before"
|
|
362
376
|
/>
|
|
363
377
|
<span
|
|
378
|
+
aria-hidden="false"
|
|
364
379
|
className="after"
|
|
365
380
|
/>
|
|
366
381
|
</span>
|
|
@@ -394,6 +409,7 @@ Array [
|
|
|
394
409
|
className="input"
|
|
395
410
|
>
|
|
396
411
|
<input
|
|
412
|
+
aria-label="Phone Number Required"
|
|
397
413
|
autoComplete="Phone Number"
|
|
398
414
|
className="input"
|
|
399
415
|
id="telephone"
|
|
@@ -407,6 +423,7 @@ Array [
|
|
|
407
423
|
className="before"
|
|
408
424
|
/>
|
|
409
425
|
<span
|
|
426
|
+
aria-hidden="false"
|
|
410
427
|
className="after"
|
|
411
428
|
/>
|
|
412
429
|
</span>
|
|
@@ -486,6 +503,7 @@ Array [
|
|
|
486
503
|
className="input"
|
|
487
504
|
>
|
|
488
505
|
<input
|
|
506
|
+
aria-label="Email Required"
|
|
489
507
|
autoComplete="Shipping Email"
|
|
490
508
|
className="input"
|
|
491
509
|
id="email"
|
|
@@ -500,6 +518,7 @@ Array [
|
|
|
500
518
|
className="before"
|
|
501
519
|
/>
|
|
502
520
|
<span
|
|
521
|
+
aria-hidden="false"
|
|
503
522
|
className="after"
|
|
504
523
|
/>
|
|
505
524
|
</span>
|
|
@@ -541,6 +560,7 @@ Array [
|
|
|
541
560
|
className="input"
|
|
542
561
|
>
|
|
543
562
|
<input
|
|
563
|
+
aria-label="First Name Required"
|
|
544
564
|
autoComplete="First Name"
|
|
545
565
|
className="input"
|
|
546
566
|
id="firstname"
|
|
@@ -554,6 +574,7 @@ Array [
|
|
|
554
574
|
className="before"
|
|
555
575
|
/>
|
|
556
576
|
<span
|
|
577
|
+
aria-hidden="false"
|
|
557
578
|
className="after"
|
|
558
579
|
/>
|
|
559
580
|
</span>
|
|
@@ -587,6 +608,7 @@ Array [
|
|
|
587
608
|
className="input"
|
|
588
609
|
>
|
|
589
610
|
<input
|
|
611
|
+
aria-label="Last Name Required"
|
|
590
612
|
autoComplete="Last Name"
|
|
591
613
|
className="input"
|
|
592
614
|
id="lastname"
|
|
@@ -600,6 +622,7 @@ Array [
|
|
|
600
622
|
className="before"
|
|
601
623
|
/>
|
|
602
624
|
<span
|
|
625
|
+
aria-hidden="false"
|
|
603
626
|
className="after"
|
|
604
627
|
/>
|
|
605
628
|
</span>
|
|
@@ -612,6 +635,7 @@ Array [
|
|
|
612
635
|
className="country"
|
|
613
636
|
>
|
|
614
637
|
<Country
|
|
638
|
+
aria-label="Country Required"
|
|
615
639
|
autoComplete="Country"
|
|
616
640
|
validate={[Function]}
|
|
617
641
|
/>
|
|
@@ -641,6 +665,7 @@ Array [
|
|
|
641
665
|
className="input"
|
|
642
666
|
>
|
|
643
667
|
<input
|
|
668
|
+
aria-label="Street Address Required"
|
|
644
669
|
autoComplete="Street Address"
|
|
645
670
|
className="input"
|
|
646
671
|
id="street0"
|
|
@@ -654,6 +679,7 @@ Array [
|
|
|
654
679
|
className="before"
|
|
655
680
|
/>
|
|
656
681
|
<span
|
|
682
|
+
aria-hidden="false"
|
|
657
683
|
className="after"
|
|
658
684
|
/>
|
|
659
685
|
</span>
|
|
@@ -708,6 +734,7 @@ Array [
|
|
|
708
734
|
className="before"
|
|
709
735
|
/>
|
|
710
736
|
<span
|
|
737
|
+
aria-hidden="false"
|
|
711
738
|
className="after"
|
|
712
739
|
/>
|
|
713
740
|
</span>
|
|
@@ -741,6 +768,7 @@ Array [
|
|
|
741
768
|
className="input"
|
|
742
769
|
>
|
|
743
770
|
<input
|
|
771
|
+
aria-label="City Required"
|
|
744
772
|
autoComplete="City"
|
|
745
773
|
className="input"
|
|
746
774
|
id="city"
|
|
@@ -754,6 +782,7 @@ Array [
|
|
|
754
782
|
className="before"
|
|
755
783
|
/>
|
|
756
784
|
<span
|
|
785
|
+
aria-hidden="false"
|
|
757
786
|
className="after"
|
|
758
787
|
/>
|
|
759
788
|
</span>
|
|
@@ -766,6 +795,7 @@ Array [
|
|
|
766
795
|
className="region"
|
|
767
796
|
>
|
|
768
797
|
<Region
|
|
798
|
+
aria-label="State Required"
|
|
769
799
|
autoComplete="State"
|
|
770
800
|
fieldInput="region[region]"
|
|
771
801
|
fieldSelect="region[region_id]"
|
|
@@ -798,6 +828,7 @@ Array [
|
|
|
798
828
|
className="input"
|
|
799
829
|
>
|
|
800
830
|
<input
|
|
831
|
+
aria-label="ZIP / Postal Code Required"
|
|
801
832
|
autoComplete="ZIP / Postal Code"
|
|
802
833
|
className="input"
|
|
803
834
|
id="root"
|
|
@@ -811,6 +842,7 @@ Array [
|
|
|
811
842
|
className="before"
|
|
812
843
|
/>
|
|
813
844
|
<span
|
|
845
|
+
aria-hidden="false"
|
|
814
846
|
className="after"
|
|
815
847
|
/>
|
|
816
848
|
</span>
|
|
@@ -844,6 +876,7 @@ Array [
|
|
|
844
876
|
className="input"
|
|
845
877
|
>
|
|
846
878
|
<input
|
|
879
|
+
aria-label="Phone Number Required"
|
|
847
880
|
autoComplete="Phone Number"
|
|
848
881
|
className="input"
|
|
849
882
|
id="telephone"
|
|
@@ -857,6 +890,7 @@ Array [
|
|
|
857
890
|
className="before"
|
|
858
891
|
/>
|
|
859
892
|
<span
|
|
893
|
+
aria-hidden="false"
|
|
860
894
|
className="after"
|
|
861
895
|
/>
|
|
862
896
|
</span>
|
|
@@ -932,6 +966,7 @@ Array [
|
|
|
932
966
|
className="input"
|
|
933
967
|
>
|
|
934
968
|
<input
|
|
969
|
+
aria-label="Email Required"
|
|
935
970
|
autoComplete="Shipping Email"
|
|
936
971
|
className="input"
|
|
937
972
|
id="email"
|
|
@@ -946,6 +981,7 @@ Array [
|
|
|
946
981
|
className="before"
|
|
947
982
|
/>
|
|
948
983
|
<span
|
|
984
|
+
aria-hidden="false"
|
|
949
985
|
className="after"
|
|
950
986
|
/>
|
|
951
987
|
</span>
|
|
@@ -979,6 +1015,7 @@ Array [
|
|
|
979
1015
|
className="input"
|
|
980
1016
|
>
|
|
981
1017
|
<input
|
|
1018
|
+
aria-label="First Name Required"
|
|
982
1019
|
autoComplete="First Name"
|
|
983
1020
|
className="input"
|
|
984
1021
|
id="firstname"
|
|
@@ -992,6 +1029,7 @@ Array [
|
|
|
992
1029
|
className="before"
|
|
993
1030
|
/>
|
|
994
1031
|
<span
|
|
1032
|
+
aria-hidden="false"
|
|
995
1033
|
className="after"
|
|
996
1034
|
/>
|
|
997
1035
|
</span>
|
|
@@ -1025,6 +1063,7 @@ Array [
|
|
|
1025
1063
|
className="input"
|
|
1026
1064
|
>
|
|
1027
1065
|
<input
|
|
1066
|
+
aria-label="Last Name Required"
|
|
1028
1067
|
autoComplete="Last Name"
|
|
1029
1068
|
className="input"
|
|
1030
1069
|
id="lastname"
|
|
@@ -1038,6 +1077,7 @@ Array [
|
|
|
1038
1077
|
className="before"
|
|
1039
1078
|
/>
|
|
1040
1079
|
<span
|
|
1080
|
+
aria-hidden="false"
|
|
1041
1081
|
className="after"
|
|
1042
1082
|
/>
|
|
1043
1083
|
</span>
|
|
@@ -1050,6 +1090,7 @@ Array [
|
|
|
1050
1090
|
className="country"
|
|
1051
1091
|
>
|
|
1052
1092
|
<Country
|
|
1093
|
+
aria-label="Country Required"
|
|
1053
1094
|
autoComplete="Country"
|
|
1054
1095
|
validate={[Function]}
|
|
1055
1096
|
/>
|
|
@@ -1079,6 +1120,7 @@ Array [
|
|
|
1079
1120
|
className="input"
|
|
1080
1121
|
>
|
|
1081
1122
|
<input
|
|
1123
|
+
aria-label="Street Address Required"
|
|
1082
1124
|
autoComplete="Street Address"
|
|
1083
1125
|
className="input"
|
|
1084
1126
|
id="street0"
|
|
@@ -1092,6 +1134,7 @@ Array [
|
|
|
1092
1134
|
className="before"
|
|
1093
1135
|
/>
|
|
1094
1136
|
<span
|
|
1137
|
+
aria-hidden="false"
|
|
1095
1138
|
className="after"
|
|
1096
1139
|
/>
|
|
1097
1140
|
</span>
|
|
@@ -1146,6 +1189,7 @@ Array [
|
|
|
1146
1189
|
className="before"
|
|
1147
1190
|
/>
|
|
1148
1191
|
<span
|
|
1192
|
+
aria-hidden="false"
|
|
1149
1193
|
className="after"
|
|
1150
1194
|
/>
|
|
1151
1195
|
</span>
|
|
@@ -1179,6 +1223,7 @@ Array [
|
|
|
1179
1223
|
className="input"
|
|
1180
1224
|
>
|
|
1181
1225
|
<input
|
|
1226
|
+
aria-label="City Required"
|
|
1182
1227
|
autoComplete="City"
|
|
1183
1228
|
className="input"
|
|
1184
1229
|
id="city"
|
|
@@ -1192,6 +1237,7 @@ Array [
|
|
|
1192
1237
|
className="before"
|
|
1193
1238
|
/>
|
|
1194
1239
|
<span
|
|
1240
|
+
aria-hidden="false"
|
|
1195
1241
|
className="after"
|
|
1196
1242
|
/>
|
|
1197
1243
|
</span>
|
|
@@ -1204,6 +1250,7 @@ Array [
|
|
|
1204
1250
|
className="region"
|
|
1205
1251
|
>
|
|
1206
1252
|
<Region
|
|
1253
|
+
aria-label="State Required"
|
|
1207
1254
|
autoComplete="State"
|
|
1208
1255
|
fieldInput="region[region]"
|
|
1209
1256
|
fieldSelect="region[region_id]"
|
|
@@ -1236,6 +1283,7 @@ Array [
|
|
|
1236
1283
|
className="input"
|
|
1237
1284
|
>
|
|
1238
1285
|
<input
|
|
1286
|
+
aria-label="ZIP / Postal Code Required"
|
|
1239
1287
|
autoComplete="ZIP / Postal Code"
|
|
1240
1288
|
className="input"
|
|
1241
1289
|
id="root"
|
|
@@ -1249,6 +1297,7 @@ Array [
|
|
|
1249
1297
|
className="before"
|
|
1250
1298
|
/>
|
|
1251
1299
|
<span
|
|
1300
|
+
aria-hidden="false"
|
|
1252
1301
|
className="after"
|
|
1253
1302
|
/>
|
|
1254
1303
|
</span>
|
|
@@ -1282,6 +1331,7 @@ Array [
|
|
|
1282
1331
|
className="input"
|
|
1283
1332
|
>
|
|
1284
1333
|
<input
|
|
1334
|
+
aria-label="Phone Number Required"
|
|
1285
1335
|
autoComplete="Phone Number"
|
|
1286
1336
|
className="input"
|
|
1287
1337
|
id="telephone"
|
|
@@ -1295,6 +1345,7 @@ Array [
|
|
|
1295
1345
|
className="before"
|
|
1296
1346
|
/>
|
|
1297
1347
|
<span
|
|
1348
|
+
aria-hidden="false"
|
|
1298
1349
|
className="after"
|
|
1299
1350
|
/>
|
|
1300
1351
|
</span>
|
|
@@ -1396,6 +1447,7 @@ Array [
|
|
|
1396
1447
|
className="input"
|
|
1397
1448
|
>
|
|
1398
1449
|
<input
|
|
1450
|
+
aria-label="Email Required"
|
|
1399
1451
|
autoComplete="Shipping Email"
|
|
1400
1452
|
className="input"
|
|
1401
1453
|
id="email"
|
|
@@ -1410,6 +1462,7 @@ Array [
|
|
|
1410
1462
|
className="before"
|
|
1411
1463
|
/>
|
|
1412
1464
|
<span
|
|
1465
|
+
aria-hidden="false"
|
|
1413
1466
|
className="after"
|
|
1414
1467
|
/>
|
|
1415
1468
|
</span>
|
|
@@ -1443,6 +1496,7 @@ Array [
|
|
|
1443
1496
|
className="input"
|
|
1444
1497
|
>
|
|
1445
1498
|
<input
|
|
1499
|
+
aria-label="First Name Required"
|
|
1446
1500
|
autoComplete="First Name"
|
|
1447
1501
|
className="input"
|
|
1448
1502
|
id="firstname"
|
|
@@ -1456,6 +1510,7 @@ Array [
|
|
|
1456
1510
|
className="before"
|
|
1457
1511
|
/>
|
|
1458
1512
|
<span
|
|
1513
|
+
aria-hidden="false"
|
|
1459
1514
|
className="after"
|
|
1460
1515
|
/>
|
|
1461
1516
|
</span>
|
|
@@ -1489,6 +1544,7 @@ Array [
|
|
|
1489
1544
|
className="input"
|
|
1490
1545
|
>
|
|
1491
1546
|
<input
|
|
1547
|
+
aria-label="Last Name Required"
|
|
1492
1548
|
autoComplete="Last Name"
|
|
1493
1549
|
className="input"
|
|
1494
1550
|
id="lastname"
|
|
@@ -1502,6 +1558,7 @@ Array [
|
|
|
1502
1558
|
className="before"
|
|
1503
1559
|
/>
|
|
1504
1560
|
<span
|
|
1561
|
+
aria-hidden="false"
|
|
1505
1562
|
className="after"
|
|
1506
1563
|
/>
|
|
1507
1564
|
</span>
|
|
@@ -1514,6 +1571,7 @@ Array [
|
|
|
1514
1571
|
className="country"
|
|
1515
1572
|
>
|
|
1516
1573
|
<Country
|
|
1574
|
+
aria-label="Country Required"
|
|
1517
1575
|
autoComplete="Country"
|
|
1518
1576
|
validate={[Function]}
|
|
1519
1577
|
/>
|
|
@@ -1543,6 +1601,7 @@ Array [
|
|
|
1543
1601
|
className="input"
|
|
1544
1602
|
>
|
|
1545
1603
|
<input
|
|
1604
|
+
aria-label="Street Address Required"
|
|
1546
1605
|
autoComplete="Street Address"
|
|
1547
1606
|
className="input"
|
|
1548
1607
|
id="street0"
|
|
@@ -1556,6 +1615,7 @@ Array [
|
|
|
1556
1615
|
className="before"
|
|
1557
1616
|
/>
|
|
1558
1617
|
<span
|
|
1618
|
+
aria-hidden="false"
|
|
1559
1619
|
className="after"
|
|
1560
1620
|
/>
|
|
1561
1621
|
</span>
|
|
@@ -1610,6 +1670,7 @@ Array [
|
|
|
1610
1670
|
className="before"
|
|
1611
1671
|
/>
|
|
1612
1672
|
<span
|
|
1673
|
+
aria-hidden="false"
|
|
1613
1674
|
className="after"
|
|
1614
1675
|
/>
|
|
1615
1676
|
</span>
|
|
@@ -1643,6 +1704,7 @@ Array [
|
|
|
1643
1704
|
className="input"
|
|
1644
1705
|
>
|
|
1645
1706
|
<input
|
|
1707
|
+
aria-label="City Required"
|
|
1646
1708
|
autoComplete="City"
|
|
1647
1709
|
className="input"
|
|
1648
1710
|
id="city"
|
|
@@ -1656,6 +1718,7 @@ Array [
|
|
|
1656
1718
|
className="before"
|
|
1657
1719
|
/>
|
|
1658
1720
|
<span
|
|
1721
|
+
aria-hidden="false"
|
|
1659
1722
|
className="after"
|
|
1660
1723
|
/>
|
|
1661
1724
|
</span>
|
|
@@ -1668,6 +1731,7 @@ Array [
|
|
|
1668
1731
|
className="region"
|
|
1669
1732
|
>
|
|
1670
1733
|
<Region
|
|
1734
|
+
aria-label="State Required"
|
|
1671
1735
|
autoComplete="State"
|
|
1672
1736
|
fieldInput="region[region]"
|
|
1673
1737
|
fieldSelect="region[region_id]"
|
|
@@ -1700,6 +1764,7 @@ Array [
|
|
|
1700
1764
|
className="input"
|
|
1701
1765
|
>
|
|
1702
1766
|
<input
|
|
1767
|
+
aria-label="ZIP / Postal Code Required"
|
|
1703
1768
|
autoComplete="ZIP / Postal Code"
|
|
1704
1769
|
className="input"
|
|
1705
1770
|
id="root"
|
|
@@ -1713,6 +1778,7 @@ Array [
|
|
|
1713
1778
|
className="before"
|
|
1714
1779
|
/>
|
|
1715
1780
|
<span
|
|
1781
|
+
aria-hidden="false"
|
|
1716
1782
|
className="after"
|
|
1717
1783
|
/>
|
|
1718
1784
|
</span>
|
|
@@ -1746,6 +1812,7 @@ Array [
|
|
|
1746
1812
|
className="input"
|
|
1747
1813
|
>
|
|
1748
1814
|
<input
|
|
1815
|
+
aria-label="Phone Number Required"
|
|
1749
1816
|
autoComplete="Phone Number"
|
|
1750
1817
|
className="input"
|
|
1751
1818
|
id="telephone"
|
|
@@ -1759,6 +1826,7 @@ Array [
|
|
|
1759
1826
|
className="before"
|
|
1760
1827
|
/>
|
|
1761
1828
|
<span
|
|
1829
|
+
aria-hidden="false"
|
|
1762
1830
|
className="after"
|
|
1763
1831
|
/>
|
|
1764
1832
|
</span>
|
|
@@ -159,6 +159,10 @@ const CustomerForm = props => {
|
|
|
159
159
|
id="customer_firstname"
|
|
160
160
|
data-cy="CustomerForm-firstName"
|
|
161
161
|
validate={isRequired}
|
|
162
|
+
aria-label={formatMessage({
|
|
163
|
+
id: 'global.firstNameRequired',
|
|
164
|
+
defaultMessage: 'First Name Required'
|
|
165
|
+
})}
|
|
162
166
|
/>
|
|
163
167
|
</Field>
|
|
164
168
|
</div>
|
|
@@ -176,6 +180,10 @@ const CustomerForm = props => {
|
|
|
176
180
|
id="customer_lastname"
|
|
177
181
|
data-cy="CustomerForm-lastName"
|
|
178
182
|
validate={isRequired}
|
|
183
|
+
aria-label={formatMessage({
|
|
184
|
+
id: 'global.lastNameRequired',
|
|
185
|
+
defaultMessage: 'Last Name Required'
|
|
186
|
+
})}
|
|
179
187
|
/>
|
|
180
188
|
</Field>
|
|
181
189
|
</div>
|
|
@@ -183,6 +191,10 @@ const CustomerForm = props => {
|
|
|
183
191
|
<Country
|
|
184
192
|
validate={isRequired}
|
|
185
193
|
data-cy="CustomerForm-country"
|
|
194
|
+
aria-label={formatMessage({
|
|
195
|
+
id: 'global.countryRequired',
|
|
196
|
+
defaultMessage: 'Country Required'
|
|
197
|
+
})}
|
|
186
198
|
/>
|
|
187
199
|
</div>
|
|
188
200
|
<div className={classes.street0}>
|
|
@@ -198,6 +210,10 @@ const CustomerForm = props => {
|
|
|
198
210
|
validate={isRequired}
|
|
199
211
|
id="customer_street0"
|
|
200
212
|
data-cy="CustomerForm-street0"
|
|
213
|
+
aria-label={formatMessage({
|
|
214
|
+
id: 'global.streetAddressRequired',
|
|
215
|
+
defaultMessage: 'Street Address Required'
|
|
216
|
+
})}
|
|
201
217
|
/>
|
|
202
218
|
</Field>
|
|
203
219
|
</div>
|
|
@@ -224,12 +240,20 @@ const CustomerForm = props => {
|
|
|
224
240
|
id: 'global.city',
|
|
225
241
|
defaultMessage: 'City'
|
|
226
242
|
})}
|
|
243
|
+
aria-label={formatMessage({
|
|
244
|
+
id: 'global.countryRequired',
|
|
245
|
+
defaultMessage: 'Country Required'
|
|
246
|
+
})}
|
|
227
247
|
>
|
|
228
248
|
<TextInput
|
|
229
249
|
field="city"
|
|
230
250
|
validate={isRequired}
|
|
231
251
|
id="customer_city"
|
|
232
252
|
data-cy="CustomerForm-city"
|
|
253
|
+
aria-label={formatMessage({
|
|
254
|
+
id: 'global.cityRequired',
|
|
255
|
+
defaultMessage: 'City Required'
|
|
256
|
+
})}
|
|
233
257
|
/>
|
|
234
258
|
</Field>
|
|
235
259
|
</div>
|
|
@@ -240,12 +264,20 @@ const CustomerForm = props => {
|
|
|
240
264
|
fieldInput={'region[region]'}
|
|
241
265
|
fieldSelect={'region[region_id]'}
|
|
242
266
|
optionValueKey={'id'}
|
|
267
|
+
aria-label={formatMessage({
|
|
268
|
+
id: 'global.stateRequired',
|
|
269
|
+
defaultMessage: 'State Required'
|
|
270
|
+
})}
|
|
243
271
|
/>
|
|
244
272
|
</div>
|
|
245
273
|
<div className={classes.postcode}>
|
|
246
274
|
<Postcode
|
|
247
275
|
validate={isRequired}
|
|
248
276
|
data-cy="CustomerForm-postcode"
|
|
277
|
+
aria-label={formatMessage({
|
|
278
|
+
id: 'global.postalCodeRequired',
|
|
279
|
+
defaultMessage: 'ZIP / Postal Code Required'
|
|
280
|
+
})}
|
|
249
281
|
/>
|
|
250
282
|
</div>
|
|
251
283
|
<div className={classes.telephone}>
|
|
@@ -261,6 +293,10 @@ const CustomerForm = props => {
|
|
|
261
293
|
validate={isRequired}
|
|
262
294
|
id="customer_telephone"
|
|
263
295
|
data-cy="CustomerForm-telephone"
|
|
296
|
+
aria-label={formatMessage({
|
|
297
|
+
id: 'global.phonenumberRequired',
|
|
298
|
+
defaultMessage: 'Phone Number Required'
|
|
299
|
+
})}
|
|
264
300
|
/>
|
|
265
301
|
</Field>
|
|
266
302
|
</div>
|