mautourco-components 0.2.167 → 0.2.168
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/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.css +10 -0
- package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +1 -1
- package/package.json +1 -1
- package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.css +4 -0
- package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +1 -1
|
@@ -20,4 +20,14 @@
|
|
|
20
20
|
--tw-space-y-reverse: 0;
|
|
21
21
|
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
22
22
|
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.resume-accom__content {
|
|
26
|
+
margin-top: 1rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.resume-accom__content > :not([hidden]) ~ :not([hidden]) {
|
|
30
|
+
--tw-space-y-reverse: 0;
|
|
31
|
+
margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
|
|
32
|
+
margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
|
|
23
33
|
}
|
|
@@ -11,5 +11,5 @@ import './ResumeAccom.css';
|
|
|
11
11
|
export function ResumeAccom(props) {
|
|
12
12
|
var image = props.image, dates = props.dates, clientType = props.clientType, pax = props.pax, rooms = props.rooms, hotelName = props.hotelName;
|
|
13
13
|
var stay = useStays(dates).stay;
|
|
14
|
-
return (_jsxs(BookingResumeLayout, { title: "Accommodation", icon: "accom", image: image, className: "resume-accom", children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", { className: "
|
|
14
|
+
return (_jsxs(BookingResumeLayout, { title: "Accommodation", icon: "accom", image: image, className: "resume-accom", children: [_jsx(ServiceTitle, { title: hotelName }), _jsxs("div", { className: "resume-accom__content", children: [_jsx(DateDisplay, { dates: dates, colorMode: "green" }), _jsxs(TextWithIcon, { icon: "night", children: [stay, " Nights"] }), _jsxs(Text, { variant: "medium", size: "sm", leading: "4", children: [_jsx("strong", { children: "Client types:" }), " ", clientType] }), _jsx("div", { className: "resume-accom__rooms", children: rooms.map(function (room, index) { return (_jsxs("div", { children: [_jsx(PaxDisplay, { pax: pax[index] }), _jsxs("div", { className: "space-y-1", children: [_jsx(TextWithIcon, { icon: "accom", textSize: "sm", textVariant: "medium", children: room.RoomName }), _jsx(ServiceInfo.Item, { icon: "utensils", iconSize: "sm", textSize: "sm", textLeading: "4", textVariant: "medium", label: "Meal-Plan", children: room.MealPlan })] })] }, "rm-".concat(index))); }) })] })] }));
|
|
15
15
|
}
|
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export function ResumeAccom(props: ResumeAccomProps) {
|
|
|
31
31
|
image={image}
|
|
32
32
|
className="resume-accom">
|
|
33
33
|
<ServiceTitle title={hotelName} />
|
|
34
|
-
<div className="
|
|
34
|
+
<div className="resume-accom__content">
|
|
35
35
|
<DateDisplay dates={dates} colorMode="green" />
|
|
36
36
|
<TextWithIcon icon="night">{stay} Nights</TextWithIcon>
|
|
37
37
|
<Text variant="medium" size="sm" leading="4">
|