@photon-ai/pho-ui 4.15.0 → 4.16.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.
package/dist/index.js CHANGED
@@ -26,7 +26,7 @@ import { n as xs, t as zs } from "./chunks/card-N-tvFsuV.js";
26
26
  import { n as Ys, t as Zs } from "./chunks/dialog-12foDiQb.js";
27
27
  import { i as Js, n as Qs, r as qs, t as $s } from "./chunks/status-view-C8tabjDu.js";
28
28
  import { t as st } from "./chunks/description-list-8qm83WZB.js";
29
- import { a as rt, c as ot, d as et, f as it, i as St, l as Et, m as _t, n as nt, o as mt, p as At, r as It, s as Tt, t as pt, u as Rt } from "./chunks/basic-page-BHK781ky.js";
29
+ import { a as rt, c as ot, d as et, f as it, i as St, l as Et, m as _t, n as nt, o as mt, p as At, r as It, s as Tt, t as pt, u as Rt } from "./chunks/basic-page-C0C8NDjG.js";
30
30
  import { a as Ct, i as ut, n as Bt, o as ft, r as Nt, s as Lt, t as Pt } from "./chunks/chart-Dx3rjeFn.js";
31
31
  import "./components/chart.js";
32
32
  import { t as Ot } from "./chunks/bar-chart-By5gWQqP.js";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { i as s } from "../chunks/data-table-hzZb7Otx.js";
3
- import { a as E, c as a, d as C, f as S, i as I, l as e, m as o, n as B, o as P, p as N, r, s as t, t as D, u as R } from "../chunks/basic-page-BHK781ky.js";
3
+ import { a as E, c as a, d as C, f as S, i as I, l as e, m as o, n as B, o as P, p as N, r, s as t, t as D, u as R } from "../chunks/basic-page-C0C8NDjG.js";
4
4
  export {
5
5
  D as AUTO_SAVE_DELAY_MS,
6
6
  B as BASIC_PAGE_CALLOUT,
@@ -844,8 +844,19 @@ declare function Saved({ name, className, ...props }: Omit<ComponentProps<"outpu
844
844
  * label and hint; wrap other controls in `Field`. `Alert` and `Footer`
845
845
  * sit inside, at the bottom — unlike a `Card` of rows, a sheet keeps its
846
846
  * submit: the button's box lines up with the fields' edge.
847
+ *
848
+ * Height follows the sheet's contents on the page spring (the same
849
+ * measured path as `Card animateHeight`): a Reveal among the fields, an
850
+ * alert, or a row that grows never jumps the card.
847
851
  */
848
- declare function Fields({ className, ...props }: ComponentProps<"div"> & {
852
+ declare function Fields({ animateHeight, className, children, ...props }: ComponentProps<"div"> & {
853
+ /**
854
+ * Follow the contents' height on the page spring. Pass `false` for a
855
+ * sheet whose changes already move on springs of their own (a `Scope`'s
856
+ * list, a `Card animateHeight`): following them too, the sheet's edge
857
+ * trails a beat behind and clips what sits at its foot. @default true
858
+ */
859
+ animateHeight?: boolean;
849
860
  ref?: Ref<HTMLDivElement>;
850
861
  }): import("react").JSX.Element;
851
862
  /** Fields side by side from `sm` (a first and last name), stacked below. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/pho-ui",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
4
4
  "description": "Pho Design System — Photon's React component library, built on Base UI",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {