| _Clocks.scss |
|
27560 |
- |
| AddClockForm.jsx |
Add/edit form for a single clock. Owns its own form state — the parent
only knows whether the form is open (mount/unmount toggle), the clock
being edited (if any), and what to do with the saved zone.
@param {object} props
@param {boolean} props.isEditing
@param {object|null} props.initialClock Pre-fill values when editing.
@param {boolean} props.canAddClock
@param {string[]} props.supportedTimeZones
@param {string} [props.locale] Locale for localized zone names.
@param {(zone: object) => void} props.onSave
@param {() => void} props.onCancel
|
17107 |
- |
| ClockCityRegistry.mjs |
|
13207 |
- |
| Clocks.jsx |
Nova-only World Clocks widget. Up to four clocks with a minute-aligned
tick, hover toolbar, and context menu.
@param {object} props
@param {Function} props.dispatch
@param {Function} props.handleUserInteraction
|
15808 |
- |
| ClocksHelpers.mjs |
Allow-list for `clock.labelColor` before interpolating it into a
`clocks-chip-<name>` class, so a malformed value can't inject classes.
|
23759 |
- |
| ClocksRow.jsx |
Single row for the Clocks widget; parent pre-computes per-row flags.
@param {object} props
@param {{timeZone: string, city?: string, cityId?: string, label: string|null, labelColor: string|null}} props.clock
@param {{[key: string]: string}} [props.curatedNames] cityId to localized name.
@param {string} [props.locale]
@param {Date|null} props.now Null before the first tick.
@param {Function|null} [props.onEdit]
@param {Function|null} [props.onRemove]
@param {boolean} [props.hideTimeOnInlineActions]
@param {boolean} props.shouldAbbreviate
@param {boolean} props.showLabel
@param {boolean} [props.showInlineActions]
@param {boolean} [props.use12HourFormat] Overrides locale default.
|
4265 |
- |
| EditClocksPanel.jsx |
|
4714 |
- |
| useCuratedCityNames.jsx |
|
1722 |
- |