@mirai/core 0.4.35 → 0.4.37

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 (219) hide show
  1. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js +7 -4
  2. package/build/components/__shared__/ButtonPayment/ButtonPayment.constants.js.map +1 -1
  3. package/build/components/__shared__/ButtonPayment/ButtonPayment.js +4 -3
  4. package/build/components/__shared__/ButtonPayment/ButtonPayment.js.map +1 -1
  5. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js +4 -4
  6. package/build/components/__shared__/Payment/components/AmazonPay/AmazonPay.js.map +1 -1
  7. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js +2 -2
  8. package/build/components/__shared__/Payment/components/Aplazame/Aplazame.js.map +1 -1
  9. package/build/components/__shared__/Payment/components/PCI/PCI.js +2 -2
  10. package/build/components/__shared__/Payment/components/PCI/PCI.js.map +1 -1
  11. package/package.json +1 -1
  12. package/.env +0 -22
  13. package/.gitlab-ci.yml +0 -4
  14. package/.nvmrc +0 -1
  15. package/__tests__/Booking/__mocks__/booking-delete.json +0 -1
  16. package/__tests__/Booking/__mocks__/booking-get.json +0 -105
  17. package/__tests__/Booking/booking.constants.js +0 -8
  18. package/__tests__/Booking/workflows/cancel.workflow.js +0 -20
  19. package/__tests__/Booking/workflows/index.js +0 -5
  20. package/__tests__/Booking/workflows/openMobileMenu.workflow.js +0 -4
  21. package/__tests__/Booking/workflows/print.workflow.js +0 -13
  22. package/__tests__/Booking/workflows/resend.workflow.js +0 -18
  23. package/__tests__/Booking/workflows/review.workflow.js +0 -17
  24. package/__tests__/BookingQuery/__mocks__/user-booking-get.json +0 -9
  25. package/__tests__/BookingQuery/workflows/index.js +0 -1
  26. package/__tests__/BookingQuery/workflows/login.workflow.js +0 -22
  27. package/__tests__/Checkout/__mocks__/checkout-get.json +0 -935
  28. package/__tests__/Checkout/__mocks__/checkout-post-PAYLATER.json +0 -10
  29. package/__tests__/Checkout/__mocks__/checkout-post-TPV.json +0 -7
  30. package/__tests__/Checkout/__mocks__/checkout-post-TRANSFER.json +0 -10
  31. package/__tests__/Checkout/checkout.constants.js +0 -8
  32. package/__tests__/Checkout/workflows/form.workflow.js +0 -17
  33. package/__tests__/Checkout/workflows/index.js +0 -4
  34. package/__tests__/Checkout/workflows/payment.workflow.js +0 -10
  35. package/__tests__/Checkout/workflows/review.workflow.js +0 -19
  36. package/__tests__/Checkout/workflows/submit.workflow.js +0 -9
  37. package/__tests__/Deals/__mocks__/deals-success.json +0 -739
  38. package/__tests__/Deals/workflows/calendar.workflow.js +0 -14
  39. package/__tests__/Deals/workflows/clear.workflow.js +0 -7
  40. package/__tests__/Deals/workflows/index.js +0 -5
  41. package/__tests__/Deals/workflows/occupation.workflow.js +0 -6
  42. package/__tests__/Deals/workflows/promocode.workflow.js +0 -3
  43. package/__tests__/Deals/workflows/submit.workflow.js +0 -6
  44. package/__tests__/Finder/workflows/calendar.workflow.js +0 -10
  45. package/__tests__/Finder/workflows/index.js +0 -3
  46. package/__tests__/Finder/workflows/occupation.workflow.js +0 -27
  47. package/__tests__/Finder/workflows/promocode.workflow.js +0 -8
  48. package/__tests__/Rates/__mocks__/extras-one-success.json +0 -138
  49. package/__tests__/Rates/__mocks__/extras-success.json +0 -397
  50. package/__tests__/Rates/__mocks__/rates-success.json +0 -731
  51. package/__tests__/Rates/workflows/extras.js +0 -9
  52. package/__tests__/Rates/workflows/extrasExpect.js +0 -11
  53. package/__tests__/Rates/workflows/index.js +0 -4
  54. package/__tests__/Rates/workflows/multiroom.js +0 -26
  55. package/__tests__/Rates/workflows/rates.js +0 -9
  56. package/__tests__/Session/workflows/bookings.workflow.js +0 -18
  57. package/__tests__/Session/workflows/forgotPassword.workflow.js +0 -20
  58. package/__tests__/Session/workflows/index.js +0 -5
  59. package/__tests__/Session/workflows/login.workflow.js +0 -29
  60. package/__tests__/Session/workflows/logout.workflow.js +0 -8
  61. package/__tests__/Session/workflows/profile.workflow.js +0 -49
  62. package/__tests__/Signup/workflows/index.js +0 -2
  63. package/__tests__/Signup/workflows/signup.workflow.js +0 -26
  64. package/__tests__/Signup/workflows/signupError.workflow.js +0 -22
  65. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-one-extras-1.png +0 -0
  66. package/__tests__/__screenshots__/rates.spec.jsx/Desktop/Search-multiroom-with-some-extras-1.png +0 -0
  67. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-one-extras-1.png +0 -0
  68. package/__tests__/__screenshots__/rates.spec.jsx/iPhone-12/Search-multiroom-with-some-extras-1.png +0 -0
  69. package/__tests__/booking.spec.jsx +0 -34
  70. package/__tests__/bookingQuey.spec.js +0 -43
  71. package/__tests__/buttonFinder.spec.js +0 -16
  72. package/__tests__/checkout.spec.jsx +0 -52
  73. package/__tests__/constants.js +0 -20
  74. package/__tests__/deals.spec.js +0 -30
  75. package/__tests__/finder.spec.js +0 -75
  76. package/__tests__/helpers/closeNotification.js +0 -7
  77. package/__tests__/helpers/getWeekNumber.js +0 -8
  78. package/__tests__/helpers/index.js +0 -2
  79. package/__tests__/rates.spec.jsx +0 -39
  80. package/__tests__/session.spec.js +0 -32
  81. package/__tests__/signup.spec.js +0 -17
  82. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.skeleton.test.js.snap +0 -287
  83. package/build/components/BannerLoyalty/__tests__/__snapshots__/BannerLoyalty.test.js.snap +0 -102
  84. package/build/components/Booking/__tests__/__snapshots__/Booking.test.js.snap +0 -1302
  85. package/build/components/Booking/components/Field/__tests__/__snapshots__/Field.test.js.snap +0 -139
  86. package/build/components/Booking/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -108
  87. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormCancel.test.js.snap +0 -546
  88. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormEdit.test.js.snap +0 -46
  89. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.FormResend.test.js.snap +0 -166
  90. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Information.test.js.snap +0 -110
  91. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Menu.test.js.snap +0 -82
  92. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +0 -432
  93. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.ModalAgency.test.js.snap +0 -319
  94. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Payment.test.js.snap +0 -178
  95. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +0 -1048
  96. package/build/components/ButtonFinder/__tests__/__snapshots__/ButtonFinder.test.js.snap +0 -8210
  97. package/build/components/Chat/__tests__/__snapshots__/Chat.constants.test.js.snap +0 -30
  98. package/build/components/Chat/__tests__/__snapshots__/Chat.test.js.snap +0 -634
  99. package/build/components/Chat/components/Avatar/__tests__/__snapshots__/Avatar.test.jsx.snap +0 -97
  100. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +0 -178
  101. package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +0 -282
  102. package/build/components/Chat/components/Message/__tests__/__snapshots__/Message.test.jsx.snap +0 -211
  103. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Booking.test.js.snap +0 -65
  104. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Card.test.js.snap +0 -29
  105. package/build/components/Chat/components/Message/components/__tests__/__snapshots__/Environment.test.js.snap +0 -44
  106. package/build/components/Chat/components/Offline/__tests__/__snapshots__/Offline.test.js.snap +0 -162
  107. package/build/components/Chat/helpers/__tests__/__snapshots__/getVerboseDate.test.js.snap +0 -9
  108. package/build/components/Checkout/__tests__/__snapshots__/Checkout.test.js.snap +0 -2018
  109. package/build/components/Checkout/components/InputRadio/__tests__/__snapshots__/InputRadio.test.js.snap +0 -347
  110. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +0 -418
  111. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +0 -6754
  112. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +0 -4449
  113. package/build/components/Deals/__tests__/__snapshots__/Deals.constants.js.snap +0 -15
  114. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +0 -7828
  115. package/build/components/Deals/helpers/__tests__/__mocks__/deal.json +0 -25
  116. package/build/components/Environment/__tests__/__snapshots__/Environment.State.test.js.snap +0 -120
  117. package/build/components/Environment/__tests__/__snapshots__/Environment.test.js.snap +0 -988
  118. package/build/components/Finder/__tests__/__snapshots__/Finder.constants.test.js.snap +0 -39
  119. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +0 -22237
  120. package/build/components/Finder/components/Calendar/__tests__/__mocks__/prices.json +0 -11
  121. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +0 -11108
  122. package/build/components/Finder/components/Places/__tests__/__mocks__/places.json +0 -44
  123. package/build/components/Finder/components/Places/__tests__/__snapshots__/Places.test.js.snap +0 -324
  124. package/build/components/Finder/helpers/__tests__/__mocks__/dataSource.json +0 -1382
  125. package/build/components/Finder/helpers/__tests__/__snapshots__/getForwarderUrl.test.js.snap +0 -7
  126. package/build/components/Header/__tests__/__snapshots__/Header.test.js.snap +0 -1187
  127. package/build/components/Profile/components/Bookings/__tests__/__snapshots__/Bookings.test.js.snap +0 -19
  128. package/build/components/Rates/__tests__/__snapshots__/Rates.Content.test.js.snap +0 -41
  129. package/build/components/Rates/__tests__/__snapshots__/Rates.Footer.test.js.snap +0 -50
  130. package/build/components/Rates/__tests__/__snapshots__/Rates.Header.test.js.snap +0 -3
  131. package/build/components/Rates/__tests__/__snapshots__/Rates.RoomSelector.test.js.snap +0 -3
  132. package/build/components/Rates/__tests__/__snapshots__/Rates.Unavailability.test.js.snap +0 -53
  133. package/build/components/Rates/__tests__/__snapshots__/Rates.test.js.snap +0 -11760
  134. package/build/components/Rates/components/CardHotel/__tests__/__snapshots__/CardHotel.test.js.snap +0 -113
  135. package/build/components/Rates/components/Filters/__tests__/__snapshots__/FIlters.Button.test.js.snap +0 -32
  136. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.Amenity.test.js.snap +0 -21
  137. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.BookingOption.test.js.snap +0 -32
  138. package/build/components/Rates/components/Filters/__tests__/__snapshots__/Filters.test.js.snap +0 -167
  139. package/build/components/Rates/components/Hotelverse/__tests__/__snapshots__/Hotelverse.test.js.snap +0 -3
  140. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Preview.test.js.snap +0 -96
  141. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Rates.test.js.snap +0 -9
  142. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.Summary.test.js.snap +0 -53
  143. package/build/components/Rates/components/Item/__tests__/__snapshots__/Item.test.js.snap +0 -154
  144. package/build/components/Rates/components/Item/components/Amenities/__tests__/__snapshots__/Amenities.test.js.snap +0 -3
  145. package/build/components/Rates/components/Item/components/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -3
  146. package/build/components/Rates/components/Item/components/Features/__tests__/__snapshots__/Features.test.js.snap +0 -40
  147. package/build/components/Rates/components/Item/components/ModalCancellationInfo/__tests__/__snapshots__/ModalCancellationInfo.test.js.snap +0 -35
  148. package/build/components/Rates/components/Item/components/ModalInfo/__tests__/__snapshots__/ModalInfo.test.js.snap +0 -72
  149. package/build/components/Rates/components/Item/components/ModalOfferInfo/__tests__/__snapshots__/ModalOfferInfo.test.js.snap +0 -49
  150. package/build/components/Rates/components/Item/components/ModalUrl/__tests__/__snapshots__/ModalUrl.test.js.snap +0 -50
  151. package/build/components/Rates/components/Item/components/Option/__tests__/__snapshots__/Option.test.js.snap +0 -18
  152. package/build/components/Rates/components/Item/components/PriceDetails/__tests__/__snapshots__/PriceDetails.test.js.snap +0 -23
  153. package/build/components/Rates/components/Item/components/RateDetails/__tests__/__snapshots__/RateDetails.test.js.snap +0 -3
  154. package/build/components/Rates/components/Item/components/Slider/__tests__/__snapshots__/Slider.test.js.snap +0 -27
  155. package/build/components/Rates/components/Item/components/TooltipDates/__tests__/__snapshots__/TooltipDates.test.js.snap +0 -3
  156. package/build/components/Rates/components/ModalClubRate/__tests__/__snapshots__/ModalClubRate.test.js.snap +0 -257
  157. package/build/components/Rates/components/ModalExtras/__tests__/__snapshots__/ModalExtras.test.js.snap +0 -68
  158. package/build/components/Rates/components/ModalMapView/__tests__/__snapshots__/ModalMapView.test.js.snap +0 -78
  159. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +0 -260
  160. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +0 -1091
  161. package/build/components/__shared__/BookingDates/__tests__/__snapshots__/BookingDates.test.js.snap +0 -208
  162. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +0 -2190
  163. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +0 -500
  164. package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +0 -745
  165. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +0 -450
  166. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +0 -115
  167. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +0 -206
  168. package/build/components/__shared__/ButtonPayment/components/Form/__tests__/__snapshots__/Form.test.js.snap +0 -65
  169. package/build/components/__shared__/ButtonPayment/components/FormAddon/__tests__/__snapshots__/FormAddon.test.js.snap +0 -68
  170. package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +0 -356
  171. package/build/components/__shared__/ButtonPayment/components/FormCheckout/helpers/__tests__/__snapshots__/getStyle.test.js.snap +0 -23
  172. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +0 -165
  173. package/build/components/__shared__/ButtonPayment/components/FormSipay/__tests__/__snapshots__/FormSipay.test.js.snap +0 -161
  174. package/build/components/__shared__/ButtonPayment/components/InputField/__tests__/__snapshots__/InputField.test.js.snap +0 -190
  175. package/build/components/__shared__/Card/__tests__/__snapshots__/Card.test.js.snap +0 -34
  176. package/build/components/__shared__/Countdown/__tests__/__snapshots__/Countdown.test.js.snap +0 -42
  177. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +0 -1018
  178. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +0 -2243
  179. package/build/components/__shared__/FieldPromocode/__tests__/__snapshots__/FieldPromocode.test.jsx.snap +0 -373
  180. package/build/components/__shared__/Footer/__tests__/__snapshots__/Footer.test.js.snap +0 -178
  181. package/build/components/__shared__/NotificationRequiredFields/__tests__/__snapshots__/NotificationRequiredFields.test.js.snap +0 -118
  182. package/build/components/__shared__/Occupation/__tests__/__mocks__/occupation.json +0 -17
  183. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +0 -3754
  184. package/build/components/__shared__/Payment/__tests__/__snapshots__/Payment.test.js.snap +0 -1109
  185. package/build/components/__shared__/Payment/components/AmazonPay/__tests__/__snapshots__/AmazonPay.test.js.snap +0 -23
  186. package/build/components/__shared__/Payment/components/Aplazame/__tests__/__snapshots__/Aplazame.test.js.snap +0 -33
  187. package/build/components/__shared__/Payment/components/Card/__tests__/__snapshots__/Card.test.js.snap +0 -933
  188. package/build/components/__shared__/Payment/components/PCI/__tests__/__snapshots__/PCI.test.js.snap +0 -474
  189. package/build/components/__shared__/Payment/components/Tpv/__tests__/__snapshots__/Tpv.test.js.snap +0 -98
  190. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.Line.test.js.snap +0 -49
  191. package/build/components/__shared__/PriceBreakdown/__tests__/__snapshots__/PriceBreakdown.test.js.snap +0 -337
  192. package/build/components/__shared__/SelectEnvironment/__tests__/__snapshots__/SelectEnvironment.test.js.snap +0 -1192
  193. package/build/components/__shared__/Skeleton/__tests__/__snapshots__/Skeleton.test.js.snap +0 -66
  194. package/build/components/__shared__/TextRequiredFields/__tests__/__snapshots__/TextRequiredFields.test.js.snap +0 -41
  195. package/build/components/helpers/__tests__/__mocks__/hotels.json +0 -87
  196. package/build/components/helpers/__tests__/__snapshots__/parseHtml.test.js.snap +0 -317
  197. package/playwright.config.js +0 -50
  198. package/public/App.Container.jsx +0 -147
  199. package/public/App.jsx +0 -34
  200. package/public/App.module.css +0 -153
  201. package/public/index.html +0 -32
  202. package/public/index.template.html +0 -19
  203. package/public/performance/index.html +0 -159
  204. package/public/routes/Deals.jsx +0 -20
  205. package/public/routes/Finder.jsx +0 -19
  206. package/public/routes/Home.constants.js +0 -52
  207. package/public/routes/Home.jsx +0 -131
  208. package/public/routes/NotFound.jsx +0 -23
  209. package/public/routes/Profile.jsx +0 -21
  210. package/public/routes/Signup.jsx +0 -20
  211. package/public/routes/Step0-Accommodations.jsx +0 -4
  212. package/public/routes/Step1-Rates.jsx +0 -12
  213. package/public/routes/Step2-Checkout.jsx +0 -4
  214. package/public/routes/Step3-Booking.jsx +0 -4
  215. package/public/routes/components/Logo.jsx +0 -18
  216. package/public/routes/components/index.js +0 -1
  217. package/public/routes/index.js +0 -10
  218. package/public/routes/routes.module.css +0 -259
  219. package/public/themes/monalisa.theme.css +0 -45
