@factorialco/f0-react 14.12.1 → 14.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-11-13T13:59:21.354Z",
7
+ generatedAt: "2026-11-13T15:03:16.506Z",
8
8
  stats: {
9
9
  total: 314,
10
10
  byStatus: {
@@ -12813,11 +12813,21 @@ interface F0AgenticHomeProps {
12813
12813
  */
12814
12814
  onWidgetsCollapsedChange?: (collapsed: boolean) => void;
12815
12815
  /**
12816
- * Offers "Add widget": a plus at the foot of the widget strip, under a short
12817
- * divider. The host opens its catalog (`WidgetCatalog`) and adds what is
12818
- * picked to `widgets` — the Home only asks.
12816
+ * Offers "Add widget" in each of {@link addableWidgetContainers}: in the
12817
+ * rail, a plus at the foot of the widget strip, under a short divider; in
12818
+ * the main column, a dashed placeholder at its foot, as `NewHomeLayout`'s
12819
+ * columns have. Called with the column it was pressed in. The host opens its
12820
+ * catalog (`WidgetCatalog`) and adds what is picked — to `widgets` for the
12821
+ * rail, as a `widget` element of the spec for the main column. The Home only
12822
+ * asks.
12819
12823
  */
12820
- onClickAddWidget?: () => void;
12824
+ onClickAddWidget?: (side: WidgetContainerSide) => void;
12825
+ /**
12826
+ * Where {@link onClickAddWidget} offers "Add widget": `"right"`, the rail;
12827
+ * `"main"`, the foot of the main column. Defaults to `["right"]`, the rail
12828
+ * alone.
12829
+ */
12830
+ addableWidgetContainers?: WidgetContainerSide[];
12821
12831
  /**
12822
12832
  * Offers "Remove widget" in every unlocked widget's three-dots menu, after
12823
12833
  * the widget's own `actions` — as `NewHomeLayout` does. Called with the