@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,97 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Avatar> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view mirai"
7
- >
8
- <ui-view
9
- class="view"
10
- >
11
- <ui-view
12
- class="view"
13
- />
14
- <ui-view
15
- class="view"
16
- />
17
- </ui-view>
18
- </ui-view>
19
- </DocumentFragment>
20
- `;
21
-
22
- exports[`<Avatar> prop:disabled 1`] = `
23
- <DocumentFragment>
24
- <ui-view
25
- class="view"
26
- >
27
- <ui-view
28
- class="view"
29
- >
30
- <ui-view
31
- class="view"
32
- />
33
- <ui-view
34
- class="view"
35
- />
36
- </ui-view>
37
- </ui-view>
38
- </DocumentFragment>
39
- `;
40
-
41
- exports[`<Avatar> prop:small 1`] = `
42
- <DocumentFragment>
43
- <ui-view
44
- class="view"
45
- >
46
- <ui-view
47
- class="view"
48
- >
49
- <ui-view
50
- class="view"
51
- />
52
- <ui-view
53
- class="view"
54
- />
55
- </ui-view>
56
- </ui-view>
57
- </DocumentFragment>
58
- `;
59
-
60
- exports[`<Avatar> renders 1`] = `
61
- <DocumentFragment>
62
- <ui-view
63
- class="view"
64
- >
65
- <ui-view
66
- class="view"
67
- >
68
- <ui-view
69
- class="view"
70
- />
71
- <ui-view
72
- class="view"
73
- />
74
- </ui-view>
75
- </ui-view>
76
- </DocumentFragment>
77
- `;
78
-
79
- exports[`<Avatar> testId 1`] = `
80
- <DocumentFragment>
81
- <ui-view
82
- class="view"
83
- data-testid="mirai"
84
- >
85
- <ui-view
86
- class="view"
87
- >
88
- <ui-view
89
- class="view"
90
- />
91
- <ui-view
92
- class="view"
93
- />
94
- </ui-view>
95
- </ui-view>
96
- </DocumentFragment>
97
- `;
@@ -1,178 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<Input> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view row"
7
- >
8
- <textarea
9
- class="input autoResize"
10
- name="input"
11
- placeholder="lisa.label.send_message"
12
- />
13
- <ui-tooltip
14
- class="container"
15
- >
16
- <ui-button
17
- class="pressable dispatcher button small squared transparent"
18
- tabindex="0"
19
- >
20
- <ui-icon
21
- class="icon light headline-3"
22
- >
23
- <svg
24
- fill="currentColor"
25
- height="1em"
26
- stroke="currentColor"
27
- stroke-width="0"
28
- viewBox="0 0 24 24"
29
- width="1em"
30
- xmlns="http://www.w3.org/2000/svg"
31
- >
32
- <path
33
- d="M0 0h24v24H0z"
34
- fill="none"
35
- />
36
- <path
37
- d="M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
38
- />
39
- </svg>
40
- </ui-icon>
41
- </ui-button>
42
- </ui-tooltip>
43
- </ui-view>
44
- </DocumentFragment>
45
- `;
46
-
47
- exports[`<Input> prop:disabled 1`] = `
48
- <DocumentFragment>
49
- <ui-view
50
- class="view row"
51
- >
52
- <textarea
53
- class="input autoResize"
54
- name="input"
55
- placeholder="lisa.label.send_message"
56
- />
57
- <ui-tooltip
58
- class="container"
59
- >
60
- <ui-button
61
- class="pressable disabled dispatcher button small squared transparent disabled"
62
- disabled="true"
63
- >
64
- <ui-icon
65
- class="icon light headline-3"
66
- >
67
- <svg
68
- fill="currentColor"
69
- height="1em"
70
- stroke="currentColor"
71
- stroke-width="0"
72
- viewBox="0 0 24 24"
73
- width="1em"
74
- xmlns="http://www.w3.org/2000/svg"
75
- >
76
- <path
77
- d="M0 0h24v24H0z"
78
- fill="none"
79
- />
80
- <path
81
- d="M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
82
- />
83
- </svg>
84
- </ui-icon>
85
- </ui-button>
86
- </ui-tooltip>
87
- </ui-view>
88
- </DocumentFragment>
89
- `;
90
-
91
- exports[`<Input> renders 1`] = `
92
- <DocumentFragment>
93
- <ui-view
94
- class="view row"
95
- >
96
- <textarea
97
- class="input autoResize"
98
- name="input"
99
- placeholder="lisa.label.send_message"
100
- />
101
- <ui-tooltip
102
- class="container"
103
- >
104
- <ui-button
105
- class="pressable dispatcher button small squared transparent"
106
- tabindex="0"
107
- >
108
- <ui-icon
109
- class="icon light headline-3"
110
- >
111
- <svg
112
- fill="currentColor"
113
- height="1em"
114
- stroke="currentColor"
115
- stroke-width="0"
116
- viewBox="0 0 24 24"
117
- width="1em"
118
- xmlns="http://www.w3.org/2000/svg"
119
- >
120
- <path
121
- d="M0 0h24v24H0z"
122
- fill="none"
123
- />
124
- <path
125
- d="M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
126
- />
127
- </svg>
128
- </ui-icon>
129
- </ui-button>
130
- </ui-tooltip>
131
- </ui-view>
132
- </DocumentFragment>
133
- `;
134
-
135
- exports[`<Input> testId 1`] = `
136
- <DocumentFragment>
137
- <ui-view
138
- class="view row"
139
- data-testid="mirai"
140
- >
141
- <textarea
142
- class="input autoResize"
143
- name="input"
144
- placeholder="lisa.label.send_message"
145
- />
146
- <ui-tooltip
147
- class="container"
148
- >
149
- <ui-button
150
- class="pressable dispatcher button small squared transparent"
151
- tabindex="0"
152
- >
153
- <ui-icon
154
- class="icon light headline-3"
155
- >
156
- <svg
157
- fill="currentColor"
158
- height="1em"
159
- stroke="currentColor"
160
- stroke-width="0"
161
- viewBox="0 0 24 24"
162
- width="1em"
163
- xmlns="http://www.w3.org/2000/svg"
164
- >
165
- <path
166
- d="M0 0h24v24H0z"
167
- fill="none"
168
- />
169
- <path
170
- d="M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
171
- />
172
- </svg>
173
- </ui-icon>
174
- </ui-button>
175
- </ui-tooltip>
176
- </ui-view>
177
- </DocumentFragment>
178
- `;
@@ -1,282 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`<InputRich> inherit:className 1`] = `
4
- <DocumentFragment>
5
- <ui-view
6
- class="view"
7
- >
8
- <ui-view
9
- class="view"
10
- >
11
- <ui-view
12
- class="view row"
13
- >
14
- <ui-view
15
- class="view"
16
- >
17
- <ui-view
18
- class="view"
19
- >
20
- <ui-view
21
- class="view"
22
- />
23
- <ui-view
24
- class="view"
25
- />
26
- </ui-view>
27
- </ui-view>
28
- <ui-text
29
- class="text bold headline-3 wide"
30
- />
31
- <ui-button
32
- class="pressable button squared transparent"
33
- tabindex="0"
34
- >
35
- <ui-icon
36
- class="icon headline-3"
37
- >
38
- <svg
39
- fill="currentColor"
40
- height="1em"
41
- stroke="currentColor"
42
- stroke-width="0"
43
- viewBox="0 0 24 24"
44
- width="1em"
45
- xmlns="http://www.w3.org/2000/svg"
46
- >
47
- <path
48
- d="M0 0h24v24H0V0z"
49
- fill="none"
50
- />
51
- <path
52
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
53
- />
54
- </svg>
55
- </ui-icon>
56
- </ui-button>
57
- </ui-view>
58
- <ui-view
59
- class="view"
60
- >
61
- <ui-button
62
- class="pressable button large wide"
63
- tabindex="0"
64
- >
65
- common.action.apply
66
- </ui-button>
67
- </ui-view>
68
- </ui-view>
69
- </ui-view>
70
- </DocumentFragment>
71
- `;
72
-
73
- exports[`<InputRich> prop:disabled 1`] = `
74
- <DocumentFragment>
75
- <ui-view
76
- class="view"
77
- >
78
- <ui-view
79
- class="view"
80
- >
81
- <ui-view
82
- class="view row"
83
- >
84
- <ui-view
85
- class="view"
86
- >
87
- <ui-view
88
- class="view"
89
- >
90
- <ui-view
91
- class="view"
92
- />
93
- <ui-view
94
- class="view"
95
- />
96
- </ui-view>
97
- </ui-view>
98
- <ui-text
99
- class="text bold headline-3 wide"
100
- />
101
- <ui-button
102
- class="pressable button squared transparent"
103
- tabindex="0"
104
- >
105
- <ui-icon
106
- class="icon headline-3"
107
- >
108
- <svg
109
- fill="currentColor"
110
- height="1em"
111
- stroke="currentColor"
112
- stroke-width="0"
113
- viewBox="0 0 24 24"
114
- width="1em"
115
- xmlns="http://www.w3.org/2000/svg"
116
- >
117
- <path
118
- d="M0 0h24v24H0V0z"
119
- fill="none"
120
- />
121
- <path
122
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
123
- />
124
- </svg>
125
- </ui-icon>
126
- </ui-button>
127
- </ui-view>
128
- <ui-view
129
- class="view"
130
- >
131
- <ui-button
132
- class="pressable disabled button large disabled wide"
133
- disabled="true"
134
- >
135
- common.action.apply
136
- </ui-button>
137
- </ui-view>
138
- </ui-view>
139
- </ui-view>
140
- </DocumentFragment>
141
- `;
142
-
143
- exports[`<InputRich> renders 1`] = `
144
- <DocumentFragment>
145
- <ui-view
146
- class="view"
147
- >
148
- <ui-view
149
- class="view"
150
- >
151
- <ui-view
152
- class="view row"
153
- >
154
- <ui-view
155
- class="view"
156
- >
157
- <ui-view
158
- class="view"
159
- >
160
- <ui-view
161
- class="view"
162
- />
163
- <ui-view
164
- class="view"
165
- />
166
- </ui-view>
167
- </ui-view>
168
- <ui-text
169
- class="text bold headline-3 wide"
170
- />
171
- <ui-button
172
- class="pressable button squared transparent"
173
- tabindex="0"
174
- >
175
- <ui-icon
176
- class="icon headline-3"
177
- >
178
- <svg
179
- fill="currentColor"
180
- height="1em"
181
- stroke="currentColor"
182
- stroke-width="0"
183
- viewBox="0 0 24 24"
184
- width="1em"
185
- xmlns="http://www.w3.org/2000/svg"
186
- >
187
- <path
188
- d="M0 0h24v24H0V0z"
189
- fill="none"
190
- />
191
- <path
192
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
193
- />
194
- </svg>
195
- </ui-icon>
196
- </ui-button>
197
- </ui-view>
198
- <ui-view
199
- class="view"
200
- >
201
- <ui-button
202
- class="pressable button large wide"
203
- tabindex="0"
204
- >
205
- common.action.apply
206
- </ui-button>
207
- </ui-view>
208
- </ui-view>
209
- </ui-view>
210
- </DocumentFragment>
211
- `;
212
-
213
- exports[`<InputRich> testId 1`] = `
214
- <DocumentFragment>
215
- <ui-view
216
- class="view"
217
- data-testid="mirai"
218
- >
219
- <ui-view
220
- class="view"
221
- >
222
- <ui-view
223
- class="view row"
224
- >
225
- <ui-view
226
- class="view"
227
- >
228
- <ui-view
229
- class="view"
230
- >
231
- <ui-view
232
- class="view"
233
- />
234
- <ui-view
235
- class="view"
236
- />
237
- </ui-view>
238
- </ui-view>
239
- <ui-text
240
- class="text bold headline-3 wide"
241
- />
242
- <ui-button
243
- class="pressable button squared transparent"
244
- tabindex="0"
245
- >
246
- <ui-icon
247
- class="icon headline-3"
248
- >
249
- <svg
250
- fill="currentColor"
251
- height="1em"
252
- stroke="currentColor"
253
- stroke-width="0"
254
- viewBox="0 0 24 24"
255
- width="1em"
256
- xmlns="http://www.w3.org/2000/svg"
257
- >
258
- <path
259
- d="M0 0h24v24H0V0z"
260
- fill="none"
261
- />
262
- <path
263
- d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"
264
- />
265
- </svg>
266
- </ui-icon>
267
- </ui-button>
268
- </ui-view>
269
- <ui-view
270
- class="view"
271
- >
272
- <ui-button
273
- class="pressable button large wide"
274
- tabindex="0"
275
- >
276
- common.action.apply
277
- </ui-button>
278
- </ui-view>
279
- </ui-view>
280
- </ui-view>
281
- </DocumentFragment>
282
- `;