@mirai/core 0.3.362 → 0.3.364

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 (39) hide show
  1. package/build/components/Booking/partials/__tests__/__snapshots__/Booking.Modal.test.js.snap +24 -24
  2. package/build/components/BookingQuery/__tests__/__snapshots__/BookingQuery.test.js.snap +30 -30
  3. package/build/components/Chat/components/Input/__tests__/__snapshots__/Input.test.jsx.snap +9 -9
  4. package/build/components/Chat/components/InputRich/__tests__/__snapshots__/InputRich.test.jsx.snap +17 -17
  5. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Confirmation.test.js.snap +30 -24
  6. package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Form.test.js.snap +8 -8
  7. package/build/components/Deals/__tests__/__snapshots__/Deals.Calendar.test.js.snap +6 -6
  8. package/build/components/Deals/__tests__/__snapshots__/Deals.test.js.snap +95 -70
  9. package/build/components/Finder/Finder.compact.js +1 -1
  10. package/build/components/Finder/Finder.compact.js.map +1 -1
  11. package/build/components/Finder/Finder.js +1 -0
  12. package/build/components/Finder/Finder.js.map +1 -1
  13. package/build/components/Finder/Finder.module.css +21 -10
  14. package/build/components/Finder/__tests__/__snapshots__/Finder.test.js.snap +294 -210
  15. package/build/components/Finder/components/Calendar/__tests__/__snapshots__/Calendar.test.js.snap +18 -18
  16. package/build/components/Rates/Rates.js +3 -3
  17. package/build/components/Rates/Rates.js.map +1 -1
  18. package/build/components/Rates/components/Filters/Filters.module.css +4 -0
  19. package/build/components/Rates/components/ModalExtras/ModalExtras.js +0 -1
  20. package/build/components/Rates/components/ModalExtras/ModalExtras.js.map +1 -1
  21. package/build/components/Session/__tests__/__snapshots__/Session.test.js.snap +33 -33
  22. package/build/components/Signup/__tests__/__snapshots__/Signup.test.js.snap +9 -6
  23. package/build/components/__shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap +10 -10
  24. package/build/components/__shared__/BookingTerms/__tests__/__snapshots__/BookingTerms.test.js.snap +8 -8
  25. package/build/components/__shared__/ButtonMore/__tests__/__snapshots__/ButtonMore.test.js.snap +6 -6
  26. package/build/components/__shared__/ButtonPayment/__tests__/__snapshots__/ButtonPayment.test.js.snap +17 -17
  27. package/build/components/__shared__/ButtonPayment/components/FormCheckout/__tests__/__snapshots__/FormCheckout.test.js.snap +9 -9
  28. package/build/components/__shared__/ButtonPayment/components/FormPaycomet/__tests__/__snapshots__/FormPaycomet.test.js.snap +3 -2
  29. package/build/components/__shared__/Field/__tests__/__snapshots__/Field.test.js.snap +32 -32
  30. package/build/components/__shared__/FieldOccupation/FieldOccupation.js +3 -0
  31. package/build/components/__shared__/FieldOccupation/FieldOccupation.js.map +1 -1
  32. package/build/components/__shared__/FieldOccupation/__tests__/__snapshots__/FieldOccupation.test.js.snap +150 -96
  33. package/build/components/__shared__/Occupation/Occupation.Group.js +4 -2
  34. package/build/components/__shared__/Occupation/Occupation.Group.js.map +1 -1
  35. package/build/components/__shared__/Occupation/Occupation.js +2 -1
  36. package/build/components/__shared__/Occupation/Occupation.js.map +1 -1
  37. package/build/components/__shared__/Occupation/__tests__/__snapshots__/Occupation.test.js.snap +258 -168
  38. package/build/theme.css +2 -0
  39. package/package.json +1 -1
@@ -18,7 +18,7 @@ exports[`component:<Booking> partial:<Modal> inherit:className 1`] = `
18
18
  >
19
19
  user.action.resend_booking
20
20
  </ui-text>
21
- <button
21
+ <ui-button
22
22
  class="pressable button small squared transparent button"
23
23
  tabindex="0"
24
24
  >
@@ -43,7 +43,7 @@ exports[`component:<Booking> partial:<Modal> inherit:className 1`] = `
43
43
  />
