@photon-ai/pho-ui 4.14.0 → 4.15.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
@@ -16,7 +16,7 @@ import { n as Es, t as _s } from "./chunks/date-picker-CZbcNIe-.js";
16
16
  import { n as ms, t as As } from "./chunks/copy-button-D8XyP0oR.js";
17
17
  import { a as Ts, c as ps, d as Rs, i as ls, l as Cs, n as us, o as Bs, r as fs, s as Ns, t as Ls, u as Ps } from "./chunks/sidebar-BP39w1iA.js";
18
18
  import { t as Ds } from "./chunks/input-fFWvPJOf.js";
19
- import { i as ds, n as Vs, r as gs, t as hs } from "./chunks/filter-bar-DuZXXvdm.js";
19
+ import { i as ds, n as Vs, r as gs, t as hs } from "./chunks/filter-bar-yEcG2pBm.js";
20
20
  import { i as Us } from "./chunks/data-table-hzZb7Otx.js";
21
21
  import { n as bs, t as Fs } from "./chunks/stat-hnNqjWVG.js";
22
22
  import { t as ks } from "./chunks/calendar-4OFiCLAv.js";
@@ -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-6dDfY33L.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";
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-6dDfY33L.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";
4
4
  export {
5
5
  D as AUTO_SAVE_DELAY_MS,
6
6
  B as BASIC_PAGE_CALLOUT,
@@ -3,18 +3,22 @@ import { ComponentProps, ReactNode, Ref } from 'react';
3
3
  * Filter Bar — the row that pins above a log list: a search field for an
4
4
  * id, then one chip per filter. A chip with nothing chosen reads
5
5
  * `+ Status`; with a value it reads `Status: Failed` and carries its own
6
- * clear. Each chip opens a small popover: a keyboard-first list of
7
- * options (with a search field past eight of them), or presets and a
8
- * from / to pair for a date range.
6
+ * clear. Each chip opens a menu: a keyboard-first list of options (with a
7
+ * search field past eight of them), or presets and a from / to pair for a
8
+ * date range.
9
9
  *
10
10
  * Design notes:
11
+ * - Built from the library's own controls, nothing bespoke: a chip is an
12
+ * outlined `Button` (the clear beside it another), and what it opens is a
13
+ * `Menu` — so a chip's menu wears the same hairline, shadow and
14
+ * origin-scaled entrance as every other menu, in both themes.
11
15
  * - Fully controlled. The page owns `filters` and `search` and hands
12
- * them back changed; the bar keeps no state but which popover is open.
16
+ * them back changed; the bar keeps no state but which menu is open.
13
17
  * That keeps the query in one place (the URL, a store) and lets the
14
18
  * list refetch from it.
15
19
  * - Chips are real buttons (the trigger, and the clear beside it), so
16
- * the bar is one tab stop per control and Escape closes a popover
17
- * back onto its chip.
20
+ * the bar is one tab stop per control and Escape closes a menu back
21
+ * onto its chip.
18
22
  * - No scroll container of its own: chips wrap. `sticky` pins it to the
19
23
  * top of the nearest scroll pane on the surface it sits on.
20
24
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/pho-ui",
3
- "version": "4.14.0",
3
+ "version": "4.15.0",
4
4
  "description": "Pho Design System — Photon's React component library, built on Base UI",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {