@mirai/core 0.3.256 → 0.3.258

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.
Files changed (54) hide show
  1. package/build/components/Booking/Booking.constants.js +2 -1
  2. package/build/components/Booking/Booking.constants.js.map +1 -1
  3. package/build/components/Booking/Booking.js +9 -9
  4. package/build/components/Booking/Booking.js.map +1 -1
  5. package/build/components/Booking/Booking.l10n.js +11 -5
  6. package/build/components/Booking/Booking.l10n.js.map +1 -1
  7. package/build/components/Booking/Booking.module.css +56 -61
  8. package/build/components/Booking/components/Field/Field.js +2 -2
  9. package/build/components/Booking/components/Field/Field.js.map +1 -1
  10. package/build/components/Booking/components/Field/Field.module.css +12 -12
  11. package/build/components/Booking/partials/Booking.Details.js +32 -18
  12. package/build/components/Booking/partials/Booking.Details.js.map +1 -1
  13. package/build/components/Booking/partials/Booking.Information.js +137 -0
  14. package/build/components/Booking/partials/Booking.Information.js.map +1 -0
  15. package/build/components/Booking/partials/Booking.PriceBreakdown.js +1 -1
  16. package/build/components/Booking/partials/Booking.PriceBreakdown.js.map +1 -1
  17. package/build/components/Booking/partials/Booking.Summary.js +61 -188
  18. package/build/components/Booking/partials/Booking.Summary.js.map +1 -1
  19. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Details.test.js.snap +567 -3431
  20. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Summary.test.js.snap +508 -856
  21. package/build/components/Booking/partials/index.js +15 -4
  22. package/build/components/Booking/partials/index.js.map +1 -1
  23. package/build/components/Checkout/Checkout.constants.js +2 -1
  24. package/build/components/Checkout/Checkout.constants.js.map +1 -1
  25. package/build/components/Checkout/Checkout.js +8 -17
  26. package/build/components/Checkout/Checkout.js.map +1 -1
  27. package/build/components/Checkout/Checkout.module.css +54 -50
  28. package/build/components/Checkout/partials/Checkout.Confirmation.js +9 -35
  29. package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
  30. package/build/components/Checkout/partials/Checkout.Details.js +34 -41
  31. package/build/components/Checkout/partials/Checkout.Details.js.map +1 -1
  32. package/build/components/Checkout/partials/Checkout.Summary.js +42 -57
  33. package/build/components/Checkout/partials/Checkout.Summary.js.map +1 -1
  34. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +176 -252
  35. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Details.test.js.snap +20 -375
  36. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Summary.test.js.snap +116 -168
  37. package/build/components/__shared__/BookingTable/BookingTable.Row.js +1 -0
  38. package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
  39. package/build/components/__shared__/BookingTable/BookingTable.js +2 -2
  40. package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
  41. package/build/components/__shared__/BookingTable/BookingTable.module.css +0 -12
  42. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +3 -3
  43. package/build/components/__shared__/BookingTerms/BookingTerms.js +1 -1
  44. package/build/components/__shared__/BookingTerms/BookingTerms.js.map +1 -1
  45. package/build/components/__shared__/BookingTerms/BookingTerms.module.css +5 -5
  46. package/build/components/__shared__/ButtonMore/ButtonMore.js +3 -5
  47. package/build/components/__shared__/ButtonMore/ButtonMore.js.map +1 -1
  48. package/build/components/__shared__/ButtonMore/ButtonMore.module.css +0 -5
  49. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +6 -6
  50. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js +1 -5
  51. package/build/components/__shared__/PriceBreakdown/PriceBreakdown.Line.js.map +1 -1
  52. package/build/helpers/theme.js +1 -1
  53. package/build/helpers/theme.js.map +1 -1
  54. package/package.json +1 -1
@@ -4,183 +4,13 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant A 1`] = `
4
4
  <DocumentFragment>
5
5
  <div
6
6
  class="view"
7
+ variant="A"
7
8
  >
8
9
  <h3
9
10
  class="text bold headline-3"
10
11
  >
11
12
  user.label.booking_details
12
13
  </h3>
