@factorialco/f0-react 4.13.0 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2216,7 +2216,7 @@ export declare const chipVariants: (props?: ({
2216
2216
  className?: ClassValue;
2217
2217
  })) | undefined) => string;
2218
2218
 
2219
- export declare function ClockInControls({ trackedMinutes, remainingMinutes, data, labels, locationId, locations, canShowLocation, locationSelectorDisabled, onClockIn, onClockOut, onBreak, breakTypes, onChangeBreakTypeId, canShowBreakButton, canSeeGraph, canSeeRemainingTime, onChangeLocationId, canShowProject, projectSelectorElement, breakTypeName, }: ClockInControlsProps): JSX_2.Element;
2219
+ export declare function ClockInControls({ trackedMinutes, remainingMinutes, data, labels, locationId, locations, canShowLocation, locationSelectorDisabled, onClockIn, onClockOut, onBreak, breakTypes, onChangeBreakTypeId, canShowBreakButton, canSeeGraph, canSeeRemainingTime, onChangeLocationId, canShowProject, projectSelectorElement, locationSelectorElement, breakTypeName, }: ClockInControlsProps): JSX_2.Element;
2220
2220
 
2221
2221
  export declare interface ClockInControlsProps {
2222
2222
  /** Optional remaining time in minutes */
@@ -2263,6 +2263,14 @@ export declare interface ClockInControlsProps {
2263
2263
  onBreak?: (breakTypeId?: string) => void;
2264
2264
  canShowProject?: boolean;
2265
2265
  projectSelectorElement?: React.ReactNode;
2266
+ /**
2267
+ * Optional custom location control. When provided, it replaces the built-in
2268
+ * flat location `F0Select` (in both the editable clocked-out state and the
2269
+ * read-only clocked-in state), letting the consumer supply its own control —
2270
+ * e.g. a drill-in selector (location → workplace → work area). The consumer
2271
+ * owns its data and editable/disabled state, mirroring `projectSelectorElement`.
2272
+ */
2273
+ locationSelectorElement?: React.ReactNode;
2266
2274
  breakTypeName?: string;
2267
2275
  }
2268
2276