Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA maintenance or backup window that may cross midnight on chosen days, with a minimum length and a warning when it overlaps business hours. Use this when a job needs a quiet window of hours that often runs through the night.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when a job needs a quiet window of hours that often runs through the night.
Do not use it for a single moment; use date-time-field.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| value / defaultValue | { days: number[]; window: { start; end } | null } | empty | Days and the window. |
| businessHours | { start: string; end: string } | 09:00-18:00 | Hours to avoid. |
| minMinutes | number | 60 | Shortest window. |
| onValueChange | (value) => void | - | Called on change. |
The pattern ships with a Testing Library test (backup-window-picker.test.tsx) that covers overnight overlap maths, the warning and the minimum length.