- 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>
20 lines
578 B
YAML
20 lines
578 B
YAML
app:
|
|
css:
|
|
theme:
|
|
css/app.css: {}
|
|
js:
|
|
js/nav.js: {}
|
|
js/components/rpt-toggle.js: { attributes: { type: module } }
|
|
js/components/rpt-carousel.js: { attributes: { type: module } }
|
|
js/components/rpt-testimonials.js: { attributes: { type: module } }
|
|
js/components/rpt-faq.js: { attributes: { type: module } }
|
|
schedule:
|
|
css:
|
|
theme:
|
|
css/calendar.css: {}
|
|
js:
|
|
js/fullcalendar.min.js: { minified: true }
|
|
js/calendar.js: {}
|
|
js/components/rpt-booking.js: { attributes: { type: module } }
|
|
dependencies:
|
|
- core/drupalSettings
|