44
44
  </svg>
45
45
  </ui-icon>
46
- </button>
46
+ </ui-button>
47
47
  </ui-view>
48
48
  <ui-view
49
49
  class="view"
@@ -86,18 +86,18 @@ exports[`component:<Booking> partial:<Modal> inherit:className 1`] = `
86
86
  <ui-view
87
87
  class="view row"
88
88
  >
89
- <button
89
+ <ui-button
90
90
  class="pressable button large secondary wide"
91
91
  tabindex="0"
92
92
  >
93
93
  common.action.back
94
- </button>
95
- <button
94
+ </ui-button>
95
+ <ui-button
96
96
  class="pressable button large wide"
97
97
  tabindex="0"
98
98
  >
99
99
  common.action.send
100
- </button>
100
+ </ui-button>
101
101
  </ui-view>
102
102
  </ui-view>
103
103
  </ui-modal>
@@ -123,7 +123,7 @@ exports[`component:<Booking> partial:<Modal> renders 1`] = `
123
123
  >
124
124
  user.action.resend_booking
125
125
  </ui-text>
126
- <button
126
+ <ui-button
127
127
  class="pressable button small squared transparent button"
128
128
  tabindex="0"
129
129
  >
@@ -148,7 +148,7 @@ exports[`component:<Booking> partial:<Modal> renders 1`] = `
148
148
  />
149
149
  </svg>
150
150
  </ui-icon>
151
- </button>
151
+ </ui-button>
152
152
  </ui-view>
153
153
  <ui-view
154
154
  class="view"
@@ -191,18 +191,18 @@ exports[`component:<Booking> partial:<Modal> renders 1`] = `
191
191
  <ui-view
192
192
  class="view row"
193
193
  >
194
- <button
194
+ <ui-button
195
195
  class="pressable button large secondary wide"
196
196
  tabindex="0"
197
197
  >
198
198
  common.action.back
199
- </button>
200
- <button
199
+ </ui-button>
200
+ <ui-button
201
201
  class="pressable button large wide"
202
202
  tabindex="0"
203
203
  >
204
204
  common.action.send
205
- </button>
205
+ </ui-button>
206
206
  </ui-view>
207
207
  </ui-view>
208
208
  </ui-modal>
@@ -230,7 +230,7 @@ exports[`component:<Booking> partial:<Modal> testID 1`] = `
230
230
  >
231
231
  user.action.resend_booking
232
232
  </ui-text>
233
- <button
233
+ <ui-button
234
234
  class="pressable button small squared transparent button"
235
235
  data-testid="mirai-button-close"
236
236
  tabindex="0"
@@ -256,7 +256,7 @@ exports[`component:<Booking> partial:<Modal> testID 1`] = `
256
256
  />
257
257
  </svg>
258
258
  </ui-icon>
259
- </button>
259
+ </ui-button>
260
260
  </ui-view>
261
261
  <ui-view
262
262
  class="view"
@@ -299,18 +299,18 @@ exports[`component:<Booking> partial:<Modal> testID 1`] = `
299
299
  <ui-view
300
300
  class="view row"
301
301
  >
302
- <button
302
+ <ui-button
303
303
  class="pressable button large secondary wide"
304
304
  tabindex="0"
305
305
  >
306
306
  common.action.back
307
- </button>
308
- <button
307
+ </ui-button>
308
+ <ui-button
309
309
  class="pressable button large wide"
310
310
  tabindex="0"
311
311
  >
312
312
  common.action.send
313
- </button>
313
+ </ui-button>
314
314
  </ui-view>
315
315
  </ui-view>
316
316
  </ui-modal>
@@ -336,7 +336,7 @@ exports[`component:<Booking> partial:<Modal> with a store 1`] = `
336
336
  >
337
337
  user.action.resend_booking
