@mirai/core 0.3.329 → 0.3.331
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/components/Booking/Booking.constants.js +1 -2
- package/build/components/Booking/Booking.constants.js.map +1 -1
- package/build/components/Booking/Booking.js +4 -3
- package/build/components/Booking/Booking.js.map +1 -1
- package/build/components/Booking/Booking.module.css +1 -18
- package/build/components/Booking/partials/Booking.Menu.js +8 -1
- package/build/components/Booking/partials/Booking.Menu.js.map +1 -1
- package/build/components/Booking/partials/index.js +3 -14
- package/build/components/Booking/partials/index.js.map +1 -1
- package/build/components/Checkout/Checkout.constants.js +1 -2
- package/build/components/Checkout/Checkout.constants.js.map +1 -1
- package/build/components/Checkout/Checkout.js +4 -3
- package/build/components/Checkout/Checkout.js.map +1 -1
- package/build/components/Checkout/Checkout.module.css +0 -49
- package/build/components/Checkout/partials/Checkout.Confirmation.js +9 -5
- package/build/components/Checkout/partials/Checkout.Confirmation.js.map +1 -1
- package/build/components/Checkout/partials/index.js +1 -12
- package/build/components/Checkout/partials/index.js.map +1 -1
- package/build/components/Rates/Rates.Footer.js +9 -0
- package/build/components/Rates/Rates.Footer.js.map +1 -1
- package/build/components/Rates/Rates.RoomSelector.js +3 -2
- package/build/components/Rates/Rates.RoomSelector.js.map +1 -1
- package/build/components/Rates/Rates.module.css +0 -1
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js +6 -6
- package/build/components/Rates/components/Filters/components/InputRange/InputRange.js.map +1 -1
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js +10 -0
- package/build/components/__shared__/BookingDetails/BookingDetails.constants.js.map +1 -0
- package/build/components/{Checkout/partials/Checkout.Details.js → __shared__/BookingDetails/BookingDetails.js} +36 -38
- package/build/components/__shared__/BookingDetails/BookingDetails.js.map +1 -0
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js +27 -0
- package/build/components/__shared__/BookingDetails/BookingDetails.l10n.js.map +1 -0
- package/build/components/__shared__/BookingDetails/BookingDetails.module.css +60 -0
- package/build/components/{Booking/partials/__tests__/__snapshots__/Booking.Details.test.js.snap → __shared__/BookingDetails/__tests__/__snapshots__/BookingDetails.test.js.snap} +862 -403
- package/build/components/__shared__/BookingDetails/index.js +17 -0
- package/build/components/__shared__/BookingDetails/index.js.map +1 -0
- package/build/components/__shared__/BookingDetails/mocks/booking.json +176 -0
- package/build/components/__shared__/BookingDetails/mocks/checkout.json +518 -0
- package/build/components/__shared__/BookingTable/BookingTable.Row.js +9 -5
- package/build/components/__shared__/BookingTable/BookingTable.Row.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.js +18 -3
- package/build/components/__shared__/BookingTable/BookingTable.js.map +1 -1
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js +5 -2
- package/build/components/__shared__/BookingTable/BookingTable.l10n.js.map +1 -1
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.Row.test.js.snap +56 -0
- package/build/components/__shared__/BookingTable/__tests__/__snapshots__/BookingTable.test.js.snap +126 -0
- package/build/components/__shared__/Footer/Footer.js +17 -2
- package/build/components/__shared__/Footer/Footer.js.map +1 -1
- package/build/components/__shared__/Footer/Footer.module.css +5 -8
- package/build/components/__shared__/index.js +11 -0
- package/build/components/__shared__/index.js.map +1 -1
- package/build/components/helpers/constants.js +1 -0
- package/build/components/helpers/constants.js.map +1 -1
- package/package.json +1 -1
- package/build/components/Booking/partials/Booking.Details.js +0 -154
- package/build/components/Booking/partials/Booking.Details.js.map +0 -1
- package/build/components/Checkout/partials/Checkout.Details.js.map +0 -1
- package/build/components/Checkout/partials/__tests__/__snapshots__/Checkout.Details.test.js.snap +0 -1312
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.L10N = void 0;
|
|
7
|
+
const L10N = exports.L10N = {
|
|
8
|
+
LABEL_BOOKING_DETAILS: {
|
|
9
|
+
id: 'user.label.booking_details'
|
|
10
|
+
},
|
|
11
|
+
LABEL_BOOKING_EXTRAS: {
|
|
12
|
+
id: 'user.label.booking_extras'
|
|
13
|
+
},
|
|
14
|
+
LABEL_EXTRAS: {
|
|
15
|
+
id: 'common.label.extras'
|
|
16
|
+
},
|
|
17
|
+
LABEL_OBSERVATIONS: {
|
|
18
|
+
id: 'common.label.observations'
|
|
19
|
+
},
|
|
20
|
+
LABEL_ROOM_NUMBER: {
|
|
21
|
+
id: 'common.label.room_number'
|
|
22
|
+
},
|
|
23
|
+
LABEL_SUBJECT_TO_AVAILABILITY: {
|
|
24
|
+
id: 'user.label.subject_to_availability'
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=BookingDetails.l10n.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingDetails.l10n.js","names":["L10N","exports","LABEL_BOOKING_DETAILS","id","LABEL_BOOKING_EXTRAS","LABEL_EXTRAS","LABEL_OBSERVATIONS","LABEL_ROOM_NUMBER","LABEL_SUBJECT_TO_AVAILABILITY"],"sources":["../../../../src/components/__shared__/BookingDetails/BookingDetails.l10n.js"],"sourcesContent":["export const L10N = {\n LABEL_BOOKING_DETAILS: { id: 'user.label.booking_details' },\n LABEL_BOOKING_EXTRAS: { id: 'user.label.booking_extras' },\n LABEL_EXTRAS: { id: 'common.label.extras' },\n LABEL_OBSERVATIONS: { id: 'common.label.observations' },\n LABEL_ROOM_NUMBER: { id: 'common.label.room_number' },\n LABEL_SUBJECT_TO_AVAILABILITY: { id: 'user.label.subject_to_availability' },\n};\n"],"mappings":";;;;;;AAAO,MAAMA,IAAI,GAAAC,OAAA,CAAAD,IAAA,GAAG;EAClBE,qBAAqB,EAAE;IAAEC,EAAE,EAAE;EAA6B,CAAC;EAC3DC,oBAAoB,EAAE;IAAED,EAAE,EAAE;EAA4B,CAAC;EACzDE,YAAY,EAAE;IAAEF,EAAE,EAAE;EAAsB,CAAC;EAC3CG,kBAAkB,EAAE;IAAEH,EAAE,EAAE;EAA4B,CAAC;EACvDI,iBAAiB,EAAE;IAAEJ,EAAE,EAAE;EAA2B,CAAC;EACrDK,6BAA6B,EAAE;IAAEL,EAAE,EAAE;EAAqC;AAC5E,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
.box {
|
|
2
|
+
background-color: var(--mirai-ui-base);
|
|
3
|
+
border-radius: var(--mirai-ui-border-radius);
|
|
4
|
+
box-shadow: inset 0 0 1px var(--mirai-ui-content-light);
|
|
5
|
+
padding: var(--mirai-ui-space-M);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.details {
|
|
9
|
+
gap: var(--mirai-ui-space-M);
|
|
10
|
+
padding-bottom: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.details .inline {
|
|
14
|
+
align-items: start;
|
|
15
|
+
color: var(--mirai-ui-content-light);
|
|
16
|
+
gap: var(--mirai-ui-space-XS);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.details .item {
|
|
20
|
+
gap: var(--mirai-ui-space-S);
|
|
21
|
+
margin-bottom: var(--mirai-ui-space-XS);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.details .item .image {
|
|
25
|
+
background-color: var(--mirai-ui-content-background);
|
|
26
|
+
background-size: cover;
|
|
27
|
+
border-radius: var(--mirai-ui-border-radius);
|
|
28
|
+
box-shadow: 0 0 0 1px var(--mirai-ui-content-background);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.details .buttonMore {
|
|
32
|
+
border-top: solid 1px var(--mirai-ui-content-border);
|
|
33
|
+
margin: calc(var(--mirai-ui-space-M) * -1);
|
|
34
|
+
padding: var(--mirai-ui-space-XXS) 0;
|
|
35
|
+
width: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.details .observations {
|
|
39
|
+
gap: var(--mirai-ui-space-XXS);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* S */
|
|
43
|
+
@media only screen and (max-width: 480px) {
|
|
44
|
+
.details .item .image {
|
|
45
|
+
height: var(--mirai-ui-space-XL);
|
|
46
|
+
min-height: var(--mirai-ui-space-XL);
|
|
47
|
+
min-width: var(--mirai-ui-space-XL);
|
|
48
|
+
width: var(--mirai-ui-space-XL);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* M & L */
|
|
53
|
+
@media only screen and (min-width: 481px) {
|
|
54
|
+
.details .item .image {
|
|
55
|
+
height: var(--mirai-ui-space-XXL);
|
|
56
|
+
min-height: var(--mirai-ui-space-XXL);
|
|
57
|
+
min-width: var(--mirai-ui-space-XXL);
|
|
58
|
+
width: var(--mirai-ui-space-XXL);
|
|
59
|
+
}
|
|
60
|
+
}
|