mautourco-components 0.2.22 → 0.2.24

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 (119) hide show
  1. package/dist/components/atoms/Icon/icons/LineIcon.d.ts +8 -0
  2. package/dist/components/atoms/Icon/icons/LineIcon.js +21 -0
  3. package/dist/components/atoms/Icon/icons/PlusCircleIcon.js +1 -1
  4. package/dist/components/atoms/Icon/icons/registry.d.ts +1 -0
  5. package/dist/components/atoms/Icon/icons/registry.js +2 -0
  6. package/dist/components/molecules/AccomodationDocket/AccomodationDocket.d.ts +7 -0
  7. package/dist/components/molecules/AccomodationDocket/AccomodationDocket.js +69 -0
  8. package/dist/components/molecules/AccomodationDocket/index.d.ts +2 -0
  9. package/dist/components/molecules/AccomodationDocket/index.js +1 -0
  10. package/dist/components/molecules/AddItemButton/AddItemButton.css +2088 -0
  11. package/dist/components/molecules/AddItemButton/AddItemButton.d.ts +7 -0
  12. package/dist/components/molecules/AddItemButton/AddItemButton.js +19 -0
  13. package/dist/components/molecules/BookingResume/ResumeAccom/ResumeAccom.js +1 -1
  14. package/dist/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.js +1 -1
  15. package/dist/components/molecules/BookingResume/ResumeTransfer.js +1 -1
  16. package/dist/components/molecules/Calendar/DateTime.d.ts +5 -5
  17. package/dist/components/molecules/Calendar/DateTime.js +48 -37
  18. package/dist/components/molecules/DateDisplay/DateDisplay.css +2100 -0
  19. package/dist/components/molecules/DateDisplay/DateDisplay.d.ts +13 -6
  20. package/dist/components/molecules/DateDisplay/DateDisplay.js +22 -8
  21. package/dist/components/molecules/DocketPrices/DocketPrices.d.ts +19 -0
  22. package/dist/components/molecules/DocketPrices/DocketPrices.js +31 -0
  23. package/dist/components/molecules/DocketPrices/index.d.ts +3 -0
  24. package/dist/components/molecules/DocketPrices/index.js +2 -0
  25. package/dist/components/molecules/ExcursionDocket/ExcursionDocket.d.ts +8 -0
  26. package/dist/components/molecules/ExcursionDocket/ExcursionDocket.js +30 -0
  27. package/dist/components/molecules/ExcursionDocket/index.d.ts +2 -0
  28. package/dist/components/molecules/ExcursionDocket/index.js +1 -0
  29. package/dist/components/molecules/LocationDropdown/LocationDropdown.js +8 -11
  30. package/dist/components/molecules/OtherServiceDocket/OtherServiceDocket.d.ts +8 -0
  31. package/dist/components/molecules/OtherServiceDocket/OtherServiceDocket.js +29 -0
  32. package/dist/components/molecules/OtherServiceDocket/index.d.ts +2 -0
  33. package/dist/components/molecules/OtherServiceDocket/index.js +1 -0
  34. package/dist/components/molecules/PriceDisplay/PriceDisplay.css +2101 -0
  35. package/dist/components/molecules/PriceDisplay/PriceDisplay.d.ts +26 -0
  36. package/dist/components/molecules/PriceDisplay/PriceDisplay.js +132 -0
  37. package/dist/components/molecules/PriceDisplay/index.d.ts +3 -0
  38. package/dist/components/molecules/PriceDisplay/index.js +2 -0
  39. package/dist/components/molecules/ServiceSelector/ServiceSelector.d.ts +3 -0
  40. package/dist/components/molecules/ServiceSelector/ServiceSelector.js +23 -12
  41. package/dist/components/molecules/TransferDocket/TransferDocket.d.ts +8 -0
  42. package/dist/components/molecules/TransferDocket/TransferDocket.js +59 -0
  43. package/dist/components/molecules/TransferDocket/index.d.ts +3 -0
  44. package/dist/components/molecules/TransferDocket/index.js +2 -0
  45. package/dist/components/organisms/BookingAddItem/AddItemNewService.d.ts +12 -0
  46. package/dist/components/organisms/BookingAddItem/AddItemNewService.js +48 -0
  47. package/dist/components/organisms/BookingAddItem/AddItemSelector.d.ts +9 -0
  48. package/dist/components/organisms/BookingAddItem/AddItemSelector.js +23 -0
  49. package/dist/components/organisms/BookingAddItem/BookingAddItem.d.ts +16 -0
  50. package/dist/components/organisms/BookingAddItem/BookingAddItem.js +66 -0
  51. package/dist/components/organisms/BookingAddItem/index.d.ts +3 -0
  52. package/dist/components/organisms/BookingAddItem/index.js +3 -0
  53. package/dist/components/organisms/DateTimePicker/DateTimePicker.js +11 -7
  54. package/dist/components/organisms/Docket/Docket.d.ts +126 -0
  55. package/dist/components/organisms/Docket/Docket.js +125 -0
  56. package/dist/components/organisms/PaxSelector/PaxSelector.d.ts +1 -0
  57. package/dist/components/organisms/PaxSelector/PaxSelector.js +50 -28
  58. package/dist/components/ui/popover.js +1 -1
  59. package/dist/index.d.ts +9 -0
  60. package/dist/index.js +5 -0
  61. package/dist/styles/components/checkbox.css +5 -4
  62. package/dist/styles/components/molecule/accomodation-docket.css +2222 -0
  63. package/dist/styles/components/molecule/calendarInput.css +3 -4
  64. package/dist/styles/components/molecule/docket-prices.css +2095 -0
  65. package/dist/styles/components/molecule/excursion-docket.css +2135 -0
  66. package/dist/styles/components/molecule/other-service-docket.css +2114 -0
  67. package/dist/styles/components/molecule/service-selector.css +70 -21
  68. package/dist/styles/components/molecule/transfer-docket.css +2150 -0
  69. package/dist/styles/components/organism/docket.css +2448 -0
  70. package/dist/types/docket/docket.types.d.ts +11 -0
  71. package/dist/types/docket/docket.types.js +1 -0
  72. package/dist/types/docket/services.types.d.ts +125 -0
  73. package/dist/types/docket/services.types.js +1 -0
  74. package/package.json +1 -1
  75. package/src/components/atoms/Icon/icons/LineIcon.tsx +31 -0
  76. package/src/components/atoms/Icon/icons/PlusCircleIcon.tsx +2 -2
  77. package/src/components/atoms/Icon/icons/registry.tsx +2 -0
  78. package/src/components/molecules/AccomodationDocket/AccomodationDocket.tsx +224 -0
  79. package/src/components/molecules/AccomodationDocket/index.ts +3 -0
  80. package/src/components/molecules/AddItemButton/AddItemButton.css +5 -0
  81. package/src/components/molecules/AddItemButton/AddItemButton.tsx +18 -0
  82. package/src/components/molecules/BookingResume/ResumeAccom/ResumeAccom.tsx +1 -1
  83. package/src/components/molecules/BookingResume/ResumeExcursion/ResumeExcursion.tsx +1 -1
  84. package/src/components/molecules/BookingResume/ResumeTransfer.tsx +1 -1
  85. package/src/components/molecules/Calendar/DateTime.tsx +69 -53
  86. package/src/components/molecules/DateDisplay/DateDisplay.css +21 -0
  87. package/src/components/molecules/DateDisplay/DateDisplay.tsx +52 -24
  88. package/src/components/molecules/DocketPrices/DocketPrices.tsx +56 -0
  89. package/src/components/molecules/DocketPrices/index.ts +4 -0
  90. package/src/components/molecules/ExcursionDocket/ExcursionDocket.tsx +171 -0
  91. package/src/components/molecules/ExcursionDocket/index.ts +2 -0
  92. package/src/components/molecules/LocationDropdown/LocationDropdown.tsx +41 -38
  93. package/src/components/molecules/OtherServiceDocket/OtherServiceDocket.tsx +58 -0
  94. package/src/components/molecules/OtherServiceDocket/index.ts +2 -0
  95. package/src/components/molecules/PriceDisplay/PriceDisplay.css +24 -0
  96. package/src/components/molecules/PriceDisplay/PriceDisplay.tsx +179 -0
  97. package/src/components/molecules/PriceDisplay/index.ts +4 -0
  98. package/src/components/molecules/ServiceSelector/ServiceSelector.tsx +91 -83
  99. package/src/components/molecules/TransferDocket/TransferDocket.tsx +156 -0
  100. package/src/components/molecules/TransferDocket/index.ts +4 -0
  101. package/src/components/organisms/BookingAddItem/AddItemNewService.tsx +95 -0
  102. package/src/components/organisms/BookingAddItem/AddItemSelector.tsx +43 -0
  103. package/src/components/organisms/BookingAddItem/BookingAddItem.tsx +120 -0
  104. package/src/components/organisms/BookingAddItem/index.ts +3 -0
  105. package/src/components/organisms/CarBookingCard/index.ts +1 -0
  106. package/src/components/organisms/DateTimePicker/DateTimePicker.tsx +13 -7
  107. package/src/components/organisms/Docket/Docket.tsx +456 -0
  108. package/src/components/organisms/PaxSelector/PaxSelector.tsx +305 -193
  109. package/src/components/organisms/SearchBarTransfer/index.ts +2 -0
  110. package/src/components/ui/popover.tsx +2 -4
  111. package/src/styles/components/checkbox.css +5 -4
  112. package/src/styles/components/molecule/accomodation-docket.css +117 -0
  113. package/src/styles/components/molecule/calendarInput.css +12 -13
  114. package/src/styles/components/molecule/docket-prices.css +13 -0
  115. package/src/styles/components/molecule/excursion-docket.css +47 -0
  116. package/src/styles/components/molecule/other-service-docket.css +30 -0
  117. package/src/styles/components/molecule/service-selector.css +71 -23
  118. package/src/styles/components/molecule/transfer-docket.css +61 -0
  119. package/src/styles/components/organism/docket.css +360 -0
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface LineIconProps {
3
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ className?: string;
5
+ color?: string;
6
+ }
7
+ declare const LineIcon: React.FC<LineIconProps>;
8
+ export default LineIcon;
@@ -0,0 +1,21 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ var LineIcon = function (_a) {
14
+ var _b = _a.size, size = _b === void 0 ? 'md' : _b, _c = _a.className, className = _c === void 0 ? '' : _c, color = _a.color;
15
+ // Line icon always takes full width and has 1px height
16
+ var classes = "w-full h-px ".concat(className);
17
+ // Default stroke color from Figma: #A3A3A3
18
+ var strokeColor = color || '#A3A3A3';
19
+ return (_jsx("svg", __assign({ className: classes, xmlns: "http://www.w3.org/2000/svg", width: "336", height: "1", viewBox: "0 0 336 1", fill: "none", preserveAspectRatio: "none", style: { width: '100%', height: '1px' } }, { children: _jsx("path", { d: "M0 0.5L336 0.499971", stroke: strokeColor, strokeDasharray: "4 4" }) })));
20
+ };
21
+ export default LineIcon;
@@ -31,6 +31,6 @@ var PlusCircleIcon = function (_a) {
31
31
  var sizeClasses = getSizeClasses();
32
32
  var colorClass = color ? "text-".concat(color) : 'text-current';
33
33
  var classes = "".concat(sizeClasses, " ").concat(colorClass, " ").concat(className);
34
- return (_jsxs("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("g", __assign({ clipPath: "url(#clip0_7074_66340)" }, { children: _jsx("path", { d: "M13.915 8.00098C13.915 4.7334 11.2666 2.08416 7.99902 2.08398C4.73134 2.08398 2.08203 4.73329 2.08203 8.00098C2.08221 11.2685 4.73145 13.917 7.99902 13.917C11.2664 13.9168 13.9149 11.2684 13.915 8.00098ZM7.24902 10.667V8.75098H5.33203C4.91793 8.75098 4.58221 8.41504 4.58203 8.00098C4.58203 7.58676 4.91782 7.25098 5.33203 7.25098H7.24902V5.33398C7.24902 4.91977 7.58481 4.58398 7.99902 4.58398C8.41309 4.58416 8.74902 4.91988 8.74902 5.33398V7.25098H10.665L10.7422 7.25488C11.1203 7.29337 11.415 7.61271 11.415 8.00098C11.4149 8.38912 11.1202 8.70862 10.7422 8.74707L10.665 8.75098H8.74902V10.667C8.74902 11.0811 8.41309 11.4168 7.99902 11.417C7.58481 11.417 7.24902 11.0812 7.24902 10.667ZM15.415 8.00098C15.4149 12.0968 12.0949 15.4168 7.99902 15.417C3.90302 15.417 0.582208 12.0969 0.582031 8.00098C0.582031 3.90487 3.90291 0.583984 7.99902 0.583984C12.095 0.584161 15.415 3.90497 15.415 8.00098Z", fill: "white" }) })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7074_66340" }, { children: _jsx("rect", { width: "16", height: "16", fill: "white" }) })) })] })));
34
+ return (_jsxs("svg", __assign({ className: classes, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, { children: [_jsx("g", __assign({ clipPath: "url(#clip0_7074_66340)" }, { children: _jsx("path", { d: "M13.915 8.00098C13.915 4.7334 11.2666 2.08416 7.99902 2.08398C4.73134 2.08398 2.08203 4.73329 2.08203 8.00098C2.08221 11.2685 4.73145 13.917 7.99902 13.917C11.2664 13.9168 13.9149 11.2684 13.915 8.00098ZM7.24902 10.667V8.75098H5.33203C4.91793 8.75098 4.58221 8.41504 4.58203 8.00098C4.58203 7.58676 4.91782 7.25098 5.33203 7.25098H7.24902V5.33398C7.24902 4.91977 7.58481 4.58398 7.99902 4.58398C8.41309 4.58416 8.74902 4.91988 8.74902 5.33398V7.25098H10.665L10.7422 7.25488C11.1203 7.29337 11.415 7.61271 11.415 8.00098C11.4149 8.38912 11.1202 8.70862 10.7422 8.74707L10.665 8.75098H8.74902V10.667C8.74902 11.0811 8.41309 11.4168 7.99902 11.417C7.58481 11.417 7.24902 11.0812 7.24902 10.667ZM15.415 8.00098C15.4149 12.0968 12.0949 15.4168 7.99902 15.417C3.90302 15.417 0.582208 12.0969 0.582031 8.00098C0.582031 3.90487 3.90291 0.583984 7.99902 0.583984C12.095 0.584161 15.415 3.90497 15.415 8.00098Z", fill: "currentColor" }) })), _jsx("defs", { children: _jsx("clipPath", __assign({ id: "clip0_7074_66340" }, { children: _jsx("rect", { width: "16", height: "16", fill: "currentColor" }) })) })] })));
35
35
  };
36
36
  export default PlusCircleIcon;
@@ -67,6 +67,7 @@ export declare const ICONS: {
67
67
  readonly bike: IconComponent;
68
68
  readonly air: IconComponent;
69
69
  readonly luggage: IconComponent;
70
+ readonly line: IconComponent;
70
71
  readonly 'car-front': IconComponent;
71
72
  readonly sea: IconComponent;
72
73
  readonly catamaran: IconComponent;
@@ -40,6 +40,7 @@ import FacebookIcon from './FacebookIcon';
40
40
  import HomeIcon from './HomeIcon';
41
41
  import InfoIcon from './InfoIcon';
42
42
  import LandIcon from './Land';
43
+ import LineIcon from './LineIcon';
43
44
  import LinkedInIcon from './LinkedInIcon';
44
45
  import LuggageIcon from './LuggageIcon';
45
46
  import MapIcon from './MapIcon';
@@ -135,6 +136,7 @@ export var ICONS = {
135
136
  bike: BikeIcon,
136
137
  air: AirIcon,
137
138
  luggage: LuggageIcon,
139
+ line: LineIcon,
138
140
  'car-front': CarFrontIcon,
139
141
  sea: SeaIcon,
140
142
  catamaran: CatamaranIcon,
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { AccomodationDocket as AccomodationDocketType } from '../../../types/docket/services.types';
3
+ import '../../../styles/components/molecule/accomodation-docket.css';
4
+ export interface AccomodationDocketProps {
5
+ data: AccomodationDocketType;
6
+ }
7
+ export declare const AccomodationDocket: React.FC<AccomodationDocketProps>;
@@ -0,0 +1,69 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import { differenceInDays } from 'date-fns';
14
+ import React from 'react';
15
+ import Chip from '../../atoms/Chip/Chip';
16
+ import Icon from '../../atoms/Icon/Icon';
17
+ import { Text } from '../../atoms/Typography/Typography';
18
+ import { DateDisplay } from '../DateDisplay/DateDisplay';
19
+ import TextWithIcon from '../TextWithIcon/TextWithIcon';
20
+ import '../../../styles/components/molecule/accomodation-docket.css';
21
+ var clientTypeMap = {
22
+ standard: 'Standard',
23
+ honeymooners: 'Honeymooners',
24
+ vip: 'VIP',
25
+ vvip: 'VVIP',
26
+ };
27
+ export var AccomodationDocket = function (_a) {
28
+ var data = _a.data;
29
+ var HotelName = data.HotelName, TitleDescription = data.TitleDescription, Total = data.Total, Currency = data.Currency, Dates = data.Dates, Rooms = data.Rooms;
30
+ var calculateNights = function (dates) {
31
+ if (dates && dates.length >= 2) {
32
+ return differenceInDays(new Date(dates[1]), new Date(dates[0]));
33
+ }
34
+ return 0;
35
+ };
36
+ var formatChildrenInfo = function (room) {
37
+ if (!room.ChildCount || room.ChildCount === 0) {
38
+ return null;
39
+ }
40
+ var childrenInfo = [];
41
+ var paxAges = room.paxAge || [];
42
+ // Group children by age
43
+ var childGroups = [];
44
+ if (paxAges.length > 0) {
45
+ // Count children by age
46
+ var ageCounts_1 = {};
47
+ paxAges.forEach(function (age) {
48
+ var ageNum = typeof age === 'number' ? age : parseInt(age, 10);
49
+ if (!isNaN(ageNum)) {
50
+ ageCounts_1[ageNum] = (ageCounts_1[ageNum] || 0) + 1;
51
+ }
52
+ });
53
+ Object.entries(ageCounts_1).forEach(function (_a) {
54
+ var age = _a[0], count = _a[1];
55
+ childGroups.push({ count: count, age: parseInt(age, 10) });
56
+ });
57
+ }
58
+ else {
59
+ // If no age info, just show total count
60
+ childGroups.push({ count: room.ChildCount, age: 0 });
61
+ }
62
+ return (_jsx("div", __assign({ className: "accomodation-docket__children" }, { children: childGroups.map(function (group, index) { return (_jsxs(React.Fragment, { children: [index > 0 && _jsx("div", { className: "accomodation-docket__divider-vertical" }), _jsxs("span", __assign({ className: "accomodation-docket__child-info" }, { children: [_jsxs(Text, __assign({ size: "sm", variant: "medium", color: "default" }, { children: [group.count, " Child", group.count > 1 ? 'ren' : ''] })), group.age > 0 ? (_jsxs(Text, __assign({ size: "sm", variant: "medium", className: "accomodation-docket__child-age" }, { children: [' ', "(", group.age, " y.o)"] }))) : null] }))] }, "child-".concat(index))); }) })));
63
+ };
64
+ var renderRoomDetails = function (room, index) {
65
+ var isRoomEmpty = room.isEmpty || !room.Dates || room.Dates.length === 0;
66
+ return (_jsxs("div", __assign({ className: "accomodation-docket__room" }, { children: [_jsx("div", __assign({ className: "accomodation-docket__room-header" }, { children: _jsxs(TextWithIcon, __assign({ icon: "accom", textVariant: "bold", textSize: "sm", color: "subtle" }, { children: ["Room ", index + 1] })) })), isRoomEmpty ? (_jsx("div", __assign({ className: "accomodation-docket__room-empty" }, { children: _jsx(Text, __assign({ variant: "bold", size: "sm", color: "state-error" }, { children: "Please select your second room" })) }))) : (_jsxs("div", __assign({ className: "accomodation-docket__room-details" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__date-section" }, { children: [room.Dates && room.Dates.length >= 2 && (_jsx(DateDisplay, { dates: room.Dates, calendarSize: "sm", arrowSize: "sm", textSize: "sm", colorMode: "green" })), room.Dates && room.Dates.length >= 2 && (_jsxs(TextWithIcon, __assign({ icon: "night", textSize: "sm", color: "subtle" }, { children: [calculateNights(room.Dates), " nights"] })))] })), _jsxs("div", __assign({ className: "accomodation-docket__client-info" }, { children: [room.ClientType && (_jsxs("div", __assign({ className: "accomodation-docket__client-type" }, { children: [_jsxs(Text, __assign({ variant: "bold", size: "sm", color: "subtle" }, { children: ["Client type:", ' '] })), _jsx(Text, __assign({ variant: "medium", size: "sm", color: "subtle" }, { children: clientTypeMap[room.ClientType.toLowerCase()] || room.ClientType }))] }))), _jsxs("div", __assign({ className: "accomodation-docket__guests" }, { children: [room.AdultCount && room.AdultCount > 0 && (_jsxs(TextWithIcon, __assign({ icon: "user", textSize: "sm", color: "subtle" }, { children: [room.AdultCount, " Adult", room.AdultCount > 1 ? 's' : ''] }))), room.ChildCount && room.ChildCount > 0 ? (_jsxs("div", __assign({ className: "accomodation-docket__children-wrapper" }, { children: [_jsx(Icon, { name: "user", size: "sm", color: "var(--color-text-subtle, #303642)" }), formatChildrenInfo(room)] }))) : null] }))] })), _jsxs("div", __assign({ className: "accomodation-docket__room-info" }, { children: [room.RoomName && (_jsx(TextWithIcon, __assign({ icon: "accom", textSize: "sm", color: "subtle", textLeading: "none" }, { children: room.RoomName }))), room.MealPlan && (_jsxs("div", __assign({ className: "accomodation-docket__meal-plan" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__meal-plan-label" }, { children: [_jsx(TextWithIcon, __assign({ icon: "utensils", textSize: "sm", color: "subtle", textLeading: "none" }, { children: "Meal-Plan" })), _jsx("div", { className: "accomodation-docket__divider-vertical" })] })), _jsx(Text, __assign({ variant: "medium", size: "sm", color: "subtle", leading: "none" }, { children: room.MealPlan }))] })))] }))] })))] }), "room-".concat(index)));
67
+ };
68
+ return (_jsxs("div", __assign({ className: "accomodation-docket" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__header" }, { children: [_jsxs("div", __assign({ className: "accomodation-docket__title-section" }, { children: [_jsx("div", { className: "accomodation-docket__title-bar" }), _jsx(Icon, { name: "accom", size: "sm" }), _jsx(Text, __assign({ variant: "bold", size: "sm", color: "accent" }, { children: "Accommodation" }))] })), Total && Currency && (_jsxs(Chip, __assign({ type: "filled", color: "accent", size: "sm" }, { children: [Currency, " ", Total] })))] })), TitleDescription && (_jsx("div", __assign({ className: "accomodation-docket__hotel-name" }, { children: _jsx(Text, __assign({ variant: "bold", size: "base", color: "default" }, { children: TitleDescription.split('\n').map(function (line, index) { return (_jsxs(React.Fragment, { children: [line, index < TitleDescription.split('\n').length - 1 && _jsx("br", {})] }, "line-".concat(index))); }) })) }))), _jsx("div", __assign({ className: "accomodation-docket__rooms" }, { children: Rooms.map(function (room, index) { return renderRoomDetails(room, index); }) }))] })));
69
+ };
@@ -0,0 +1,2 @@
1
+ export { AccomodationDocket } from './AccomodationDocket';
2
+ export type { AccomodationDocketProps } from './AccomodationDocket';
@@ -0,0 +1 @@
1
+ export { AccomodationDocket } from './AccomodationDocket';