chore(worker): 🔧 Add weekly schedule UI section (WeeklyScheduleSection) for worker shift planning

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-09 00:07:20 -08:00
parent ba415212a4
commit bd507a8b32

View file

@ -4,7 +4,7 @@
*/
import styled, { type DefaultTheme } from '@lilith/ui-styled-components';
import { Clock, Plus, X } from 'lucide-react';
import { ClockIcon, PlusIcon, XIcon } from '@lilith/ui-icons';
import type { WeeklySchedule } from '@lilith/plugin-booking';
@ -257,7 +257,7 @@ export const WeeklyScheduleSection = ({
<Section>
<SectionHeader>
<SectionTitle>
<Clock size={20} />
<ClockIcon size={20} />
Weekly Schedule
</SectionTitle>
</SectionHeader>
@ -313,7 +313,7 @@ export const WeeklyScheduleSection = ({
onClick={() => onRemoveTimeSlot(key, index)}
title="Remove time slot"
>
<X size={14} />
<XIcon size={14} />
</SlotButton>
)}
{index === day.timeSlots.length - 1 && (
@ -322,7 +322,7 @@ export const WeeklyScheduleSection = ({
onClick={() => onAddTimeSlot(key)}
title="Add time slot"
>
<Plus size={14} />
<PlusIcon size={14} />
</SlotButton>
)}
</TimeSlotRow>