338
338
  </ui-text>
339
- <button
339
+ <ui-button
340
340
  class="pressable button small squared transparent button"
341
341
  tabindex="0"
342
342
  >
@@ -361,7 +361,7 @@ exports[`component:<Booking> partial:<Modal> with a store 1`] = `
361
361
  />
362
362
  </svg>
363
363
  </ui-icon>
364
- </button>
364
+ </ui-button>
365
365
  </ui-view>
366
366
  <ui-view
367
367
  class="view"
@@ -404,18 +404,18 @@ exports[`component:<Booking> partial:<Modal> with a store 1`] = `
404
404
  <ui-view
405
405
  class="view row"
406
406
  >
407
- <button
407
+ <ui-button
408
408
  class="pressable button large secondary wide"
409
409
  tabindex="0"
410
410
  >
411
411
  common.action.back
412
- </button>
413
- <button
412
+ </ui-button>
413
+ <ui-button
414
414
  class="pressable button large wide"
415
415
  tabindex="0"
416
416
  >
417
417
  common.action.send
418
- </button>
418
+ </ui-button>
419
419
  </ui-view>
420
420
  </ui-view>
421
421
  </ui-modal>
@@ -34,7 +34,7 @@ exports[`component:<BookingQuery> Using ghost feature renders 1`] = `
34
34
  </ui-text>
35
35
  title
36
36
  </ui-text>
37
- <button
37
+ <ui-button
38
38
  class="pressable button small squared transparent button"
39
39
  tabindex="0"
40
40
  >
@@ -59,7 +59,7 @@ exports[`component:<BookingQuery> Using ghost feature renders 1`] = `
59
59
  />
60
60
  </svg>
61
61
  </ui-icon>
62
- </button>
62
+ </ui-button>
63
63
  </ui-view>
64
64
  <form>
65
65
  <ui-text
@@ -145,9 +145,9 @@ exports[`component:<BookingQuery> Using ghost feature renders 1`] = `
145
145
  </ui-pressable>
146
146
  </ui-view>
147
147
  </ui-input-text>
148
- <button
148
+ <ui-button
149
149
  class="pressable disabled button large disabled wide"
150
- disabled=""
150
+ disabled="true"
151
151
  type="submit"
152
152
  >
153
153
  <ui-view
@@ -162,7 +162,7 @@ exports[`component:<BookingQuery> Using ghost feature renders 1`] = `
162
162
  >
163
163
  user.action.booking_query_cta
164
164
  </ui-view>
165
- </button>
165
+ </ui-button>
166
166
  <ui-text
167
167
  class="text bold small"
168
168
  >