@@ -1,211 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Message> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view wide"
7
- >
8
- <ui-view
9
- class="view row wide"
10
- >
11
- <ui-view
12
- class="view"
13
- >
14
- <ui-pre
15
- class="text small"
16
- />
17
- </ui-view>
18
- </ui-view>
19
- </ui-view>
20
- </DocumentFragment>
21
- `;
22
-
23
- exports[`<Message> prop:auto 1`] = `
24
- <DocumentFragment>
25
- <ui-view
26
- class="view wide"
27
- >
28
- <ui-view
29
- class="view row wide"
30
- >
31
- <ui-view
32
- class="view"
33
- >
34
- <ui-pre
35
- class="text small"
36
- />
37
- </ui-view>
38
- </ui-view>
39
- </ui-view>
40
- </DocumentFragment>
41
- `;
42
-
43
- exports[`<Message> prop:busy 1`] = `
44
- <DocumentFragment>
45
- <ui-view
46
- class="view wide"
47
- >
48
- <ui-view
49
- class="view row wide"
50
- >
51
- <ui-view
52
- class="view"
53
- >
54
- <ui-view
55
- class="view"
56
- />
57
- </ui-view>
58
- </ui-view>
59
- </ui-view>
60
- </DocumentFragment>
61
- `;
62
-
63
- exports[`<Message> prop:disabled 1`] = `
64
- <DocumentFragment>
65
- <ui-view
66
- class="view wide"
67
- >
68
- <ui-view
69
- class="view row wide"
70
- >
71
- <ui-view
72
- class="view"
73
- >
74
- <ui-pre
75
- class="text small"
76
- />
77
- </ui-view>
78
- </ui-view>
79
- </ui-view>
80
- </DocumentFragment>
81
- `;
82
-
83
- exports[`<Message> prop:intent 1`] = `
84
- <DocumentFragment>
85
- <ui-view
86
- class="view wide"
87
- >
88
- <ui-view
89
- class="view row wide"
90
- >
91
- <ui-view
92
- class="view"
93
- >
94
- <ui-pre
95
- class="text small"
96
- />
97
- </ui-view>
98
- </ui-view>
99
- </ui-view>
100
- </DocumentFragment>
101
- `;
102
-
103
- exports[`<Message> prop:response 1`] = `
104
- <DocumentFragment>
105
- <ui-view
106
- class="view wide"
107
- >
108
- <ui-view
109
- class="view row wide"
110
- >
111
- <ui-view
112
- class="view"
113
- >
114
- <ui-text
115
- class="text action"
116
- >
117
- text-response
118
- </ui-text>
119
- </ui-view>
120
- </ui-view>
121
- </ui-view>
122
- </DocumentFragment>
123
- `;
124
-
125
- exports[`<Message> prop:text 1`] = `
126
- <DocumentFragment>
127
- <ui-view
128
- class="view wide"
129
- >
130
- <ui-view
131
- class="view row wide"
132
- >
133
- <ui-view
134
- class="view"
135
- >
136
- <ui-text
137
- class="text action"
138
- >
139
- text
140
- </ui-text>
141
- </ui-view>
142
- </ui-view>
143
- </ui-view>
144
- </DocumentFragment>
145
- `;
146
-
147
- exports[`<Message> prop:timestamp 1`] = `
148
- <DocumentFragment>
149
- <ui-view
150
- class="view wide"
151
- >
152
- <ui-text
153
- class="text light small"
154
- >
155
- 10/4/1980, 22:30
156
- </ui-text>
157
- <ui-view
158
- class="view row wide"
159
- >
160
- <ui-view
161
- class="view"
162
- >
163
- <ui-pre
164
- class="text small"
165
- />
166
- </ui-view>
167
- </ui-view>
168
- </ui-view>
169
- </DocumentFragment>
170
- `;
171
-
172
- exports[`<Message> renders 1`] = `
173
- <DocumentFragment>
174
- <ui-view
175
- class="view wide"
176
- >
177
- <ui-view
178
- class="view row wide"
179
- >
180
- <ui-view
181
- class="view"
182
- >
183
- <ui-pre
184
- class="text small"
185
- />
186
- </ui-view>
187
- </ui-view>
188
- </ui-view>
189
- </DocumentFragment>
190
- `;
191
-
192
- exports[`<Message> testId 1`] = `
193
- <DocumentFragment>
194
- <ui-view
195
- class="view wide"
196
- data-testid="mirai"
197
- >
198
- <ui-view
199
- class="view row wide"
200
- >
201
- <ui-view
202
- class="view"
203
- >
204
- <ui-pre
205
- class="text small"
206
- />
207
- </ui-view>
208
- </ui-view>
209
- </ui-view>
210
- </DocumentFragment>
211
- `;
@@ -1,65 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Chat> <Message> <Booking> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view mirai"
7
- >
8
- <ui-view
9
- class="view row"
10
- >
11
- <ui-text
12
- class="text bold action"
13
- />
14
- </ui-view>
15
- <ui-text
16
- class="text light small"
17
- >
18
- 0,00 €
19
- </ui-text>
20
- </ui-view>
21
- </DocumentFragment>
22
- `;
23
-
24
- exports[`<Chat> <Message> <Booking> renders 1`] = `
25
- <DocumentFragment>
26
- <ui-view
27
- class="view"
28
- >
29
- <ui-view
30
- class="view row"
31
- >
32
- <ui-text
33
- class="text bold action"
34
- />
35
- </ui-view>
36
- <ui-text
37
- class="text light small"
38
- >
39
- 0,00 €
40
- </ui-text>
41
- </ui-view>
42
- </DocumentFragment>
43
- `;
44
-
45
- exports[`<Chat> <Message> <Booking> testID 1`] = `
46
- <DocumentFragment>
47
- <ui-view
48
- class="view"
49
- data-testid="mirai"
50
- >
51
- <ui-view
52
- class="view row"
53
- >
54
- <ui-text
55
- class="text bold action"
56
- />
57
- </ui-view>
58
- <ui-text
59
- class="text light small"
60
- >
61
- 0,00 €
62
- </ui-text>
63
- </ui-view>
64
- </DocumentFragment>
65
- `;
@@ -1,29 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Chat> <Message> <Card> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-pressable
6
- class="pressable disabled mirai"
7
- disabled="true"
8
- />
9
- </DocumentFragment>
10
- `;
11
-
12
- exports[`<Chat> <Message> <Card> renders 1`] = `
13
- <DocumentFragment>
14
- <ui-pressable
15
- class="pressable disabled"
16
- disabled="true"
17
- />
18
- </DocumentFragment>
19
- `;
20
-
21
- exports[`<Chat> <Message> <Card> testID 1`] = `
22
- <DocumentFragment>
23
- <ui-pressable
24
- class="pressable disabled"
25
- data-testid="mirai"
26
- disabled="true"
27
- />
28
- </DocumentFragment>
29
- `;
@@ -1,44 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Chat> <Message> <Environment> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view row mirai"
7
- >
8
- <ui-text
9
- class="text bold small"
10
- >
11
- undefined
12
- </ui-text>
13
- </ui-view>
14
- </DocumentFragment>
15
- `;
16
-
17
- exports[`<Chat> <Message> <Environment> renders 1`] = `
18
- <DocumentFragment>
19
- <ui-view
20
- class="view row"
21
- >
22
- <ui-text
23
- class="text bold small"
24
- >
25
- undefined
26
- </ui-text>
27
- </ui-view>
28
- </DocumentFragment>
29
- `;
30
-
31
- exports[`<Chat> <Message> <Environment> testID 1`] = `
32
- <DocumentFragment>
33
- <ui-view
34
- class="view row"
35
- data-testid="mirai"
36
- >
37
- <ui-text
38
- class="text bold small"
39
- >
40
- undefined
41
- </ui-text>
42
- </ui-view>
43
- </DocumentFragment>
44
- `;
@@ -1,162 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Offline> applies the correct classes based on props 1`] = `
4
- <DocumentFragment>
5
- <ui-notification-error
6
- class="view row notification error outlined small"
7
- columnmode="true"
8
- disabled="true"
9
- focus="true"
10
- rowmode="true"
11
- >
12
- <ui-icon
13
- class="icon paragraph"
14
- >
15
- <svg
16
- fill="currentColor"
17
- height="1em"
18
- stroke="currentColor"
19
- stroke-width="0"
20
- viewBox="0 0 24 24"
21
- width="1em"
22
- xmlns="http://www.w3.org/2000/svg"
23
- >
24
- <path
25
- d="M0 0h24v24H0V0z"
26
- fill="none"
27
- />
28
- <path
29
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
30
- />
31
- </svg>
32
- </ui-icon>
33
- <ui-view
34
- class="view texts"
35
- >
36
- <ui-text
37
- class="text small"
38
- >
39
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum tempore ipsa inventore, sed corporis distinctio.
40
- </ui-text>
41
- </ui-view>
42
- </ui-notification-error>
43
- </DocumentFragment>
44
- `;
45
-
46
- exports[`<Offline> inherit:className 1`] = `
47
- <DocumentFragment>
48
- <ui-notification-error
49
- class="view row notification error outlined small mirai"
50
- >
51
- <ui-icon
52
- class="icon paragraph"
53
- >
54
- <svg
55
- fill="currentColor"
56
- height="1em"
57
- stroke="currentColor"
58
- stroke-width="0"
59
- viewBox="0 0 24 24"
60
- width="1em"
61
- xmlns="http://www.w3.org/2000/svg"
62
- >
63
- <path
64
- d="M0 0h24v24H0V0z"
65
- fill="none"
66
- />
67
- <path
68
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
69
- />
70
- </svg>
71
- </ui-icon>
72
- <ui-view
73
- class="view texts"
74
- >
75
- <ui-text
76
- class="text small"
77
- >
78
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum tempore ipsa inventore, sed corporis distinctio.
79
- </ui-text>
80
- </ui-view>
81
- </ui-notification-error>
82
- </DocumentFragment>
83
- `;
84
-
85
- exports[`<Offline> renders 1`] = `
86
- <DocumentFragment>
87
- <ui-notification-error
88
- class="view row notification error outlined small"
89
- >
90
- <ui-icon
91
- class="icon paragraph"
92
- >
93
- <svg
94
- fill="currentColor"
95
- height="1em"
96
- stroke="currentColor"
97
- stroke-width="0"
98
- viewBox="0 0 24 24"
99
- width="1em"
100
- xmlns="http://www.w3.org/2000/svg"
101
- >
102
- <path
103
- d="M0 0h24v24H0V0z"
104
- fill="none"
105
- />
106
- <path
107
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
108
- />
109
- </svg>
110
- </ui-icon>
111
- <ui-view
112
- class="view texts"
113
- >
114
- <ui-text
115
- class="text small"
116
- >
117
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum tempore ipsa inventore, sed corporis distinctio.
118
- </ui-text>
119
- </ui-view>
120
- </ui-notification-error>
121
- </DocumentFragment>
122
- `;
123
-
124
- exports[`<Offline> testID 1`] = `
125
- <DocumentFragment>
126
- <ui-notification-error
127
- class="view row notification error outlined small"
128
- data-testid="mirai"
129
- >
130
- <ui-icon
131
- class="icon paragraph"
132
- >
133
- <svg
134
- fill="currentColor"
135
- height="1em"
136
- stroke="currentColor"
137
- stroke-width="0"
138
- viewBox="0 0 24 24"
139
- width="1em"
140
- xmlns="http://www.w3.org/2000/svg"
141
- >
142
- <path
143
- d="M0 0h24v24H0V0z"
144
- fill="none"
145
- />
146
- <path
147
- d="M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
148
- />
149
- </svg>
150
- </ui-icon>
151
- <ui-view
152
- class="view texts"
153
- >
154
- <ui-text
155
- class="text small"
156
- >
157
- Lorem ipsum dolor sit amet consectetur adipisicing elit. Cum tempore ipsa inventore, sed corporis distinctio.
158
- </ui-text>
159
- </ui-view>
160
- </ui-notification-error>
161
- </DocumentFragment>
162
- `;
@@ -1,9 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Chat> helpers/getVerboseDate handles a non-array input as a single date 1`] = `"August 26, 2024"`;
4
-
5
- exports[`<Chat> helpers/getVerboseDate handles an empty array and returns an empty string 1`] = `""`;
6
-
7
- exports[`<Chat> helpers/getVerboseDate returns formatted dates joined by " ─ " for an array of dates 1`] = `"August 26, 2024 ─ August 26, 2024"`;
8
-
9
- exports[`<Chat> helpers/getVerboseDate returns the formatted date for a single date 1`] = `"August 26, 2024"`;