13
- <div
14
- class="view"
15
- >
16
- <div
17
- class="view"
18
- >
19
- <h3
20
- class="text bold headline-3"
21
- >
22
- user.label.booking_summary
23
- </h3>
24
- <div
25
- class="view row wide"
26
- >
27
- <div
28
- class="view"
29
- >
30
- <span
31
- class="text bold small upperCase"
32
- >
33
- common.label.check_in
34
- </span>
35
- <div
36
- class="view"
37
- >
38
- <span
39
- class="text bold paragraph"
40
- >
41
- mié, 19 jul 2023
42
- </span>
43
- <span
44
- class="text action"
45
- >
46
- common.label.checkin_time
47
- </span>
48
- </div>
49
- </div>
50
- <div
51
- class="view"
52
- />
53
- <div
54
- class="view"
55
- >
56
- <span
57
- class="text bold small upperCase"
58
- >
59
- common.label.check_out
60
- </span>
61
- <div
62
- class="view"
63
- >
64
- <span
65
- class="text bold paragraph"
66
- >
67
- sáb, 22 jul 2023
68
- </span>
69
- <span
70
- class="text action"
71
- >
72
- common.label.checkout_time
73
- </span>
74
- </div>
75
- </div>
76
- </div>
77
- <button
78
- class="pressable action inline"
79
- >
80
- user.action.change_selection
81
- </button>
82
- <div
83
- class="view"
84
- >
85
- <span
86
- class="text bold small upperCase"
87
- >
88
- common.label.accommodation
89
- </span>
90
- <span
91
- class="text bold paragraph"
92
- >
93
- Hotel Augusta Eco Wellness Resort
94
- </span>
95
- <span
96
- class="text action"
97
- >
98
- Lugar Padriñan 25, Sanxenxo, España
99
- </span>
100
- </div>
101
- </div>
102
- <div
103
- class="view"
104
- >
105
- <h3
106
- class="text bold headline-3"
107
- >
108
- user.label.price_summary
109
- </h3>
110
- <div
111
- class="view wide"
112
- >
113
- <div
114
- class="view row"
115
- >
116
- <span
117
- class="text action wide"
118
- >
119
- common.label.base_price
120
- </span>
121
- <span
122
- class="text action"
123
- >
124
- 646,36 €
125
- </span>
126
- </div>
127
- <div
128
- class="view row"
129
- >
130
- <span
131
- class="text action wide"
132
- >
133
- user.label.checkout
134
- <span
135
- style="text-decoration: underline;"
136
- >
137
- discount
138
- </span>
139
- 1
140
- </span>
141
- <span
142
- class="text action"
143
- >
144
- -32,31 €
145
- </span>
146
- </div>
147
- <div
148
- class="view row"
149
- >
150
- <span
151
- class="text action wide"
152
- >
153
- user.notification.checkout
154
- <span
155
- style="text-decoration: underline;"
156
- >
157
- tax
158
- </span>
159
- 0
160
- </span>
161
- <span
162
- class="text action"
163
- >
164
- 61,41 €
165
- </span>
166
- </div>
167
- <div
168
- class="view row"
169
- >
170
- <span
171
- class="text bold paragraph wide"
172
- >
173
- common.label.total
174
- </span>
175
- <span
176
- class="text bold paragraph"
177
- >
178
- 675,45 €
179
- </span>
180
- </div>
181
- </div>
182
- </div>
183
- </div>
184
14
  <div
185
15
  class="view wide"
186
16
  >
@@ -198,18 +28,18 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant A 1`] = `
198
28
  class="view row"
199
29
  >
200
30
  <span
201
- class="text bold small upperCase"
31
+ class="text bold paragraph"
202
32
  >
203
33
  Silver Views
204
34
  </span>
205
35
  </div>
206
36
  <span
207
- class="text bold paragraph"
37
+ class="text action"
208
38
  >
209
39
  Sanitas per Aqua Reserva No Reembolsable
210
40
  </span>
211
41
  <span
212
- class="text action"
42
+ class="text small lighten"
213
43
  >
214
44
  2 common.label.guest
215
45
  <span
@@ -385,37 +215,6 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant A 1`] = `
385
215
  </span>
386
216
  </div>
387
217
  </div>
388
- <div
389
- class="view wide"
390
- >
391
- <button
392
- class="pressable button small secondary"
393
- >
394
- <span
395
- class="icon headline-3"
396
- >
397
- <svg
398
- fill="currentColor"
399
- height="1em"
400
- stroke="currentColor"
401
- stroke-width="0"
402
- viewBox="0 0 24 24"
403
- width="1em"
404
- xmlns="http://www.w3.org/2000/svg"
405
- >
406
- <path
407
- d="M24 24H0V0h24v24z"
408
- fill="none"
409
- opacity=".87"
410
- />
411
- <path
412
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
413
- />
414
- </svg>
415
- </span>
416
- common.action.view_more
417
- </button>
418
- </div>
419
218
  </div>
