@factorialco/f0-react 10.12.1 → 10.13.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-10-26T16:21:54.614Z",
7
+ generatedAt: "2026-10-26T17:26:17.626Z",
8
8
  stats: {
9
9
  total: 309,
10
10
  byStatus: {
@@ -11273,6 +11273,33 @@ interface F0AgenticHomeProps {
11273
11273
  * or focus. Omitted, there is no clock.
11274
11274
  */
11275
11275
  clockIn?: F0AgenticHomeClockIn;
11276
+ /**
11277
+ * The person's widgets, down the Home's right edge — the same items
11278
+ * `NewHomeLayout` takes for its rail, drawn with `slotRenderers`. The strip
11279
+ * is ALWAYS COLLAPSED: one glyph per widget (its `icon`, with an accent dot
11280
+ * for `hasUpdates`), and pointing at one or focusing it floats the widget out
11281
+ * to its left, centred on the glyph. Under the clock, centred on the Home's
11282
+ * height. Not on narrow screens, where there is no room beside the column.
11283
+ */
11284
+ widgets?: HomeWidgetItem[];
11285
+ /**
11286
+ * Offers "Add widget": a plus at the foot of the widget strip, under a short
11287
+ * divider. The host opens its catalog (`WidgetCatalog`) and adds what is
11288
+ * picked to `widgets` — the Home only asks.
11289
+ */
11290
+ onClickAddWidget?: () => void;
11291
+ /**
11292
+ * Offers "Remove widget" in every unlocked widget's three-dots menu, after
11293
+ * the widget's own `actions` — as `NewHomeLayout` does. Called with the
11294
+ * widget's id; the host takes it out of `widgets`.
11295
+ */
11296
+ onRemoveWidget?: (id: string) => void;
11297
+ /**
11298
+ * Offers "Edit params" in the menu of every widget that declares a
11299
+ * `paramsSchema` — as `NewHomeLayout` does. Called with the widget's id and
11300
+ * its new params; the host rebuilds the widget for them.
11301
+ */
11302
+ onChangeWidgetParams?: (id: string, params: WidgetParams) => void;
11276
11303
  /**
11277
11304
  * The data, resolved by the host from each data and widget element's
11278
11305
  * `source`, keyed by element id: the spec only says where it comes from.