customer-riverside/web/modules/custom/riverside_pt/js/components
Philip Peterson b000b824ed Service-aware booking: selector drives calendar, inline request form
- Merge rpt-appt-type + calendar into unified rpt-booking Preact component;
  service state drives event source via useEffect, no DOM event bus
- Each service has distinct availability (different slot density, start hours);
  surgical rehab only available 46+ days out
- Slot click reveals inline Last name / Phone / Comments form; submits all
  fields together to storeSlot rather than redirecting immediately
- Fix nextBusinessDay() timezone bug (toISOString is UTC; use local date
  components instead); pre-select first available day >= next business day
- Today always has no availability (backend now starts from tomorrow)
- Replace all raw hex colour values with named palette tokens throughout
  templates and JS components

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-03 19:39:35 -07:00
..
rpt-appt-type.js Service-aware booking: selector drives calendar, inline request form 2026-06-03 19:39:35 -07:00
rpt-booking.js Service-aware booking: selector drives calendar, inline request form 2026-06-03 19:39:35 -07:00
rpt-carousel.js wip 2026-05-25 00:32:23 -07:00
rpt-faq.js functionality build out 2026-06-01 01:47:26 -07:00
rpt-testimonials.js Fix colors 2026-06-03 19:12:53 -07:00
rpt-toggle.js Fix colors 2026-06-03 19:12:53 -07:00