@factorialco/f0-react 16.0.0 → 16.1.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.
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  //#region \0virtual:f0-component-status-data
6
6
  var u = {
7
- generatedAt: "2026-11-23T10:15:54.431Z",
7
+ generatedAt: "2026-11-23T10:37:32.293Z",
8
8
  stats: {
9
9
  total: 315,
10
10
  byStatus: {
@@ -9676,7 +9676,7 @@ interface BreakType {
9676
9676
  * How the pieces are laid out. Both variants show the same day, run the same
9677
9677
  * state machine and use the same controls — only their arrangement differs.
9678
9678
  */
9679
- type ClockInControlsVariant = "default" | "horizontal-bar";
9679
+ type ClockInControlsVariant = "default" | "horizontal-bar" | "row";
9680
9680
  /** Everything both variants take, on the same terms. */
9681
9681
  interface ClockInControlsBaseProps {
9682
9682
  /** Optional remaining time in minutes */
@@ -9776,12 +9776,12 @@ interface ClockInControlsDefaultProps extends ClockInControlsBaseProps {
9776
9776
  projectId?: never;
9777
9777
  onChangeProjectId?: never;
9778
9778
  projectSelectorDisabled?: never;
9779
- /** Only the `horizontal-bar` variant owns the pickers, so only it can relax them. */
9779
+ /** Only the variants that own the pickers can relax them. */
9780
9780
  projectRequired?: never;
9781
9781
  locationRequired?: never;
9782
9782
  }
9783
9783
  /**
9784
- * The `horizontal-bar` variant, which owns BOTH selectors.
9784
+ * The `horizontal-bar` and `row` variants, which own BOTH selectors.
9785
9785
  *
9786
9786
  * The custom-render slots are typed away here (`never`) on purpose: this
9787
9787
  * arrangement puts the two pickers on one line with the day's controls, and a
@@ -9796,8 +9796,14 @@ interface ClockInControlsHorizontalBarProps extends ClockInControlsBaseProps {
9796
9796
  * one line, the day as a horizontal bar, when it started and what is left of
9797
9797
  * it, then the location and the controls. Fits a narrow rail, where the 160px
9798
9798
  * ring does not.
9799
+ *
9800
+ * `row` is the same day laid out for a WIDE column, such as the middle of a
9801
+ * Home: the time, one picker for where you work and on what, and the day's
9802
+ * buttons on a single line that never wraps, then the bar with when the day
9803
+ * started and what is left of it. The pickers become one control there, since
9804
+ * a row has room for one.
9799
9805
  */
9800
- variant: "horizontal-bar";
9806
+ variant: "horizontal-bar" | "row";
9801
9807
  /** Not available in this variant — pass `locations` and let it render them. */
9802
9808
  locationSelectorElement?: never;
9803
9809
  /** Not available in this variant — pass `projects` and let it render them. */