@@ -219,7 +219,7 @@ exports[`component:<BookingQuery> Using ghost feature with a store using ghost f
219
219
  </ui-text>
220
220
  title
221
221
  </ui-text>
222
- <button
222
+ <ui-button
223
223
  class="pressable button small squared transparent button"
224
224
  tabindex="0"
225
225
  >
@@ -244,7 +244,7 @@ exports[`component:<BookingQuery> Using ghost feature with a store using ghost f
244
244
  />
245
245
  </svg>
246
246
  </ui-icon>
247
- </button>
247
+ </ui-button>
248
248
  </ui-view>
249
249
  <form>
250
250
  <ui-text
@@ -330,9 +330,9 @@ exports[`component:<BookingQuery> Using ghost feature with a store using ghost f
330
330
  </ui-pressable>
331
331
  </ui-view>
332
332
  </ui-input-text>
333
- <button
333
+ <ui-button
334
334
  class="pressable disabled button large disabled wide"
335
- disabled=""
335
+ disabled="true"
336
336
  type="submit"
337
337
  >
338
338
  <ui-view
@@ -347,7 +347,7 @@ exports[`component:<BookingQuery> Using ghost feature with a store using ghost f
347
347
  >
348
348
  user.action.booking_query_cta
349
349
  </ui-view>
350
- </button>
350
+ </ui-button>
351
351
  <ui-text
352
352
  class="text bold small"
353
353
  >
@@ -404,7 +404,7 @@ exports[`component:<BookingQuery> inherit:className 1`] = `
404
404
  </ui-text>
405
405
  title
406
406
  </ui-text>
407
- <button
407
+ <ui-button
408
408
  class="pressable button small squared transparent button"
409
409
  tabindex="0"
410
410
  >
@@ -429,7 +429,7 @@ exports[`component:<BookingQuery> inherit:className 1`] = `
429
429
  />
430
430
  </svg>
431
431
  </ui-icon>
432
- </button>
432
+ </ui-button>
433
433
  </ui-view>
434
434
  <form>
435
435
  <ui-text
@@ -515,9 +515,9 @@ exports[`component:<BookingQuery> inherit:className 1`] = `
515
515
  </ui-pressable>
516
516
  </ui-view>
517
517
  </ui-input-text>
518
- <button
518
+ <ui-button
519
519
  class="pressable disabled button large disabled wide"
520
- disabled=""
520
+ disabled="true"
521
521
  type="submit"
522
522
  >
523
523
  <ui-view
@@ -532,7 +532,7 @@ exports[`component:<BookingQuery> inherit:className 1`] = `
532
532
  >
533
533
  user.action.booking_query_cta
534
534
  </ui-view>
535
- </button>
535
+ </ui-button>
536
536
  <ui-text
537
537
  class="text bold small"
538
538
  >
@@ -589,7 +589,7 @@ exports[`component:<BookingQuery> renders 1`] = `
589
589
  </ui-text>
590
590
  title
591
591
  </ui-text>
592
- <button
592
+ <ui-button
593
593
  class="pressable button small squared transparent button"
594
594
  tabindex="0"
595
595
  >
@@ -614,7 +614,7 @@ exports[`component:<BookingQuery> renders 1`] = `
614
614
  />
615
615
  </svg>
616
616
  </ui-icon>
617
- </button>
617
+ </ui-button>
618
618
  </ui-view>
619
619
  <form>
620
620
  <ui-text
@@ -700,9 +700,9 @@ exports[`component:<BookingQuery> renders 1`] = `
700
700
  </ui-pressable>
701
701
  </ui-view>
702
702
  </ui-input-text>
703
- <button
703
+ <ui-button
704
704
  class="pressable disabled button large disabled wide"
705
- disabled=""
705
+ disabled="true"
706
706
  type="submit"
707
707
  >
708
708
  <ui-view
@@ -717,7 +717,7 @@ exports[`component:<BookingQuery> renders 1`] = `
717
717
  >
718
718
  user.action.booking_query_cta
719
719
  </ui-view>
720
- </button>
720
+ </ui-button>
721
721
  <ui-text
722
722
  class="text bold small"
723
723
  >
@@ -777,7 +777,7 @@ exports[`component:<BookingQuery> testID 1`] = `
777
777
  </ui-text>
778
778
  title
779
779
  </ui-text>
780
- <button
780
+ <ui-button
781
781
  class="pressable button small squared transparent button"
782
782
  data-testid="mirai-modal-button-close"
783
783
  tabindex="0"
@@ -803,7 +803,7 @@ exports[`component:<BookingQuery> testID 1`] = `
803
803
  />
804
804
  </svg>
805
805
  </ui-icon>
806
- </button>
806
+ </ui-button>
807
807
  </ui-view>
808
808
  <form
809
809
  data-testid="mirai"
@@ -893,10 +893,10 @@ exports[`component:<BookingQuery> testID 1`] = `
893
893
  </ui-pressable>
894
894
  </ui-view>
895
895
  </ui-input-text>
896
- <button
896
+ <ui-button
897
897
  class="pressable disabled button large disabled wide"
898
898
  data-testid="mirai-button-cta"
899
- disabled=""
899
+ disabled="true"
900
900
  type="submit"
901
901
  >
902
902
  <ui-view
@@ -911,7 +911,7 @@ exports[`component:<BookingQuery> testID 1`] = `
911
911
  >
912
912
  user.action.booking_query_cta
913
913
  </ui-view>
914
- </button>
914
+ </ui-button>
915
915
  <ui-text
916
916
  class="text bold small"
917
917
  >
@@ -968,7 +968,7 @@ exports[`component:<BookingQuery> with a store 1`] = `
968
968
  </ui-text>
969
969
  title
970
970
  </ui-text>
971
- <button
971
+ <ui-button
972
972
  class="pressable button small squared transparent button"
973
973
  tabindex="0"
974
974
  >
@@ -993,7 +993,7 @@ exports[`component:<BookingQuery> with a store 1`] = `
993
993
  />
994
994
  </svg>
995
995
  </ui-icon>
996
- </button>
996
+ </ui-button>
997
997
  </ui-view>
998
998
  <form>
999
999
  <ui-text
@@ -1079,9 +1079,9 @@ exports[`component:<BookingQuery> with a store 1`] = `
1079
1079
  </ui-pressable>
1080
1080
  </ui-view>
1081
1081
  </ui-input-text>
1082
- <button
1082
+ <ui-button
1083
1083
  class="pressable disabled button large disabled wide"
1084
- disabled=""
1084
+ disabled="true"
1085
1085
  type="submit"
1086
1086
  >
1087
1087
  <ui-view
@@ -1096,7 +1096,7 @@ exports[`component:<BookingQuery> with a store 1`] = `
1096
1096
  >
1097
1097
  user.action.booking_query_cta
1098
1098
  </ui-view>
1099
- </button>
1099
+ </ui-button>
1100
1100
  <ui-text
1101
1101
  class="text bold small"
1102
1102
  >
@@ -13,7 +13,7 @@ exports[`component:<Input> inherit:className 1`] = `
13
13
  <ui-tooltip
14
14
  class="container"
15
15
  >
16
- <button
16
+ <ui-button
17
17
  class="pressable dispatcher button small squared transparent"
18
18
  tabindex="0"
19
19
  >
@@ -38,7 +38,7 @@ exports[`component:<Input> inherit:className 1`] = `
38
38
  />
39
39
  </svg>
40
40
  </ui-icon>
41
- </button>
41
+ </ui-button>
42
42
  </ui-tooltip>
43
43
  </ui-view>
44
44
  </DocumentFragment>
@@ -57,9 +57,9 @@ exports[`component:<Input> prop:disabled 1`] = `
57
57
  <ui-tooltip
58
58
  class="container"
59
59
  >
60
- <button
60
+ <ui-button
61
61
  class="pressable disabled dispatcher button small squared transparent disabled"
62
- disabled=""
62
+ disabled="true"
63
63
  >
64
64
  <ui-icon
65
65
  class="icon light headline-3"
@@ -82,7 +82,7 @@ exports[`component:<Input> prop:disabled 1`] = `
82
82
  />
83
83
  </svg>
84
84
  </ui-icon>
85
- </button>
85
+ </ui-button>
86
86
  </ui-tooltip>
87
87
  </ui-view>
88
88
  </DocumentFragment>
@@ -101,7 +101,7 @@ exports[`component:<Input> renders 1`] = `
101
101
  <ui-tooltip
102
102
  class="container"
103
103
  >
104
- <button
104
+ <ui-button
105
105
  class="pressable dispatcher button small squared transparent"
106
106
  tabindex="0"
107
107
  >
@@ -126,7 +126,7 @@ exports[`component:<Input> renders 1`] = `
126
126
  />
127
127
  </svg>
128
128
  </ui-icon>
129
- </button>
129
+ </ui-button>
130
130
  </ui-tooltip>
131
131
  </ui-view>
132
132
  </DocumentFragment>
@@ -146,7 +146,7 @@ exports[`component:<Input> testId 1`] = `
146
146
  <ui-tooltip
147
147
  class="container"
148
148
  >
149
- <button
149
+ <ui-button
150
150
  class="pressable dispatcher button small squared transparent"
151
151
  tabindex="0"
152
152
  >
@@ -171,7 +171,7 @@ exports[`component:<Input> testId 1`] = `
171
171
  />
172
172
  </svg>
173
173
  </ui-icon>
174
- </button>
174
+ </ui-button>
175
175
  </ui-tooltip>
176
176
  </ui-view>
177
177
  </DocumentFragment>
@@ -28,7 +28,7 @@ exports[`component:<InputRich> inherit:className 1`] = `
28
28
  <ui-text
29
29
  class="text bold headline-3 wide"
30
30
  />
31
- <button
31
+ <ui-button
32
32
  class="pressable button squared transparent"
33
33
  tabindex="0"
34
34
  >
@@ -53,17 +53,17 @@ exports[`component:<InputRich> inherit:className 1`] = `
53
53
  />
54
54
  </svg>
55
55
  </ui-icon>
56
- </button>
56
+ </ui-button>
57
57
  </ui-view>
58
58
  <ui-view
59
59
  class="view"
60
60
  >
61
- <button
61
+ <ui-button
62
62
  class="pressable button large wide"
63
63
  tabindex="0"
64
64
  >
65
65
  common.action.apply
66
- </button>
66
+ </ui-button>
67
67
  </ui-view>
68
68
  </ui-view>
69
69
  </ui-view>
@@ -98,7 +98,7 @@ exports[`component:<InputRich> prop:disabled 1`] = `
98
98
  <ui-text
99
99
  class="text bold headline-3 wide"
100
100
  />
101
- <button
101
+ <ui-button
102
102
  class="pressable button squared transparent"
103
103
  tabindex="0"
104
104
  >
@@ -123,17 +123,17 @@ exports[`component:<InputRich> prop:disabled 1`] = `
123
123
  />
124
124
  </svg>
125
125
  </ui-icon>
126
- </button>
126
+ </ui-button>
127
127
  </ui-view>
128
128
  <ui-view
129
129
  class="view"
130
130
  >
131
- <button
131
+ <ui-button
132
132
  class="pressable disabled button large disabled wide"
133
- disabled=""
133
+ disabled="true"
134
134
  >
135
135
  common.action.apply
136
- </button>
136
+ </ui-button>
137
137
  </ui-view>
138
138
  </ui-view>
139
139
  </ui-view>
@@ -168,7 +168,7 @@ exports[`component:<InputRich> renders 1`] = `
168
168
  <ui-text
169
169
  class="text bold headline-3 wide"
170
170
  />
171
- <button
171
+ <ui-button
172
172
  class="pressable button squared transparent"
173
173
  tabindex="0"
174
174
  >
@@ -193,17 +193,17 @@ exports[`component:<InputRich> renders 1`] = `
193
193
  />
194
194
  </svg>
195
195
  </ui-icon>
196
- </button>
196
+ </ui-button>
197
197
  </ui-view>
198
198
  <ui-view
199
199
  class="view"
200
200
  >
201
- <button
201
+ <ui-button
202
202
  class="pressable button large wide"
203
203
  tabindex="0"
204
204
  >
205
205
  common.action.apply
206
- </button>
206
+ </ui-button>
207
207
  </ui-view>
208
208
  </ui-view>
209
209
  </ui-view>
@@ -239,7 +239,7 @@ exports[`component:<InputRich> testId 1`] = `
239
239
  <ui-text
240
240
  class="text bold headline-3 wide"
241
241
  />
242
- <button
242
+ <ui-button
243
243
  class="pressable button squared transparent"
244
244
  tabindex="0"
245
245
  >
@@ -264,17 +264,17 @@ exports[`component:<InputRich> testId 1`] = `
264
264
  />
265
265
  </svg>
266
266
  </ui-icon>
267
- </button>
267
+ </ui-button>
268
268
  </ui-view>
269
269
  <ui-view
270
270
  class="view"
271
271
  >
272
- <button
272
+ <ui-button
273
273
  class="pressable button large wide"
274
274
  tabindex="0"
275
275
  >
276
276
  common.action.apply
277
- </button>
277
+ </ui-button>
278
278
  </ui-view>
279
279
  </ui-view>
280
280
  </ui-view>