@times-components/ts-components 1.145.1-76ee0965069e2a17bc1f8dcf02d24e8fefd6869a.0 → 1.145.1-7e7a12feaf05c514789e802bf49cadca92e6a2b9.10
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/carousel-component/CarouselComponent.stories.js +146 -0
- package/dist/components/carousel-component/CarouselItem.d.ts +3 -0
- package/dist/components/carousel-component/CarouselItem.js +11 -0
- package/dist/components/carousel-component/DefaultNavigationArrow.d.ts +8 -0
- package/dist/components/carousel-component/DefaultNavigationArrow.js +6 -0
- package/dist/components/carousel-component/DefaultPageDot.d.ts +8 -0
- package/dist/components/carousel-component/DefaultPageDot.js +4 -0
- package/dist/components/{opta/football/opta-match-stats/matchday-live/__tests__/OptaMatchStatsMatchdayLive.test.d.ts → carousel-component/__tests__/CarouselComponent.test.d.ts} +0 -1
- package/dist/components/carousel-component/__tests__/CarouselComponent.test.js +163 -0
- package/dist/components/carousel-component/__tests__/CarouselItem.test.d.ts +1 -0
- package/dist/components/carousel-component/__tests__/CarouselItem.test.js +80 -0
- package/dist/components/carousel-component/__tests__/DefaultNavigationArrow.test.d.ts +1 -0
- package/dist/components/carousel-component/__tests__/DefaultNavigationArrow.test.js +62 -0
- package/dist/components/carousel-component/__tests__/DefaultPageDot.test.d.ts +1 -0
- package/dist/components/carousel-component/__tests__/DefaultPageDot.test.js +68 -0
- package/dist/components/carousel-component/hooks/__tests__/useCarousel.test.d.ts +1 -0
- package/dist/components/carousel-component/hooks/__tests__/useCarousel.test.js +459 -0
- package/dist/components/carousel-component/hooks/useCarousel.d.ts +2 -0
- package/dist/components/carousel-component/hooks/useCarousel.js +175 -0
- package/dist/components/carousel-component/index.d.ts +4 -0
- package/dist/components/carousel-component/index.js +20 -0
- package/dist/components/carousel-component/styles.d.ts +27 -0
- package/dist/components/carousel-component/styles.js +169 -0
- package/dist/components/carousel-component/types.d.ts +53 -0
- package/dist/components/carousel-component/types.js +2 -0
- package/dist/components/opta/football/opta-match-stats/shared/styles.js +1 -8
- package/dist/components/trip-cards/SkeletonCard.d.ts +6 -0
- package/dist/components/trip-cards/SkeletonCard.js +21 -0
- package/dist/components/trip-cards/TripCard.d.ts +3 -0
- package/dist/components/trip-cards/TripCard.js +49 -0
- package/dist/components/trip-cards/TripCards.stories.d.ts +1 -0
- package/dist/components/trip-cards/TripCards.stories.js +189 -0
- package/dist/components/trip-cards/TripCardsLayout.d.ts +3 -0
- package/dist/components/trip-cards/TripCardsLayout.js +37 -0
- package/dist/components/trip-cards/__tests__/SkeletonCard.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/SkeletonCard.test.js +139 -0
- package/dist/components/trip-cards/__tests__/TripCard.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/TripCard.test.js +95 -0
- package/dist/components/trip-cards/__tests__/TripCardsLayout.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/TripCardsLayout.test.js +277 -0
- package/dist/components/trip-cards/__tests__/assets.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/assets.test.js +165 -0
- package/dist/components/trip-cards/__tests__/helpers.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/helpers.test.js +216 -0
- package/dist/components/trip-cards/__tests__/index.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/index.test.js +433 -0
- package/dist/components/trip-cards/__tests__/mockData.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/mockData.test.js +57 -0
- package/dist/components/trip-cards/__tests__/skeletonStyles.test.d.ts +1 -0
- package/dist/components/trip-cards/__tests__/skeletonStyles.test.js +194 -0
- package/dist/components/trip-cards/assets/BoatIcon.d.ts +1 -0
- package/dist/components/trip-cards/assets/BoatIcon.js +4 -0
- package/dist/components/trip-cards/assets/CalendarIcon.d.ts +1 -0
- package/dist/components/trip-cards/assets/CalendarIcon.js +4 -0
- package/dist/components/trip-cards/assets/ChevronRightIcon.d.ts +1 -0
- package/dist/components/trip-cards/assets/ChevronRightIcon.js +4 -0
- package/dist/components/trip-cards/assets/LocationIcon.d.ts +1 -0
- package/dist/components/trip-cards/assets/LocationIcon.js +4 -0
- package/dist/components/trip-cards/assets/MoonIcon.d.ts +1 -0
- package/dist/components/trip-cards/assets/MoonIcon.js +4 -0
- package/dist/components/trip-cards/assets/index.d.ts +6 -0
- package/dist/components/trip-cards/assets/index.js +7 -0
- package/dist/components/trip-cards/helpers.d.ts +4 -0
- package/dist/components/trip-cards/helpers.js +115 -0
- package/dist/components/trip-cards/index.d.ts +4 -0
- package/dist/components/trip-cards/index.js +70 -0
- package/dist/components/trip-cards/mockData.d.ts +3 -0
- package/dist/components/trip-cards/mockData.js +317 -0
- package/dist/components/trip-cards/skeletonStyles.d.ts +9 -0
- package/dist/components/trip-cards/skeletonStyles.js +37 -0
- package/dist/components/trip-cards/styles.d.ts +38 -0
- package/dist/components/trip-cards/styles.js +401 -0
- package/dist/components/trip-cards/types.d.ts +119 -0
- package/dist/components/trip-cards/types.js +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -4
- package/package.json +3 -3
- package/rnw.js +1 -1
- package/src/components/carousel-component/CarouselComponent.stories.tsx +220 -0
- package/src/components/carousel-component/CarouselItem.tsx +25 -0
- package/src/components/carousel-component/DefaultNavigationArrow.tsx +37 -0
- package/src/components/carousel-component/DefaultPageDot.tsx +20 -0
- package/src/components/carousel-component/__tests__/CarouselComponent.test.tsx +259 -0
- package/src/components/carousel-component/__tests__/CarouselItem.test.tsx +140 -0
- package/src/components/carousel-component/__tests__/DefaultNavigationArrow.test.tsx +153 -0
- package/src/components/carousel-component/__tests__/DefaultPageDot.test.tsx +105 -0
- package/src/components/carousel-component/hooks/__tests__/useCarousel.test.ts +625 -0
- package/src/components/carousel-component/hooks/useCarousel.ts +231 -0
- package/src/components/carousel-component/index.tsx +92 -0
- package/src/components/carousel-component/styles.ts +185 -0
- package/src/components/carousel-component/types.ts +62 -0
- package/src/components/opta/football/opta-match-stats/commentary/__tests__/__snapshots__/OptaMatchStatsCommentary.test.tsx.snap +1 -1
- package/src/components/opta/football/opta-match-stats/shared/styles.ts +0 -8
- package/src/components/opta/football/opta-match-stats/stats-graphs/__tests__/__snapshots__/OptaMatchStatsGraphs.test.tsx.snap +1 -1
- package/src/components/trip-cards/SkeletonCard.tsx +62 -0
- package/src/components/trip-cards/TripCard.tsx +143 -0
- package/src/components/trip-cards/TripCards.stories.tsx +254 -0
- package/src/components/trip-cards/TripCardsLayout.tsx +108 -0
- package/src/components/trip-cards/__tests__/SkeletonCard.test.tsx +169 -0
- package/src/components/trip-cards/__tests__/TripCard.test.tsx +120 -0
- package/src/components/trip-cards/__tests__/TripCardsLayout.test.tsx +532 -0
- package/src/components/trip-cards/__tests__/assets.test.tsx +206 -0
- package/src/components/trip-cards/__tests__/helpers.test.ts +266 -0
- package/src/components/trip-cards/__tests__/index.test.tsx +495 -0
- package/src/components/trip-cards/__tests__/mockData.test.ts +67 -0
- package/src/components/trip-cards/__tests__/skeletonStyles.test.tsx +256 -0
- package/src/components/trip-cards/assets/BoatIcon.tsx +17 -0
- package/src/components/trip-cards/assets/CalendarIcon.tsx +17 -0
- package/src/components/trip-cards/assets/ChevronRightIcon.tsx +20 -0
- package/src/components/trip-cards/assets/LocationIcon.tsx +17 -0
- package/src/components/trip-cards/assets/MoonIcon.tsx +17 -0
- package/src/components/trip-cards/assets/index.ts +7 -0
- package/src/components/trip-cards/helpers.ts +150 -0
- package/src/components/trip-cards/index.tsx +119 -0
- package/src/components/trip-cards/mockData.ts +345 -0
- package/src/components/trip-cards/skeletonStyles.ts +46 -0
- package/src/components/trip-cards/styles.ts +446 -0
- package/src/components/trip-cards/types.ts +128 -0
- package/src/index.ts +2 -3
- package/dist/components/opta/football/opta-match-stats/matchday-live/DesktopWidget.d.ts +0 -10
- package/dist/components/opta/football/opta-match-stats/matchday-live/DesktopWidget.js +0 -69
- package/dist/components/opta/football/opta-match-stats/matchday-live/MobileWidget.d.ts +0 -12
- package/dist/components/opta/football/opta-match-stats/matchday-live/MobileWidget.js +0 -90
- package/dist/components/opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.d.ts +0 -12
- package/dist/components/opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.js +0 -10
- package/dist/components/opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.stories.js +0 -24
- package/dist/components/opta/football/opta-match-stats/matchday-live/__tests__/OptaMatchStatsMatchdayLive.test.js +0 -48
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/MatchdayLiveController.d.ts +0 -1
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/MatchdayLiveController.js +0 -19
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/NavigationWrapper.d.ts +0 -12
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/NavigationWrapper.js +0 -67
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/WidgetContainer.d.ts +0 -6
- package/dist/components/opta/football/opta-match-stats/matchday-live/styles/WidgetContainer.js +0 -714
- package/src/components/opta/football/opta-match-stats/matchday-live/DesktopWidget.tsx +0 -108
- package/src/components/opta/football/opta-match-stats/matchday-live/MobileWidget.tsx +0 -158
- package/src/components/opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.stories.tsx +0 -38
- package/src/components/opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.tsx +0 -23
- package/src/components/opta/football/opta-match-stats/matchday-live/__tests__/OptaMatchStatsMatchdayLive.test.tsx +0 -61
- package/src/components/opta/football/opta-match-stats/matchday-live/__tests__/__snapshots__/OptaMatchStatsMatchdayLive.test.tsx.snap +0 -61
- package/src/components/opta/football/opta-match-stats/matchday-live/styles/MatchdayLiveController.tsx +0 -19
- package/src/components/opta/football/opta-match-stats/matchday-live/styles/NavigationWrapper.tsx +0 -81
- package/src/components/opta/football/opta-match-stats/matchday-live/styles/WidgetContainer.tsx +0 -745
- /package/dist/components/{opta/football/opta-match-stats/matchday-live/OptaMatchStatsMatchdayLive.stories.d.ts → carousel-component/CarouselComponent.stories.d.ts} +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
import { transformApiResult } from './helpers';
|
|
2
|
+
export const mockApiResults = [
|
|
3
|
+
{
|
|
4
|
+
post_id: 34246,
|
|
5
|
+
cruise_id: 2074350,
|
|
6
|
+
cruise_title: 'Mediterranean from Barcelona',
|
|
7
|
+
cruise_line: {
|
|
8
|
+
name: 'MSC Cruises',
|
|
9
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
10
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
11
|
+
},
|
|
12
|
+
ship: {
|
|
13
|
+
name: 'MSC Seaside',
|
|
14
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-seaside/',
|
|
15
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1595507284-scaled-1024x683.jpg'
|
|
16
|
+
},
|
|
17
|
+
departs: '2025-10-21',
|
|
18
|
+
ends: '2025-10-28',
|
|
19
|
+
date_label: 'Oct 21 - Oct 28, 2025',
|
|
20
|
+
destination: ['Mediterranean'],
|
|
21
|
+
duration: 7,
|
|
22
|
+
itinerary: [
|
|
23
|
+
'Barcelona',
|
|
24
|
+
'La Goulette',
|
|
25
|
+
'Palermo (Monreale), Italy',
|
|
26
|
+
'Naples (Pompeii), Italy',
|
|
27
|
+
'Livorno(Florence), Italy',
|
|
28
|
+
'Marseille (Provence), France'
|
|
29
|
+
],
|
|
30
|
+
prices: {
|
|
31
|
+
cheapest_price: 2000,
|
|
32
|
+
inside: 'Enquire now',
|
|
33
|
+
outside: 'Enquire now',
|
|
34
|
+
balcony: '2000',
|
|
35
|
+
suite: 'Enquire now'
|
|
36
|
+
},
|
|
37
|
+
was_prices: {
|
|
38
|
+
inside: 0,
|
|
39
|
+
outside: 0,
|
|
40
|
+
balcony: 2500,
|
|
41
|
+
suite: 0
|
|
42
|
+
},
|
|
43
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/mediterranean-from-barcelona-msc-seaside-2025-10-21/',
|
|
44
|
+
campaigns: [],
|
|
45
|
+
extras: {
|
|
46
|
+
date: 'Oct 2025 - Oct 2025',
|
|
47
|
+
duration: 'Seven Days',
|
|
48
|
+
destination: 'Mediterranean',
|
|
49
|
+
info: 'Seven nights onboard a four-star ship'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
post_id: 37835,
|
|
54
|
+
cruise_id: 2140335,
|
|
55
|
+
cruise_title: 'Mediterranean from Genoa',
|
|
56
|
+
cruise_line: {
|
|
57
|
+
name: 'MSC Cruises',
|
|
58
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
59
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
60
|
+
},
|
|
61
|
+
ship: {
|
|
62
|
+
name: 'MSC Poesia',
|
|
63
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-poesia/',
|
|
64
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1595507127-scaled-1024x518.jpg'
|
|
65
|
+
},
|
|
66
|
+
departs: '2025-10-21',
|
|
67
|
+
ends: '2025-10-25',
|
|
68
|
+
date_label: 'Oct 21 - Oct 25, 2025',
|
|
69
|
+
destination: ['Mediterranean'],
|
|
70
|
+
duration: 4,
|
|
71
|
+
itinerary: [
|
|
72
|
+
'Genoa (Portofino), Italy',
|
|
73
|
+
'Barcelona',
|
|
74
|
+
'Marseille (Provence), France'
|
|
75
|
+
],
|
|
76
|
+
prices: {
|
|
77
|
+
cheapest_price: 0,
|
|
78
|
+
inside: 'Enquire now',
|
|
79
|
+
outside: 'Enquire now',
|
|
80
|
+
balcony: 'Enquire now',
|
|
81
|
+
suite: 'Enquire now'
|
|
82
|
+
},
|
|
83
|
+
was_prices: {
|
|
84
|
+
inside: 0,
|
|
85
|
+
outside: 0,
|
|
86
|
+
balcony: 0,
|
|
87
|
+
suite: 0
|
|
88
|
+
},
|
|
89
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/mediterranean-from-genoa-msc-poesia-2025-10-21/',
|
|
90
|
+
campaigns: [],
|
|
91
|
+
extras: {
|
|
92
|
+
date: 'Oct 2025 - Oct 2025',
|
|
93
|
+
duration: 'Four Days',
|
|
94
|
+
destination: 'Mediterranean',
|
|
95
|
+
info: 'Four nights onboard a four-star ship'
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
post_id: 41162,
|
|
100
|
+
cruise_id: 2177685,
|
|
101
|
+
cruise_title: 'MSC Grand Voyages from Barcelona',
|
|
102
|
+
cruise_line: {
|
|
103
|
+
name: 'MSC Cruises',
|
|
104
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
105
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
106
|
+
},
|
|
107
|
+
ship: {
|
|
108
|
+
name: 'MSC Euribia',
|
|
109
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-euribia/',
|
|
110
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1650819843-1024x579.jpg'
|
|
111
|
+
},
|
|
112
|
+
departs: '2025-10-21',
|
|
113
|
+
ends: '2025-11-12',
|
|
114
|
+
date_label: 'Oct 21 - Nov 12, 2025',
|
|
115
|
+
destination: [
|
|
116
|
+
'Mediterranean',
|
|
117
|
+
'Iberian Peninsula',
|
|
118
|
+
'Dubai & Emirates',
|
|
119
|
+
'Egypt & Red Sea'
|
|
120
|
+
],
|
|
121
|
+
duration: 22,
|
|
122
|
+
itinerary: [
|
|
123
|
+
'Barcelona',
|
|
124
|
+
'Marseille (Provence), France',
|
|
125
|
+
'Civitavecchia (Rome), Italy',
|
|
126
|
+
'Alexandria',
|
|
127
|
+
'Suez Canal Transit',
|
|
128
|
+
'Aqaba',
|
|
129
|
+
'Muscat',
|
|
130
|
+
'Doha, Qatar',
|
|
131
|
+
'Dubai',
|
|
132
|
+
'Bahrain',
|
|
133
|
+
'Abu Dhabi'
|
|
134
|
+
],
|
|
135
|
+
prices: {
|
|
136
|
+
cheapest_price: 0,
|
|
137
|
+
inside: 'Enquire now',
|
|
138
|
+
outside: 'Enquire now',
|
|
139
|
+
balcony: 'Enquire now',
|
|
140
|
+
suite: 'Enquire now'
|
|
141
|
+
},
|
|
142
|
+
was_prices: {
|
|
143
|
+
inside: 0,
|
|
144
|
+
outside: 0,
|
|
145
|
+
balcony: 0,
|
|
146
|
+
suite: 0
|
|
147
|
+
},
|
|
148
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/msc-grand-voyages-from-barcelona-msc-euribia-2025-10-21/',
|
|
149
|
+
campaigns: [],
|
|
150
|
+
extras: {
|
|
151
|
+
date: 'Oct 2025 - Nov 2025',
|
|
152
|
+
duration: 'Twenty-two Days',
|
|
153
|
+
destination: 'Mediterranean, Iberian Peninsula, Dubai & Emirates, Egypt & Red Sea',
|
|
154
|
+
info: 'Twenty-two nights onboard a five-star ship'
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
post_id: 34246,
|
|
159
|
+
cruise_id: 2074351,
|
|
160
|
+
cruise_title: 'Mediterranean from Barcelona',
|
|
161
|
+
cruise_line: {
|
|
162
|
+
name: 'MSC Cruises',
|
|
163
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
164
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
165
|
+
},
|
|
166
|
+
ship: {
|
|
167
|
+
name: 'MSC Seaside',
|
|
168
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-seaside/',
|
|
169
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1595507284-scaled-1024x683.jpg'
|
|
170
|
+
},
|
|
171
|
+
departs: '2025-10-21',
|
|
172
|
+
ends: '2025-10-28',
|
|
173
|
+
date_label: 'Oct 21 - Oct 28, 2025',
|
|
174
|
+
destination: ['Mediterranean'],
|
|
175
|
+
duration: 7,
|
|
176
|
+
itinerary: [
|
|
177
|
+
'Barcelona',
|
|
178
|
+
'La Goulette',
|
|
179
|
+
'Palermo (Monreale), Italy',
|
|
180
|
+
'Naples (Pompeii), Italy',
|
|
181
|
+
'Livorno(Florence), Italy',
|
|
182
|
+
'Marseille (Provence), France'
|
|
183
|
+
],
|
|
184
|
+
prices: {
|
|
185
|
+
cheapest_price: 4550,
|
|
186
|
+
inside: 'Enquire now',
|
|
187
|
+
outside: 'Enquire now',
|
|
188
|
+
balcony: '4550',
|
|
189
|
+
suite: 'Enquire now'
|
|
190
|
+
},
|
|
191
|
+
was_prices: {
|
|
192
|
+
inside: 0,
|
|
193
|
+
outside: 0,
|
|
194
|
+
balcony: 0,
|
|
195
|
+
suite: 0
|
|
196
|
+
},
|
|
197
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/mediterranean-from-barcelona-msc-seaside-2025-10-21/',
|
|
198
|
+
campaigns: [],
|
|
199
|
+
extras: {
|
|
200
|
+
date: 'Oct 2025 - Oct 2025',
|
|
201
|
+
duration: 'Seven Days',
|
|
202
|
+
destination: 'Mediterranean',
|
|
203
|
+
info: 'Seven nights onboard a four-star ship'
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
post_id: 37835,
|
|
208
|
+
cruise_id: 2140336,
|
|
209
|
+
cruise_title: 'Mediterranean from Genoa',
|
|
210
|
+
cruise_line: {
|
|
211
|
+
name: 'MSC Cruises',
|
|
212
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
213
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
214
|
+
},
|
|
215
|
+
ship: {
|
|
216
|
+
name: 'MSC Poesia',
|
|
217
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-poesia/',
|
|
218
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1595507127-scaled-1024x518.jpg'
|
|
219
|
+
},
|
|
220
|
+
departs: '2025-10-21',
|
|
221
|
+
ends: '2025-10-25',
|
|
222
|
+
date_label: 'Oct 21 - Oct 25, 2025',
|
|
223
|
+
destination: ['Mediterranean'],
|
|
224
|
+
duration: 4,
|
|
225
|
+
itinerary: [
|
|
226
|
+
'Genoa (Portofino), Italy',
|
|
227
|
+
'Barcelona',
|
|
228
|
+
'Marseille (Provence), France'
|
|
229
|
+
],
|
|
230
|
+
prices: {
|
|
231
|
+
cheapest_price: 0,
|
|
232
|
+
inside: 'Enquire now',
|
|
233
|
+
outside: 'Enquire now',
|
|
234
|
+
balcony: 'Enquire now',
|
|
235
|
+
suite: 'Enquire now'
|
|
236
|
+
},
|
|
237
|
+
was_prices: {
|
|
238
|
+
inside: 0,
|
|
239
|
+
outside: 0,
|
|
240
|
+
balcony: 0,
|
|
241
|
+
suite: 0
|
|
242
|
+
},
|
|
243
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/mediterranean-from-genoa-msc-poesia-2025-10-21/',
|
|
244
|
+
campaigns: [],
|
|
245
|
+
extras: {
|
|
246
|
+
date: 'Oct 2025 - Oct 2025',
|
|
247
|
+
duration: 'Four Days',
|
|
248
|
+
destination: 'Mediterranean',
|
|
249
|
+
info: 'Four nights onboard a four-star ship'
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
post_id: 41162,
|
|
254
|
+
cruise_id: 2177686,
|
|
255
|
+
cruise_title: 'MSC Grand Voyages from Barcelona',
|
|
256
|
+
cruise_line: {
|
|
257
|
+
name: 'MSC Cruises',
|
|
258
|
+
link: 'https://www.staging-thetimes.com/holidays/cruise-lines/msc-cruises/',
|
|
259
|
+
logo: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/MSC.png'
|
|
260
|
+
},
|
|
261
|
+
ship: {
|
|
262
|
+
name: 'MSC Euribia',
|
|
263
|
+
link: 'https://www.staging-thetimes.com/holidays/ships/msc-euribia/',
|
|
264
|
+
image: 'https://www.staging-thetimes.com/holidays/wp-content/uploads/2025/05/1650819843-1024x579.jpg'
|
|
265
|
+
},
|
|
266
|
+
departs: '2025-10-21',
|
|
267
|
+
ends: '2025-11-12',
|
|
268
|
+
date_label: 'Oct 21 - Nov 12, 2025',
|
|
269
|
+
destination: [
|
|
270
|
+
'Mediterranean',
|
|
271
|
+
'Iberian Peninsula',
|
|
272
|
+
'Dubai & Emirates',
|
|
273
|
+
'Egypt & Red Sea'
|
|
274
|
+
],
|
|
275
|
+
duration: 22,
|
|
276
|
+
itinerary: [
|
|
277
|
+
'Barcelona',
|
|
278
|
+
'Marseille (Provence), France',
|
|
279
|
+
'Civitavecchia (Rome), Italy',
|
|
280
|
+
'Alexandria',
|
|
281
|
+
'Suez Canal Transit',
|
|
282
|
+
'Aqaba',
|
|
283
|
+
'Muscat',
|
|
284
|
+
'Doha, Qatar',
|
|
285
|
+
'Dubai',
|
|
286
|
+
'Bahrain',
|
|
287
|
+
'Abu Dhabi'
|
|
288
|
+
],
|
|
289
|
+
prices: {
|
|
290
|
+
cheapest_price: 0,
|
|
291
|
+
inside: 'Enquire now',
|
|
292
|
+
outside: 'Enquire now',
|
|
293
|
+
balcony: 'Enquire now',
|
|
294
|
+
suite: 'Enquire now'
|
|
295
|
+
},
|
|
296
|
+
was_prices: {
|
|
297
|
+
inside: 0,
|
|
298
|
+
outside: 0,
|
|
299
|
+
balcony: 0,
|
|
300
|
+
suite: 0
|
|
301
|
+
},
|
|
302
|
+
link: 'https://www.staging-thetimes.com/holidays/cruises/msc-grand-voyages-from-barcelona-msc-euribia-2025-10-21/',
|
|
303
|
+
campaigns: [],
|
|
304
|
+
extras: {
|
|
305
|
+
date: 'Oct 2025 - Nov 2025',
|
|
306
|
+
duration: 'Twenty-two Days',
|
|
307
|
+
destination: 'Mediterranean, Iberian Peninsula, Dubai & Emirates, Egypt & Red Sea',
|
|
308
|
+
info: 'Twenty-two nights onboard a five-star ship'
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
];
|
|
312
|
+
// Get mock data already transformed
|
|
313
|
+
export const getMockTripCards = (count) => {
|
|
314
|
+
const allCards = mockApiResults.map(transformApiResult);
|
|
315
|
+
return count ? allCards.slice(0, count) : allCards;
|
|
316
|
+
};
|
|
317
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9ja0RhdGEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy90cmlwLWNhcmRzL21vY2tEYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUUvQyxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQXNCO0lBQy9DO1FBQ0UsT0FBTyxFQUFFLEtBQUs7UUFDZCxTQUFTLEVBQUUsT0FBTztRQUNsQixZQUFZLEVBQUUsOEJBQThCO1FBQzVDLFdBQVcsRUFBRTtZQUNYLElBQUksRUFBRSxhQUFhO1lBQ25CLElBQUksRUFDRixxRUFBcUU7WUFDdkUsSUFBSSxFQUNGLDhFQUE4RTtTQUNqRjtRQUNELElBQUksRUFBRTtZQUNKLElBQUksRUFBRSxhQUFhO1lBQ25CLElBQUksRUFBRSw4REFBOEQ7WUFDcEUsS0FBSyxFQUNILHFHQUFxRztTQUN4RztRQUNELE9BQU8sRUFBRSxZQUFZO1FBQ3JCLElBQUksRUFBRSxZQUFZO1FBQ2xCLFVBQVUsRUFBRSx1QkFBdUI7UUFDbkMsV0FBVyxFQUFFLENBQUMsZUFBZSxDQUFDO1FBQzlCLFFBQVEsRUFBRSxDQUFDO1FBQ1gsU0FBUyxFQUFFO1lBQ1QsV0FBVztZQUNYL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xRUFBcUU7WUFDdkUsSUFBSSxFQUFFLDRDQUE0QztTQUNuRDtLQUNGO0NBQ0YsQ0FBQztBQUVGLG9DQUFvQztBQUNwQyxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxDQUFDLEtBQWMsRUFBcUIsRUFBRTtJQUNwRSxNQUFNLFFBQVEsR0FBRyxjQUFjLENBQUMsR0FBRyxDQUFDLGtCQUFrQixDQUFDLENBQUM7SUFDeEQsT0FBTyxLQUFLLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUMsQ0FBQyxFQUFFLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUM7QUFDckQsQ0FBQyxDQUFDIn0=
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface SkeletonLineProps {
|
|
2
|
+
width?: string;
|
|
3
|
+
marginBottom?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const SkeletonLine: import("styled-components").StyledComponent<"div", any, SkeletonLineProps, never>;
|
|
6
|
+
export declare const SkeletonHeadline: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const SkeletonPrice: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const SkeletonButton: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
|
+
import { CTAButton } from './styles';
|
|
3
|
+
const skeletonBase = css `
|
|
4
|
+
background: linear-gradient(
|
|
5
|
+
to right,
|
|
6
|
+
#f0f0f0 0%,
|
|
7
|
+
#f5f2f2 20%,
|
|
8
|
+
#f0f0f0 40%,
|
|
9
|
+
#f0f0f0 100%
|
|
10
|
+
);
|
|
11
|
+
background-size: 800px 104px;
|
|
12
|
+
`;
|
|
13
|
+
export const SkeletonLine = styled.div `
|
|
14
|
+
${skeletonBase} height: 16px;
|
|
15
|
+
width: ${props => props.width || '100%'};
|
|
16
|
+
margin-bottom: ${props => props.marginBottom || '0'};
|
|
17
|
+
`;
|
|
18
|
+
export const SkeletonHeadline = styled.div `
|
|
19
|
+
${skeletonBase} height: 48px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
margin-bottom: 16px;
|
|
22
|
+
`;
|
|
23
|
+
export const SkeletonPrice = styled.div `
|
|
24
|
+
${skeletonBase} height: 28px;
|
|
25
|
+
width: 120px;
|
|
26
|
+
`;
|
|
27
|
+
export const SkeletonButton = styled(CTAButton) `
|
|
28
|
+
${skeletonBase} height: 48px;
|
|
29
|
+
width: 100%;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
border: none;
|
|
32
|
+
|
|
33
|
+
&:hover {
|
|
34
|
+
transform: none;
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b25TdHlsZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tcG9uZW50cy90cmlwLWNhcmRzL3NrZWxldG9uU3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sTUFBTSxFQUFFLEVBQUUsR0FBRyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDaEQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUVyQyxNQUFNLFlBQVksR0FBRyxHQUFHLENBQUE7Ozs7Ozs7OztDQVN2QixDQUFDO0FBT0YsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQW1CO0lBQ3JELFlBQVk7V0FDTCxLQUFLLENBQUMsRUFBRSxDQUFDLEtBQUssQ0FBQyxLQUFLLElBQUksTUFBTTttQkFDdEIsS0FBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsWUFBWSxJQUFJLEdBQUc7Q0FDcEQsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUE7SUFDdEMsWUFBWTs7O0NBR2YsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGFBQWEsR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFBO0lBQ25DLFlBQVk7O0NBRWYsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxNQUFNLENBQUMsU0FBUyxDQUFDLENBQUE7SUFDM0MsWUFBWTs7Ozs7Ozs7Q0FRZixDQUFDIn0=
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CurrentPriceProps } from './types';
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, Partial<import("./types").ResponsiveConfig>, never>;
|
|
3
|
+
export declare const TitleSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const TitleBar: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const TitleContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const Title: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
7
|
+
export declare const Subtitle: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
8
|
+
export declare const TitleLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
9
|
+
export declare const Description: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
10
|
+
export declare const StaticCardsGrid: import("styled-components").StyledComponent<"div", any, {
|
|
11
|
+
$minWidthMobile?: string | undefined;
|
|
12
|
+
$minWidthTablet?: string | undefined;
|
|
13
|
+
$minWidthDesktop?: string | undefined;
|
|
14
|
+
$minWidthXl?: string | undefined;
|
|
15
|
+
}, never>;
|
|
16
|
+
export declare const CardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
|
+
export declare const ImageContainer: import("styled-components").StyledComponent<"div", any, import("./types").ImageHeightConfig, never>;
|
|
18
|
+
export declare const CardImage: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
19
|
+
export declare const OfferLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
|
+
export declare const GiftBanner: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
|
+
export declare const CardContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
22
|
+
export declare const TopContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
23
|
+
export declare const BottomContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
|
+
export declare const Headline: import("styled-components").StyledComponent<"h3", any, {}, never>;
|
|
25
|
+
export declare const DataPointsList: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
26
|
+
export declare const DataPoint: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
27
|
+
export declare const DataIcon: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
28
|
+
export declare const PriceSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
29
|
+
export declare const PriceContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
30
|
+
export declare const OfferContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
31
|
+
export declare const PriceLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
32
|
+
export declare const OriginalPrice: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
33
|
+
export declare const CurrentPrice: import("styled-components").StyledComponent<"span", any, CurrentPriceProps, never>;
|
|
34
|
+
export declare const PriceSuffix: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
35
|
+
export declare const LogoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
36
|
+
export declare const CTAButton: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
37
|
+
export declare const LoadingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
38
|
+
export declare const ErrorContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|