420
219
  </DocumentFragment>
421
220
  `;
@@ -424,6 +223,7 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant B 1`] = `
424
223
  <DocumentFragment>
425
224
  <div
426
225
  class="view"
226
+ variant="B"
427
227
  >
428
228
  <h3
429
229
  class="text bold headline-3"
@@ -447,18 +247,18 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant B 1`] = `
447
247
  class="view row"
448
248
  >
449
249
  <span
450
- class="text bold small upperCase"
250
+ class="text bold paragraph"
451
251
  >
452
252
  Silver Views
453
253
  </span>
454
254
  </div>
455
255
  <span
456
- class="text bold paragraph"
256
+ class="text action"
457
257
  >
458
258
  Sanitas per Aqua Reserva No Reembolsable
459
259
  </span>
460
260
  <span
461
- class="text action"
261
+ class="text small lighten"
462
262
  >
463
263
  2 common.label.guest
464
264
  <span
@@ -634,37 +434,6 @@ exports[`component:<Checkout> partial:<Details> Test A/B variant B 1`] = `
634
434
  </span>
635
435
  </div>
636
436
  </div>
637
- <div
638
- class="view wide"
639
- >
640
- <button
641
- class="pressable button small secondary"
642
- >
643
- <span
644
- class="icon headline-3"
645
- >
646
- <svg
647
- fill="currentColor"
648
- height="1em"
649
- stroke="currentColor"
650
- stroke-width="0"
651
- viewBox="0 0 24 24"
652
- width="1em"
653
- xmlns="http://www.w3.org/2000/svg"
654
- >
655
- <path
656
- d="M24 24H0V0h24v24z"
657
- fill="none"
658
- opacity=".87"
659
- />
660
- <path
661
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
662
- />
663
- </svg>
664
- </span>
665
- common.action.view_more
666
- </button>
667
- </div>
668
437
  </div>
669
438
  </DocumentFragment>
670
439
  `;
@@ -696,18 +465,18 @@ exports[`component:<Checkout> partial:<Details> inherit:className 1`] = `
696
465
  class="view row"
697
466
  >
698
467
  <span
699
- class="text bold small upperCase"
468
+ class="text bold paragraph"
700
469
  >
701
470
  Silver Views
702
471
  </span>
703
472
  </div>
704
473
  <span
705
- class="text bold paragraph"
474
+ class="text action"
706
475
  >
707
476
  Sanitas per Aqua Reserva No Reembolsable
708
477
  </span>
709
478
  <span
710
- class="text action"
479
+ class="text small lighten"
711
480
  >
712
481
  2 common.label.guest
713
482
  <span
@@ -883,37 +652,6 @@ exports[`component:<Checkout> partial:<Details> inherit:className 1`] = `
883
652
  </span>
884
653
  </div>
885
654
  </div>
886
- <div
887
- class="view wide"
888
- >
889
- <button
890
- class="pressable button small secondary"
891
- >
892
- <span
893
- class="icon headline-3"
894
- >
895
- <svg
896
- fill="currentColor"
897
- height="1em"
898
- stroke="currentColor"
899
- stroke-width="0"
900
- viewBox="0 0 24 24"
901
- width="1em"
902
- xmlns="http://www.w3.org/2000/svg"
903
- >
904
- <path
905
- d="M24 24H0V0h24v24z"
906
- fill="none"
907
- opacity=".87"
908
- />
909
- <path
910
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
911
- />
912
- </svg>
913
- </span>
914
- common.action.view_more
915
- </button>
916
- </div>
917
655
  </div>
918
656
  </DocumentFragment>
919
657
  `;
@@ -945,18 +683,18 @@ exports[`component:<Checkout> partial:<Details> renders 1`] = `
945
683
  class="view row"
946
684
  >
947
685
  <span
948
- class="text bold small upperCase"
686
+ class="text bold paragraph"
949
687
  >
950
688
  Silver Views
951
689
  </span>
952
690
  </div>
953
691
  <span
954
- class="text bold paragraph"
692
+ class="text action"
955
693
  >
956
694
  Sanitas per Aqua Reserva No Reembolsable
957
695
  </span>
958
696
  <span
959
- class="text action"
697
+ class="text small lighten"
960
698
  >
961
699
  2 common.label.guest
962
700
  <span
@@ -1132,37 +870,6 @@ exports[`component:<Checkout> partial:<Details> renders 1`] = `
1132
870
  </span>
1133
871
  </div>
1134
872
  </div>
