@ticketboothapp/booking 0.1.11 → 0.1.12
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/package.json +1 -1
- package/src/colours.css +23 -0
- package/src/components/BookingDetails.module.css +1591 -0
- package/src/components/BookingDetails.tsx +2072 -354
- package/src/components/BookingWidget.tsx +28 -248
- package/src/components/JobApplicationDialog.module.css +440 -0
- package/src/components/JobApplicationDialog.tsx +620 -0
- package/src/components/ManageBookingView.tsx +28 -36
- package/src/components/PhoneInputWithCountry.module.css +131 -0
- package/src/components/PhoneInputWithCountry.tsx +44 -0
- package/src/components/PickupLocationDialog.module.css +360 -0
- package/src/components/PickupLocationDialog.tsx +357 -0
- package/src/components/PickupLocationMap.tsx +110 -0
- package/src/components/PostBookingDependentAddOnUpsell.module.css +174 -0
- package/src/components/PostBookingDependentAddOnUpsell.tsx +407 -0
- package/src/components/accordion.css +27 -0
- package/src/components/accordion.tsx +29 -0
- package/src/components/analytics/AnalyticsConsentRestore.tsx +19 -0
- package/src/components/analytics/AnalyticsScripts.tsx +106 -0
- package/src/components/analytics/CookieConsentBanner.css +86 -0
- package/src/components/analytics/CookieConsentBanner.tsx +102 -0
- package/src/components/booking/AddOnsSection.module.css +10 -0
- package/src/components/booking/AddOnsSection.tsx +184 -0
- package/src/components/booking/AdminPaymentChoiceModal.tsx +98 -0
- package/src/components/booking/BookingDialog.module.css +643 -0
- package/src/components/booking/BookingDialog.tsx +356 -0
- package/src/components/booking/BookingFlow.tsx +4385 -0
- package/src/components/booking/BookingFlowCollage.module.css +148 -0
- package/src/components/booking/BookingFlowCollage.tsx +184 -0
- package/src/components/booking/BookingFlowPlaceholder.module.css +27 -0
- package/src/components/booking/BookingFlowPlaceholder.tsx +25 -0
- package/src/components/booking/BookingFlowPreview.tsx +51 -0
- package/src/components/booking/BookingProductGrid.module.css +359 -0
- package/src/components/booking/BookingProductGrid.tsx +497 -0
- package/src/components/booking/Calendar.module.css +616 -0
- package/src/components/{Calendar.tsx → booking/Calendar.tsx} +464 -247
- package/src/components/booking/CancellationPolicySelector.module.css +124 -0
- package/src/components/booking/CancellationPolicySelector.tsx +142 -0
- package/src/components/booking/ChangeBookingDialog.tsx +562 -0
- package/src/components/booking/CheckoutForm.module.css +244 -0
- package/src/components/booking/CheckoutForm.tsx +364 -0
- package/src/components/{CheckoutModal.tsx → booking/CheckoutModal.tsx} +176 -19
- package/src/components/booking/DapFlowCollage.tsx +88 -0
- package/src/components/booking/DapTourDescription.tsx +35 -0
- package/src/components/booking/DependentAddOnBookingDialog.tsx +1350 -0
- package/src/components/booking/DependentAddOnPaymentForm.tsx +124 -0
- package/src/components/booking/InfoTooltip.tsx +108 -0
- package/src/components/booking/ItineraryBox.module.css +258 -0
- package/src/components/booking/ItineraryBox.tsx +550 -0
- package/src/components/{ItineraryBuilder.tsx → booking/ItineraryBuilder.tsx} +1 -2
- package/src/components/booking/ItineraryPlaceholder.module.css +45 -0
- package/src/components/booking/ItineraryPlaceholder.tsx +26 -0
- package/src/components/{MealDrinkAddOnSelector.tsx → booking/MealDrinkAddOnSelector.tsx} +21 -13
- package/src/components/booking/PickupLocationSelector.module.css +124 -0
- package/src/components/{PickupLocationSelector.tsx → booking/PickupLocationSelector.tsx} +315 -290
- package/src/components/booking/PickupTimeSelector.module.css +134 -0
- package/src/components/booking/PickupTimeSelector.tsx +112 -0
- package/src/components/{PriceBreakdown.tsx → booking/PriceBreakdown.tsx} +3 -3
- package/src/components/{PriceSummary.tsx → booking/PriceSummary.tsx} +51 -28
- package/src/components/booking/PrivateShuttleBookingFlow.module.css +357 -0
- package/src/components/booking/PrivateShuttleBookingFlow.tsx +2662 -0
- package/src/components/booking/PromoCodeInput.module.css +166 -0
- package/src/components/booking/PromoCodeInput.tsx +99 -0
- package/src/components/booking/ReturnTimeSelector.module.css +173 -0
- package/src/components/booking/ReturnTimeSelector.tsx +145 -0
- package/src/components/{TermsAcceptance.tsx → booking/TermsAcceptance.tsx} +9 -8
- package/src/components/booking/TicketSelector.module.css +164 -0
- package/src/components/booking/TicketSelector.tsx +199 -0
- package/src/components/booking/TourDescription.module.css +304 -0
- package/src/components/booking/TourDescription.tsx +273 -0
- package/src/components/booking/booking-flow-ui.ts +15 -1
- package/src/components/booking/booking-flow.css +944 -0
- package/src/components/bottom-sheet.module.css +78 -0
- package/src/components/bottom-sheet.tsx +60 -0
- package/src/components/breadcrumb.module.css +40 -0
- package/src/components/breadcrumb.tsx +36 -0
- package/src/components/button.css +245 -0
- package/src/components/button.tsx +152 -0
- package/src/components/client-bottom-sheet.tsx +14 -0
- package/src/components/colorable-svg.tsx +29 -0
- package/src/components/conditional-footer.tsx +27 -0
- package/src/components/contact-us.module.css +147 -0
- package/src/components/contact-us.tsx +49 -0
- package/src/components/email-signup.css +151 -0
- package/src/components/email-signup.tsx +63 -0
- package/src/components/faq-wrapper.module.css +47 -0
- package/src/components/faq-wrapper.tsx +15 -0
- package/src/components/footer.css +187 -0
- package/src/components/footer.tsx +143 -0
- package/src/components/global-simple-modal.tsx +33 -0
- package/src/components/google-review-summary.module.css +77 -0
- package/src/components/google-review-summary.tsx +50 -0
- package/src/components/hero-image.css +13 -0
- package/src/components/hero-image.tsx +44 -0
- package/src/components/image.css +29 -0
- package/src/components/image.tsx +113 -0
- package/src/components/language-aware-link.tsx +72 -0
- package/src/components/language-switcher.module.css +124 -0
- package/src/components/language-switcher.tsx +75 -0
- package/src/components/map-section.css +59 -0
- package/src/components/map-section.tsx +63 -0
- package/src/components/navbar.module.css +152 -0
- package/src/components/navbar.tsx +125 -0
- package/src/components/parallax-provider.tsx +11 -0
- package/src/components/partner/PartnerBookingPage.module.css +130 -0
- package/src/components/partner/PartnerBookingPage.tsx +390 -0
- package/src/components/partner/PartnerBookingPageWithBrowserMetadata.tsx +19 -35
- package/src/components/product-tag.module.css +30 -0
- package/src/components/product-tag.tsx +34 -0
- package/src/components/product-theme-pages/best-option.module.css +70 -0
- package/src/components/product-theme-pages/best-option.tsx +35 -0
- package/src/components/product-theme-pages/extended-tour-options.module.css +22 -0
- package/src/components/product-theme-pages/extended-tour-options.tsx +11 -0
- package/src/components/product-theme-pages/image-modal.tsx +248 -0
- package/src/components/product-theme-pages/photo-gallery.module.css +200 -0
- package/src/components/product-theme-pages/photo-gallery.tsx +90 -0
- package/src/components/product-theme-pages/product-theme-page-layout.module.css +13 -0
- package/src/components/product-theme-pages/product-theme-page-layout.tsx +67 -0
- package/src/components/product-theme-pages/top-of-fold.module.css +179 -0
- package/src/components/product-theme-pages/top-of-fold.tsx +80 -0
- package/src/components/product-tile/image-only-product-tile-desktop.module.css +106 -0
- package/src/components/product-tile/image-only-product-tile-desktop.tsx +56 -0
- package/src/components/product-tile/image-only-product-tile-mobile.module.css +122 -0
- package/src/components/product-tile/image-only-product-tile-mobile.tsx +89 -0
- package/src/components/product-tile/image-only-product-tile.tsx +44 -0
- package/src/components/product-tile/product-tile-card.module.css +84 -0
- package/src/components/product-tile/product-tile-card.tsx +61 -0
- package/src/components/review-highlights-section.css +85 -0
- package/src/components/review-highlights-section.tsx +127 -0
- package/src/components/season-closure-overlay.module.css +99 -0
- package/src/components/season-closure-overlay.tsx +98 -0
- package/src/components/simple-modal.tsx +69 -0
- package/src/components/simple-top-of-fold.module.css +76 -0
- package/src/components/simple-top-of-fold.tsx +34 -0
- package/src/components/spacer.css +41 -0
- package/src/components/spacer.tsx +23 -0
- package/src/components/star-rating.module.css +74 -0
- package/src/components/star-rating.tsx +48 -0
- package/src/components/terms/TermsContent.tsx +178 -0
- package/src/components/title-subtitle.module.css +10 -0
- package/src/components/title-subtitle.tsx +30 -0
- package/src/components/translatable-reviews.tsx +75 -0
- package/src/components/value-pill.module.css +59 -0
- package/src/components/value-pill.tsx +46 -0
- package/src/components/value-props.css +185 -0
- package/src/components/value-props.tsx +88 -0
- package/src/constants/booking-guide-quiz.ts +64 -0
- package/src/constants/contact-info.ts +2 -0
- package/src/constants/faq.ts +44 -0
- package/src/constants/images.ts +556 -0
- package/src/constants/json-ld/faq-json-ld.tsx +170 -0
- package/src/constants/json-ld/homepage-json-ld.tsx +138 -0
- package/src/constants/json-ld/job-posting-json-ld.tsx +92 -0
- package/src/constants/json-ld/organization-json-ld.tsx +62 -0
- package/src/constants/json-ld/page-json-ld.tsx +6 -0
- package/src/constants/json-ld/product-json-ld.tsx +154 -0
- package/src/constants/json-ld/review-json-ld.tsx +377 -0
- package/src/constants/navigation-links/footer-links.ts +48 -0
- package/src/constants/navigation-links/nav-bar-links.ts +41 -0
- package/src/constants/navigation-links/navigation-link.ts +6 -0
- package/src/constants/pill-values.ts +210 -0
- package/src/constants/products.ts +155 -0
- package/src/constants/quiz-recommendations.ts +506 -0
- package/src/constants/reviews.ts +75 -0
- package/src/constants/staff.ts +197 -0
- package/src/constants/value-props.ts +58 -0
- package/src/data/dap-descriptions/session-couples-families-friends.en.json +61 -0
- package/src/data/dap-descriptions/session-elopements.en.json +60 -0
- package/src/data/dap-descriptions/session-proposals.en.json +60 -0
- package/src/data/product-descriptions/afternoon-delight.en.json +35 -0
- package/src/data/product-descriptions/emerald-lake-escape.en.json +68 -0
- package/src/data/product-descriptions/lake-louise-adventure.en.json +74 -0
- package/src/data/product-descriptions/moraine-lake-adventure.en.json +78 -0
- package/src/data/product-descriptions/moraine-lake-sunrise-lake-louise-golden-hour.en.json +65 -0
- package/src/data/product-descriptions/moraine-lake-sunrise.en.json +64 -0
- package/src/data/product-descriptions/private-tour.en.json +80 -0
- package/src/data/product-descriptions/two-lakes-combo.en.json +65 -0
- package/src/data/products-config.json +101 -0
- package/src/hooks/use-bottom-sheet.tsx +15 -0
- package/src/hooks/use-simple-modal.tsx +27 -0
- package/src/hooks/useBookingSourceMetadataFromLocation.ts +21 -0
- package/src/hooks/useEmailSubscription.tsx +103 -0
- package/src/hooks/useEmbeddedInIframe.ts +16 -0
- package/src/hooks/useIsBookingLaunchLive.ts +49 -0
- package/src/hooks/useQuiz.tsx +210 -0
- package/src/index.ts +27 -2
- package/src/lib/analytics.ts +197 -0
- package/src/lib/booking/booking-source.ts +20 -2
- package/src/lib/{checkout-breakdown.ts → booking/checkout-breakdown.ts} +1 -1
- package/src/lib/booking/correlation-id.ts +46 -0
- package/src/lib/{i18n → booking/i18n}/messages/en.json +48 -4
- package/src/lib/{i18n → booking/i18n}/messages/fr.json +48 -4
- package/src/lib/booking/itinerary-display.ts +36 -0
- package/src/lib/{itinerary-labels.ts → booking/itinerary-labels.ts} +1 -1
- package/src/lib/{location-calculations.ts → booking/location-calculations.ts} +4 -4
- package/src/lib/{location-utils.ts → booking/location-utils.ts} +26 -0
- package/src/lib/{map-utils.ts → booking/map-utils.ts} +3 -3
- package/src/lib/booking/normalize-booking-product-id.ts +7 -0
- package/src/lib/{pickup-location-types.ts → booking/pickup-location-types.ts} +2 -2
- package/src/lib/{pricing.ts → booking/pricing.ts} +2 -2
- package/src/lib/booking/product-option-id.ts +35 -0
- package/src/lib/booking/source-metadata.ts +72 -7
- package/src/lib/booking/sunday-week.ts +14 -0
- package/src/lib/booking/trace-context.ts +62 -0
- package/src/lib/booking-api.ts +1793 -0
- package/src/lib/{constants.ts → booking-constants.ts} +11 -5
- package/src/lib/booking-types.ts +36 -0
- package/src/lib/currency.ts +38 -45
- package/src/lib/dap-descriptions.ts +50 -0
- package/src/lib/dap-itinerary-preview.ts +315 -0
- package/src/lib/dependent-add-on-api.ts +434 -0
- package/src/lib/env.ts +89 -5
- package/src/lib/firebase.ts +20 -0
- package/src/lib/job-application-api.ts +83 -0
- package/src/lib/manage-booking-embed-print.ts +16 -0
- package/src/lib/manage-booking-post-checkout.ts +68 -0
- package/src/lib/photo-dap-config.ts +228 -0
- package/src/lib/pickup/map-utils.ts +56 -0
- package/src/lib/pickup/marker-icons.ts +19 -0
- package/src/lib/product-descriptions.ts +66 -0
- package/src/lib/products-config.ts +73 -0
- package/src/providers/booking-dialog-provider.tsx +107 -38
- package/src/providers/bottom-sheet-provider.tsx +40 -0
- package/src/providers/dependent-add-on-dialog-provider.tsx +105 -0
- package/src/radius.css +5 -0
- package/src/spacing.css +7 -0
- package/src/strings/en.json +1774 -0
- package/src/strings/es.json +1573 -0
- package/src/strings/fr.json +1573 -0
- package/src/strings/index.js +23 -0
- package/src/text-style.css +97 -0
- package/src/types/fareharbor.d.ts +12 -0
- package/src/types/quiz.ts +59 -0
- package/src/utils/currency-converter.ts +101 -0
- package/src/components/BookingFlow.tsx +0 -2952
- package/src/components/LanguageSwitcher.tsx +0 -30
- package/src/components/PrivateShuttleBookingFlow.tsx +0 -2290
- package/src/components/ProductList.tsx +0 -78
- package/src/components/WhatsAppPhoneInput.tsx +0 -224
- package/src/components/index.ts +0 -31
- package/src/lib/api.ts +0 -801
- package/src/lib/booking-api-auth.ts +0 -9
- package/src/lib/checkout-breakdown.test.ts +0 -70
- package/src/types/google-maps.d.ts +0 -2
- /package/src/components/{CurrencySwitcher.tsx → booking/CurrencySwitcher.tsx} +0 -0
- /package/src/components/{ErrorBoundary.tsx → booking/ErrorBoundary.tsx} +0 -0
- /package/src/lib/{i18n → booking/i18n}/config.ts +0 -0
- /package/src/lib/{i18n → booking/i18n}/index.tsx +0 -0
- /package/src/lib/{marker-icons.ts → booking/marker-icons.ts} +0 -0
- /package/src/lib/{places-api.ts → booking/places-api.ts} +0 -0
- /package/src/lib/{theme.ts → booking/theme.ts} +0 -0
- /package/src/lib/{utils.ts → booking/utils.ts} +0 -0
|
@@ -9,7 +9,6 @@ import { formatCurrencyAmount } from '@/lib/currency';
|
|
|
9
9
|
|
|
10
10
|
const API_URL = ENV.API_URL;
|
|
11
11
|
|
|
12
|
-
/** Provider-only fields merged after public manage lookup (e.g. embedded in provider dashboard). */
|
|
13
12
|
export interface StaffBookingAttribution {
|
|
14
13
|
reportingSource: string;
|
|
15
14
|
partnerBookingPortal: boolean;
|
|
@@ -24,28 +23,6 @@ export interface StaffBookingAttribution {
|
|
|
24
23
|
commissionUsesPartnerRate?: boolean;
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
export interface ManageBookingViewProps {
|
|
28
|
-
/** Initial booking reference (ref or bookingReference from URL) */
|
|
29
|
-
initialRef?: string;
|
|
30
|
-
/** Initial last name (from URL or success callback) */
|
|
31
|
-
initialLastName?: string;
|
|
32
|
-
/** Reservation reference (e.g. after Stripe redirect; triggers poll until booking exists) */
|
|
33
|
-
initialReservationRef?: string;
|
|
34
|
-
/** True when returning from balance payment success (Stripe redirect); triggers polling to catch webhook update */
|
|
35
|
-
initialPaymentSuccess?: boolean;
|
|
36
|
-
/** When provided (e.g. manage page), called to replace URL when poll finds booking; when undefined (e.g. dialog), no navigation */
|
|
37
|
-
replaceUrl?: (url: string) => void;
|
|
38
|
-
/** When provided (e.g. dialog), show compact layout and optionally a close button. Set showCloseButton false when the host provides its own close (e.g. dialog X). */
|
|
39
|
-
onClose?: () => void;
|
|
40
|
-
/** When false, do not render the in-content close button (e.g. host dialog already has an X). Default true when onClose is set. */
|
|
41
|
-
showCloseButton?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* When embedded with staff auth, fetch attribution (partner portal vs main site, partner/agent, commission)
|
|
44
|
-
* after the public booking loads. Uses provider GET /1/bookings/:ref — implement in the host app.
|
|
45
|
-
*/
|
|
46
|
-
fetchStaffAttribution?: (bookingReference: string) => Promise<StaffBookingAttribution | null>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
26
|
function staffChannelLabel(source: string): string {
|
|
50
27
|
const labels: Record<string, string> = {
|
|
51
28
|
DASHBOARD: 'Dashboard',
|
|
@@ -59,6 +36,17 @@ function staffChannelLabel(source: string): string {
|
|
|
59
36
|
return labels[source] ?? source;
|
|
60
37
|
}
|
|
61
38
|
|
|
39
|
+
export interface ManageBookingViewProps {
|
|
40
|
+
initialRef?: string;
|
|
41
|
+
initialLastName?: string;
|
|
42
|
+
initialReservationRef?: string;
|
|
43
|
+
initialPaymentSuccess?: boolean;
|
|
44
|
+
replaceUrl?: (url: string) => void;
|
|
45
|
+
onClose?: () => void;
|
|
46
|
+
showCloseButton?: boolean;
|
|
47
|
+
fetchStaffAttribution?: (bookingReference: string) => Promise<StaffBookingAttribution | null>;
|
|
48
|
+
}
|
|
49
|
+
|
|
62
50
|
export function ManageBookingView({
|
|
63
51
|
initialRef: initialRefProp = '',
|
|
64
52
|
initialLastName: initialLastNameProp = '',
|
|
@@ -133,10 +121,10 @@ export function ManageBookingView({
|
|
|
133
121
|
if (cancelled) return;
|
|
134
122
|
setBooking(b);
|
|
135
123
|
|
|
136
|
-
const hasPaymentOwing = (
|
|
137
|
-
const status =
|
|
138
|
-
const balanceAmount =
|
|
139
|
-
const depositAmount =
|
|
124
|
+
const hasPaymentOwing = (bookingData: BookingData) => {
|
|
125
|
+
const status = bookingData?.payment?.status;
|
|
126
|
+
const balanceAmount = bookingData?.payment?.plan?.balanceAmount ?? 0;
|
|
127
|
+
const depositAmount = bookingData?.payment?.plan?.depositAmount ?? 0;
|
|
140
128
|
return (status === 'DEPOSIT_PAID' && balanceAmount > 0) ||
|
|
141
129
|
(status === 'AWAITING_PAYMENT' && (depositAmount > 0 || balanceAmount > 0));
|
|
142
130
|
};
|
|
@@ -192,7 +180,7 @@ export function ManageBookingView({
|
|
|
192
180
|
return;
|
|
193
181
|
}
|
|
194
182
|
}
|
|
195
|
-
} catch { }
|
|
183
|
+
} catch { /* ignore */ }
|
|
196
184
|
if (cancelled) return;
|
|
197
185
|
attempt += 1;
|
|
198
186
|
if (attempt * POLL_MS < MAX_MS) {
|
|
@@ -276,11 +264,7 @@ export function ManageBookingView({
|
|
|
276
264
|
</div>
|
|
277
265
|
)}
|
|
278
266
|
{staffAttribution ? (
|
|
279
|
-
<div
|
|
280
|
-
className="mb-4 rounded-xl border border-stone-200 bg-stone-50 px-4 py-3 text-sm text-stone-800"
|
|
281
|
-
role="region"
|
|
282
|
-
aria-label="Staff booking attribution"
|
|
283
|
-
>
|
|
267
|
+
<div className="mb-4 rounded-xl border border-stone-200 bg-stone-50 px-4 py-3 text-sm text-stone-800" role="region" aria-label="Staff booking attribution">
|
|
284
268
|
<p className="font-semibold text-stone-900 mb-2">Booking attribution</p>
|
|
285
269
|
<p>
|
|
286
270
|
<span className="text-stone-600">Channel:</span> {staffChannelLabel(staffAttribution.reportingSource)}
|
|
@@ -288,9 +272,7 @@ export function ManageBookingView({
|
|
|
288
272
|
{staffAttribution.partnerId ? (
|
|
289
273
|
<p>
|
|
290
274
|
<span className="text-stone-600">Partner:</span>{' '}
|
|
291
|
-
{staffAttribution.partnerName
|
|
292
|
-
? `${staffAttribution.partnerName} (${staffAttribution.partnerId})`
|
|
293
|
-
: staffAttribution.partnerId}
|
|
275
|
+
{staffAttribution.partnerName ? `${staffAttribution.partnerName} (${staffAttribution.partnerId})` : staffAttribution.partnerId}
|
|
294
276
|
</p>
|
|
295
277
|
) : null}
|
|
296
278
|
{staffAttribution.agentDisplay || staffAttribution.agentId ? (
|
|
@@ -322,6 +304,16 @@ export function ManageBookingView({
|
|
|
322
304
|
);
|
|
323
305
|
}
|
|
324
306
|
|
|
307
|
+
const waitingForBooking = initialReservationRef && initialLastName && !initialRef;
|
|
308
|
+
if (waitingForBooking && loading) {
|
|
309
|
+
return (
|
|
310
|
+
<div className={containerClass}>
|
|
311
|
+
<div className="w-10 h-10 border-2 border-t-transparent rounded-full animate-spin" style={{ borderColor: 'var(--booking-primary)' }} aria-hidden />
|
|
312
|
+
<p style={{ color: 'var(--booking-text-muted)' }}>Confirming your booking…</p>
|
|
313
|
+
</div>
|
|
314
|
+
);
|
|
315
|
+
}
|
|
316
|
+
|
|
325
317
|
return (
|
|
326
318
|
<div className={formOuterClass || undefined}>
|
|
327
319
|
<div className="p-8 max-w-md w-full shadow-xl" style={{ backgroundColor: 'var(--booking-surface)', borderRadius: 'var(--booking-radius)' }}>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* Clean, minimal phone input matching the reference design */
|
|
2
|
+
.wrapper {
|
|
3
|
+
width: 100%;
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: visible;
|
|
6
|
+
--react-international-phone-height: 44px;
|
|
7
|
+
--react-international-phone-border-color: rgba(0, 0, 0, 0.12);
|
|
8
|
+
--react-international-phone-border-radius: 12px;
|
|
9
|
+
--react-international-phone-background-color: #fff;
|
|
10
|
+
--react-international-phone-text-color: var(--primary-text, #333);
|
|
11
|
+
--react-international-phone-font-size: 1rem;
|
|
12
|
+
--react-international-phone-dropdown-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
|
|
13
|
+
--react-international-phone-dropdown-item-height: 40px;
|
|
14
|
+
--react-international-phone-dropdown-item-font-size: 14px;
|
|
15
|
+
--react-international-phone-dropdown-item-text-color: var(--primary-text, #333);
|
|
16
|
+
--react-international-phone-dropdown-item-dial-code-color: var(--grey-text, #6b7280);
|
|
17
|
+
--react-international-phone-selected-dropdown-item-background-color: #f5f5f5;
|
|
18
|
+
--react-international-phone-country-selector-border-color: transparent;
|
|
19
|
+
--react-international-phone-country-selector-background-color: transparent;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.phoneInput {
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* Container: single unified border around flag + input */
|
|
27
|
+
.wrapper :global(.react-international-phone-input-container) {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
width: 100%;
|
|
31
|
+
border: 2px solid var(--accent-orange-10, rgba(0, 0, 0, 0.08));
|
|
32
|
+
border-radius: 12px;
|
|
33
|
+
background: var(--primary-background, #fff);
|
|
34
|
+
transition: border-color 0.15s;
|
|
35
|
+
overflow: visible;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* Country selector needs overflow visible so dropdown can escape */
|
|
39
|
+
.wrapper :global(.react-international-phone-country-selector) {
|
|
40
|
+
overflow: visible;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.wrapper:focus-within :global(.react-international-phone-input-container) {
|
|
44
|
+
border-color: var(--accent-orange);
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Country selector button - no separate border, blends into container */
|
|
49
|
+
.wrapper :global(.react-international-phone-country-selector-button) {
|
|
50
|
+
border: none;
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
background: transparent;
|
|
53
|
+
padding: 0 0.5rem 0 0.75rem;
|
|
54
|
+
height: 100%;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.wrapper :global(.react-international-phone-country-selector-button:hover) {
|
|
58
|
+
background: rgba(0, 0, 0, 0.03);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.wrapper :global(.react-international-phone-country-selector-button__dropdown-arrow) {
|
|
62
|
+
border-top-color: var(--grey-text, #6b7280);
|
|
63
|
+
margin-left: 0.25rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Input field */
|
|
67
|
+
.wrapper :global(.react-international-phone-input) {
|
|
68
|
+
flex: 1;
|
|
69
|
+
min-width: 0;
|
|
70
|
+
border: none;
|
|
71
|
+
border-radius: 0;
|
|
72
|
+
padding: 0.625rem 0.875rem;
|
|
73
|
+
font-size: 1rem;
|
|
74
|
+
font-family: inherit;
|
|
75
|
+
color: var(--primary-text, #333);
|
|
76
|
+
background: transparent;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.wrapper :global(.react-international-phone-input):focus {
|
|
80
|
+
outline: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.wrapper :global(.react-international-phone-input)::placeholder {
|
|
84
|
+
color: var(--grey-text, #878686);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Dropdown - floating panel BELOW the input, not inside */
|
|
88
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown),
|
|
89
|
+
.dropdown {
|
|
90
|
+
position: absolute !important;
|
|
91
|
+
top: 100% !important;
|
|
92
|
+
left: 0 !important;
|
|
93
|
+
margin-top: 6px !important;
|
|
94
|
+
width: 100% !important;
|
|
95
|
+
min-width: 280px;
|
|
96
|
+
max-height: 280px;
|
|
97
|
+
border-radius: 12px;
|
|
98
|
+
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
99
|
+
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
|
|
100
|
+
background: #fff;
|
|
101
|
+
padding: 8px 0;
|
|
102
|
+
z-index: 1000;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item) {
|
|
106
|
+
padding: 0.5rem 1rem;
|
|
107
|
+
min-height: 40px;
|
|
108
|
+
cursor: pointer;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item):hover,
|
|
112
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item--focused) {
|
|
113
|
+
background: #f5f5f5;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item-country-name) {
|
|
117
|
+
font-size: 14px;
|
|
118
|
+
color: var(--primary-text, #333);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item-dial-code) {
|
|
122
|
+
font-size: 14px;
|
|
123
|
+
color: var(--grey-text, #6b7280);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/* Flag sizing */
|
|
127
|
+
.wrapper :global(.react-international-phone-country-selector-button__flag-emoji),
|
|
128
|
+
.wrapper :global(.react-international-phone-country-selector-dropdown__list-item-flag-emoji) {
|
|
129
|
+
width: 20px;
|
|
130
|
+
height: 14px;
|
|
131
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { PhoneInput } from 'react-international-phone';
|
|
5
|
+
import 'react-international-phone/style.css';
|
|
6
|
+
import styles from './PhoneInputWithCountry.module.css';
|
|
7
|
+
|
|
8
|
+
interface PhoneInputWithCountryProps {
|
|
9
|
+
id?: string;
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (value: string | undefined) => void;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export default function PhoneInputWithCountryComponent({
|
|
18
|
+
id,
|
|
19
|
+
value,
|
|
20
|
+
onChange,
|
|
21
|
+
placeholder = 'Phone number',
|
|
22
|
+
disabled = false,
|
|
23
|
+
className,
|
|
24
|
+
}: PhoneInputWithCountryProps) {
|
|
25
|
+
return (
|
|
26
|
+
<div className={`${styles.wrapper} ${className ?? ''}`}>
|
|
27
|
+
<PhoneInput
|
|
28
|
+
defaultCountry="ca"
|
|
29
|
+
preferredCountries={['ca', 'us']}
|
|
30
|
+
value={value || ''}
|
|
31
|
+
onChange={(phone) => onChange(phone || undefined)}
|
|
32
|
+
placeholder={placeholder}
|
|
33
|
+
disabled={disabled}
|
|
34
|
+
inputProps={{ id }}
|
|
35
|
+
className={styles.phoneInput}
|
|
36
|
+
countrySelectorStyleProps={{
|
|
37
|
+
dropdownStyleProps: {
|
|
38
|
+
className: styles.dropdown,
|
|
39
|
+
},
|
|
40
|
+
}}
|
|
41
|
+
/>
|
|
42
|
+
</div>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
/* Root class for scoping - nested selectors override Tailwind */
|
|
2
|
+
.overlay {
|
|
3
|
+
position: fixed;
|
|
4
|
+
inset: 0;
|
|
5
|
+
background: rgba(0, 0, 0, 0.5);
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
z-index: 1000;
|
|
10
|
+
padding: 1rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.modal {
|
|
14
|
+
background: var(--primary-background, #fff);
|
|
15
|
+
border-radius: 24px;
|
|
16
|
+
max-width: 900px;
|
|
17
|
+
width: 100%;
|
|
18
|
+
max-height: 90vh;
|
|
19
|
+
overflow: hidden;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.pickupDialogRoot .header {
|
|
26
|
+
display: grid !important;
|
|
27
|
+
grid-template-columns: auto 1fr auto !important;
|
|
28
|
+
align-items: center !important;
|
|
29
|
+
gap: 0.75rem !important;
|
|
30
|
+
padding: 1rem 0.75rem !important;
|
|
31
|
+
border-bottom: 1px solid #e5e7eb !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pickupDialogRoot .headerSpacer {
|
|
35
|
+
display: block;
|
|
36
|
+
width: 2.5rem;
|
|
37
|
+
height: 2.5rem;
|
|
38
|
+
flex-shrink: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.pickupDialogRoot .title {
|
|
42
|
+
font-family: 'Poppins', sans-serif !important;
|
|
43
|
+
font-weight: 800 !important;
|
|
44
|
+
font-size: 1.5rem !important;
|
|
45
|
+
color: var(--accent-orange, #e85a2e) !important;
|
|
46
|
+
margin: 0 !important;
|
|
47
|
+
justify-self: center !important;
|
|
48
|
+
text-align: center !important;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.pickupDialogRoot .closeBtn {
|
|
52
|
+
background: none !important;
|
|
53
|
+
border: none !important;
|
|
54
|
+
padding: 0.5rem !important;
|
|
55
|
+
cursor: pointer !important;
|
|
56
|
+
color: var(--grey-text, #6b7280) !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.pickupDialogRoot .closeBtn:hover {
|
|
60
|
+
color: var(--primary-text, #1f2937) !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.pickupDialogRoot .content {
|
|
64
|
+
padding: var(--spacing-large);
|
|
65
|
+
overflow-y: auto;
|
|
66
|
+
overflow-x: hidden;
|
|
67
|
+
flex: 1;
|
|
68
|
+
min-width: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.pickupDialogRoot .loading,
|
|
72
|
+
.pickupDialogRoot .error,
|
|
73
|
+
.pickupDialogRoot .empty {
|
|
74
|
+
text-align: center;
|
|
75
|
+
padding: 2rem;
|
|
76
|
+
color: var(--grey-text, #6b7280);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.pickupDialogRoot .error {
|
|
80
|
+
color: #dc2626;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Current pickup section - shown when dialog opens */
|
|
84
|
+
.pickupDialogRoot .currentPickupSection {
|
|
85
|
+
margin-bottom: 1.25rem;
|
|
86
|
+
padding: 1rem;
|
|
87
|
+
background: var(--accent-orange-10, rgba(0, 0, 0, 0.04));
|
|
88
|
+
border-radius: 12px;
|
|
89
|
+
border: 1px solid var(--accent-orange-10, rgba(0, 0, 0, 0.08));
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.pickupDialogRoot .currentPickupLabel {
|
|
93
|
+
font-size: 0.75rem;
|
|
94
|
+
font-weight: 600;
|
|
95
|
+
text-transform: uppercase;
|
|
96
|
+
letter-spacing: 0.05em;
|
|
97
|
+
color: var(--grey-text, #6b7280);
|
|
98
|
+
margin: 0 0 0.25rem 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.pickupDialogRoot .currentPickupName {
|
|
102
|
+
font-size: 1rem;
|
|
103
|
+
font-weight: 600;
|
|
104
|
+
color: var(--primary-text, #1f2937);
|
|
105
|
+
margin: 0 0 0.25rem 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.pickupDialogRoot .currentPickupTimes {
|
|
109
|
+
font-size: 0.875rem;
|
|
110
|
+
color: var(--grey-text, #6b7280);
|
|
111
|
+
margin: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.pickupDialogRoot .selectorWrapper {
|
|
115
|
+
margin-bottom: 1.5rem;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
/* Prevent input overflow - constrain width in flex/grid layouts */
|
|
119
|
+
.pickupDialogRoot .selectorWrapperConstrained {
|
|
120
|
+
min-width: 0;
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.pickupDialogRoot .selectorWrapperConstrained > div {
|
|
125
|
+
min-width: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* Override Tailwind resets for input and filter pills when inside dialog */
|
|
129
|
+
.pickupDialogRoot .selectorWrapper input[data-pickup-search],
|
|
130
|
+
.pickupDialogRoot .selectorWrapper input[type="text"] {
|
|
131
|
+
width: 100% !important;
|
|
132
|
+
max-width: 100% !important;
|
|
133
|
+
box-sizing: border-box !important;
|
|
134
|
+
padding: 0.5rem 1rem 0.5rem 2.5rem !important;
|
|
135
|
+
font-family: 'Figtree', sans-serif !important;
|
|
136
|
+
font-size: 1rem !important;
|
|
137
|
+
line-height: 1.5 !important;
|
|
138
|
+
color: #1c1917 !important;
|
|
139
|
+
background-color: #fff !important;
|
|
140
|
+
border: 1px solid #d6d3d1 !important;
|
|
141
|
+
border-radius: 0.5rem !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.pickupDialogRoot .selectorWrapper input::placeholder {
|
|
145
|
+
color: #a8a29e !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.pickupDialogRoot .selectorWrapper input:focus {
|
|
149
|
+
outline: none !important;
|
|
150
|
+
border-color: #78716c !important;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.pickupDialogRoot .cancelBtn {
|
|
154
|
+
border-color: var(--grey-text);
|
|
155
|
+
color: var(--grey-text);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* Filter pills - match booking flow (PrivateShuttleBookingFlow / CheckoutForm) */
|
|
159
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] {
|
|
160
|
+
display: flex !important;
|
|
161
|
+
flex-wrap: nowrap !important;
|
|
162
|
+
align-items: center !important;
|
|
163
|
+
gap: 0.5rem !important;
|
|
164
|
+
margin-bottom: 1rem !important;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] > div:first-child {
|
|
168
|
+
display: flex !important;
|
|
169
|
+
flex-wrap: wrap !important;
|
|
170
|
+
gap: 0.5rem !important;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] button {
|
|
174
|
+
padding: 0.875rem 1.25rem !important;
|
|
175
|
+
font-family: 'Figtree', sans-serif !important;
|
|
176
|
+
font-size: 0.875rem !important;
|
|
177
|
+
font-weight: 500 !important;
|
|
178
|
+
border-radius: 9999px !important;
|
|
179
|
+
transition: background-color 0.15s, color 0.15s !important;
|
|
180
|
+
flex-shrink: 0 !important;
|
|
181
|
+
border: none !important;
|
|
182
|
+
cursor: pointer !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/* Unselected - stone/grey to match booking flow */
|
|
186
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] button:not([class*="bg-emerald"]) {
|
|
187
|
+
background-color: #f5f5f4 !important;
|
|
188
|
+
color: #44403c !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] button:hover:not([class*="bg-emerald"]) {
|
|
192
|
+
background-color: #e7e5e4 !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
/* Selected - emerald green to match booking flow */
|
|
196
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] button[class*="bg-emerald"] {
|
|
197
|
+
background-color: #059669 !important;
|
|
198
|
+
color: #fff !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.pickupDialogRoot .selectorWrapper [class*="filterPillsScroll"] button[class*="bg-emerald"]:hover {
|
|
202
|
+
background-color: #047857 !important;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.pickupDialogRoot .mapContainer {
|
|
206
|
+
margin-bottom: var(--spacing-medium);
|
|
207
|
+
border-radius: 12px;
|
|
208
|
+
overflow: hidden;
|
|
209
|
+
border: 1px solid var(--accent-orange-10, rgba(0, 0, 0, 0.08));
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.map {
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: 320px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mapFallback {
|
|
218
|
+
font-size: 0.875rem;
|
|
219
|
+
color: var(--grey-text);
|
|
220
|
+
margin-bottom: var(--spacing-medium);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.infoWindow {
|
|
224
|
+
padding: 0.25rem;
|
|
225
|
+
min-width: 200px;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.infoTitle {
|
|
229
|
+
font-weight: 600;
|
|
230
|
+
margin: 0 0 0.25rem 0;
|
|
231
|
+
font-size: 1rem;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.infoAddress {
|
|
235
|
+
font-size: 0.875rem;
|
|
236
|
+
color: var(--grey-text);
|
|
237
|
+
margin: 0 0 0.5rem 0;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.selectBtn {
|
|
241
|
+
width: 100%;
|
|
242
|
+
padding: 0.5rem 0.75rem;
|
|
243
|
+
background: var(--accent-orange, #e85a2e);
|
|
244
|
+
color: white;
|
|
245
|
+
border: none;
|
|
246
|
+
border-radius: 8px;
|
|
247
|
+
font-weight: 600;
|
|
248
|
+
font-size: 0.875rem;
|
|
249
|
+
cursor: pointer;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.selectBtn:hover:not(:disabled) {
|
|
253
|
+
background: #e85a2e;
|
|
254
|
+
opacity: 0.9;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.selectBtn:disabled {
|
|
258
|
+
opacity: 0.7;
|
|
259
|
+
cursor: not-allowed;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.list {
|
|
263
|
+
display: flex;
|
|
264
|
+
flex-direction: column;
|
|
265
|
+
gap: 0.5rem;
|
|
266
|
+
margin-bottom: var(--spacing-large);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.listItem {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-direction: column;
|
|
272
|
+
align-items: flex-start;
|
|
273
|
+
padding: 1rem;
|
|
274
|
+
border: 2px solid var(--accent-orange-10, rgba(0, 0, 0, 0.08));
|
|
275
|
+
border-radius: 12px;
|
|
276
|
+
background: transparent;
|
|
277
|
+
cursor: pointer;
|
|
278
|
+
text-align: left;
|
|
279
|
+
transition: border-color 0.15s, background 0.15s;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.listItem:hover {
|
|
283
|
+
border-color: var(--accent-orange, #e85a2e);
|
|
284
|
+
background: rgba(232, 90, 46, 0.05);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.listItemSelected {
|
|
288
|
+
border-color: var(--accent-orange, #e85a2e);
|
|
289
|
+
background: rgba(232, 90, 46, 0.08);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.listName {
|
|
293
|
+
font-weight: 600;
|
|
294
|
+
color: var(--primary-text, #1f2937);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.listAddress {
|
|
298
|
+
font-size: 0.875rem;
|
|
299
|
+
color: var(--grey-text);
|
|
300
|
+
margin-top: 0.25rem;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.pickupDialogRoot .footer {
|
|
304
|
+
display: flex;
|
|
305
|
+
justify-content: flex-end;
|
|
306
|
+
gap: 0.75rem;
|
|
307
|
+
padding-top: var(--spacing-medium);
|
|
308
|
+
border-top: 1px solid #e5e7eb !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
/* Itinerary preview before save */
|
|
312
|
+
.pickupDialogRoot .itineraryPreview {
|
|
313
|
+
margin-top: 1rem;
|
|
314
|
+
padding: 1rem;
|
|
315
|
+
background: var(--accent-orange-10, rgba(0, 0, 0, 0.04));
|
|
316
|
+
border-radius: 12px;
|
|
317
|
+
border: 1px solid var(--accent-orange-10, rgba(0, 0, 0, 0.08));
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.pickupDialogRoot .previewTitle {
|
|
321
|
+
font-size: 0.875rem;
|
|
322
|
+
font-weight: 600;
|
|
323
|
+
margin: 0 0 0.5rem 0;
|
|
324
|
+
color: var(--primary-text, #1f2937);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.pickupDialogRoot .previewIntro {
|
|
328
|
+
font-size: 0.8125rem;
|
|
329
|
+
color: var(--grey-text, #6b7280);
|
|
330
|
+
margin: 0 0 0.75rem 0;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.pickupDialogRoot .previewList {
|
|
334
|
+
margin: 0;
|
|
335
|
+
padding-left: 1.25rem;
|
|
336
|
+
font-size: 0.8125rem;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.pickupDialogRoot .previewItem {
|
|
340
|
+
margin-bottom: 0.5rem;
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-wrap: wrap;
|
|
343
|
+
align-items: baseline;
|
|
344
|
+
gap: 0.5rem;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.pickupDialogRoot .previewOld {
|
|
348
|
+
color: var(--grey-text, #6b7280);
|
|
349
|
+
text-decoration: line-through;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.pickupDialogRoot .previewArrow {
|
|
353
|
+
color: var(--accent-orange, #e85a2e);
|
|
354
|
+
font-weight: 600;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.pickupDialogRoot .previewNew {
|
|
358
|
+
color: var(--primary-text, #1f2937);
|
|
359
|
+
font-weight: 500;
|
|
360
|
+
}
|