1135
- <div
1136
- class="view wide"
1137
- >
1138
- <button
1139
- class="pressable button small secondary"
1140
- >
1141
- <span
1142
- class="icon headline-3"
1143
- >
1144
- <svg
1145
- fill="currentColor"
1146
- height="1em"
1147
- stroke="currentColor"
1148
- stroke-width="0"
1149
- viewBox="0 0 24 24"
1150
- width="1em"
1151
- xmlns="http://www.w3.org/2000/svg"
1152
- >
1153
- <path
1154
- d="M24 24H0V0h24v24z"
1155
- fill="none"
1156
- opacity=".87"
1157
- />
1158
- <path
1159
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1160
- />
1161
- </svg>
1162
- </span>
1163
- common.action.view_more
1164
- </button>
1165
- </div>
1166
873
  </div>
1167
874
  </DocumentFragment>
1168
875
  `;
@@ -1195,18 +902,18 @@ exports[`component:<Checkout> partial:<Details> testID 1`] = `
1195
902
  class="view row"
1196
903
  >
1197
904
  <span
1198
- class="text bold small upperCase"
905
+ class="text bold paragraph"
1199
906
  >
1200
907
  Silver Views
1201
908
  </span>
1202
909
  </div>
1203
910
  <span
1204
- class="text bold paragraph"
911
+ class="text action"
1205
912
  >
1206
913
  Sanitas per Aqua Reserva No Reembolsable
1207
914
  </span>
1208
915
  <span
1209
- class="text action"
916
+ class="text small lighten"
1210
917
  >
1211
918
  2 common.label.guest
1212
919
  <span
@@ -1382,37 +1089,6 @@ exports[`component:<Checkout> partial:<Details> testID 1`] = `
1382
1089
  </span>
1383
1090
  </div>
1384
1091
  </div>
1385
- <div
1386
- class="view wide"
1387
- >
1388
- <button
1389
- class="pressable button small secondary"
1390
- >
1391
- <span
1392
- class="icon headline-3"
1393
- >
1394
- <svg
1395
- fill="currentColor"
1396
- height="1em"
1397
- stroke="currentColor"
1398
- stroke-width="0"
1399
- viewBox="0 0 24 24"
1400
- width="1em"
1401
- xmlns="http://www.w3.org/2000/svg"
1402
- >
1403
- <path
1404
- d="M24 24H0V0h24v24z"
1405
- fill="none"
1406
- opacity=".87"
1407
- />
1408
- <path
1409
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1410
- />
1411
- </svg>
1412
- </span>
1413
- common.action.view_more
1414
- </button>
1415
- </div>
1416
1092
  </div>
1417
1093
  </DocumentFragment>
1418
1094
  `;
@@ -1444,18 +1120,18 @@ exports[`component:<Checkout> partial:<Details> with a store 1`] = `
1444
1120
  class="view row"
1445
1121
  >
1446
1122
  <span
1447
- class="text bold small upperCase"
1123
+ class="text bold paragraph"
1448
1124
  >
1449
1125
  Silver Views
1450
1126
  </span>
1451
1127
  </div>
1452
1128
  <span
1453
- class="text bold paragraph"
1129
+ class="text action"
1454
1130
  >
1455
1131
  Sanitas per Aqua Reserva No Reembolsable
1456
1132
  </span>
1457
1133
  <span
1458
- class="text action"
1134
+ class="text small lighten"
1459
1135
  >
1460
1136
  2 common.label.guest
1461
1137
  <span
@@ -1631,37 +1307,6 @@ exports[`component:<Checkout> partial:<Details> with a store 1`] = `
1631
1307
  </span>
1632
1308
  </div>
1633
1309
  </div>
1634
- <div
1635
- class="view wide"
1636
- >
1637
- <button
1638
- class="pressable button small secondary"
1639
- >
1640
- <span
1641
- class="icon headline-3"
1642
- >
1643
- <svg
1644
- fill="currentColor"
1645
- height="1em"
1646
- stroke="currentColor"
1647
- stroke-width="0"
1648
- viewBox="0 0 24 24"
1649
- width="1em"
1650
- xmlns="http://www.w3.org/2000/svg"
1651
- >
1652
- <path
1653
- d="M24 24H0V0h24v24z"
1654
- fill="none"
1655
- opacity=".87"
1656
- />
1657
- <path
1658
- d="M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z"
1659
- />
1660
- </svg>
1661
- </span>
1662
- common.action.view_more
1663
- </button>
1664
- </div>
1665
1310
  </div>
1666
1311
  </DocumentFragment>
1667
1312
  `;