@photon-ai/pho-ui 2.17.0 → 4.0.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.
Files changed (46) hide show
  1. package/dist/chunks/{basic-page-CogcwGx3.js → basic-page-DlLTmGnH.js} +4 -4
  2. package/dist/chunks/{basic-page-CogcwGx3.js.map → basic-page-DlLTmGnH.js.map} +1 -1
  3. package/dist/chunks/calendar-4OFiCLAv.js +292 -0
  4. package/dist/chunks/calendar-4OFiCLAv.js.map +1 -0
  5. package/dist/chunks/data-table-BeUwsjmX.js +297 -0
  6. package/dist/chunks/data-table-BeUwsjmX.js.map +1 -0
  7. package/dist/chunks/date-picker-DnQuw-B1.js +404 -0
  8. package/dist/chunks/date-picker-DnQuw-B1.js.map +1 -0
  9. package/dist/chunks/{error-D0yoFxCv.js → error-BAQgnde7.js} +2 -2
  10. package/dist/chunks/{error-D0yoFxCv.js.map → error-BAQgnde7.js.map} +1 -1
  11. package/dist/chunks/{filter-bar-BsvdXwzc.js → filter-bar-D9lBBr4z.js} +2 -2
  12. package/dist/chunks/{filter-bar-BsvdXwzc.js.map → filter-bar-D9lBBr4z.js.map} +1 -1
  13. package/dist/chunks/{ghost-search-BvBFa9su.js → ghost-search-AmVXd0zE.js} +2 -2
  14. package/dist/chunks/{ghost-search-BvBFa9su.js.map → ghost-search-AmVXd0zE.js.map} +1 -1
  15. package/dist/chunks/trace-Hku-rImp.js +1706 -0
  16. package/dist/chunks/trace-Hku-rImp.js.map +1 -0
  17. package/dist/components/calendar.js +5 -0
  18. package/dist/components/data-table.js +2 -2
  19. package/dist/components/date-picker.js +6 -0
  20. package/dist/components/error.js +1 -1
  21. package/dist/components/filter-bar.js +1 -1
  22. package/dist/components/phone-input.js +3 -3
  23. package/dist/components/phone-input.js.map +1 -1
  24. package/dist/components/trace.js +38 -37
  25. package/dist/index.js +141 -142
  26. package/dist/primitives.js +1 -1
  27. package/dist/sections/basic-page.js +2 -2
  28. package/dist/src/components/calendar/calendar.d.ts +36 -0
  29. package/dist/src/components/calendar/index.d.ts +2 -0
  30. package/dist/src/components/data-table/data-table.d.ts +8 -6
  31. package/dist/src/components/date-picker/date-picker.d.ts +110 -0
  32. package/dist/src/components/date-picker/index.d.ts +2 -0
  33. package/dist/src/components/trace/index.d.ts +1 -1
  34. package/dist/src/components/trace/layout.d.ts +11 -5
  35. package/dist/src/components/trace/trace.d.ts +5 -27
  36. package/dist/src/index.d.ts +2 -1
  37. package/package.json +10 -5
  38. package/dist/chunks/data-table-DcwCgXJU.js +0 -293
  39. package/dist/chunks/data-table-DcwCgXJU.js.map +0 -1
  40. package/dist/chunks/date-range-picker-DwFDUNRL.js +0 -88
  41. package/dist/chunks/date-range-picker-DwFDUNRL.js.map +0 -1
  42. package/dist/chunks/trace-Ba1RMBfk.js +0 -1645
  43. package/dist/chunks/trace-Ba1RMBfk.js.map +0 -1
  44. package/dist/components/date-range-picker.js +0 -10
  45. package/dist/src/components/date-range-picker/date-range-picker.d.ts +0 -31
  46. package/dist/src/components/date-range-picker/index.d.ts +0 -1
@@ -1,44 +1,45 @@
1
1
  "use client";
2
- import { A as s, B as e, C as i, D as n, E as r, F as l, I as t, L as o, M as p, N as c, O as T, P as I, R as S, S as m, T as u, _ as d, a as v, b, c as w, d as V, f, g as D, h as _, i as x, j as L, k as g, l as k, m as A, n as E, o as F, p as N, r as z, s as B, t as O, u as P, v as R, w as W, x as y, y as C, z as G } from "../chunks/trace-Ba1RMBfk.js";
2
+ import { A as s, B as e, C as i, D as n, E as l, F as r, I as t, L as o, M as p, N as c, O as T, P as u, R as I, S, T as m, V as d, _ as v, a as b, b as V, c as w, d as f, f as D, g as L, h as _, i as k, j as x, k as g, l as A, m as E, n as F, o as N, p as y, r as z, s as B, t as O, u as P, v as R, w as W, x as C, y as G, z as K } from "../chunks/trace-Hku-rImp.js";
3
3
  export {
4
- m as FULL_VIEW,
5
- f as GEN_AI_KINDS,
6
- i as MIN_VIEW_WIDTH,
7
- C as SpanPrimitive,
4
+ i as FULL_VIEW,
5
+ y as GEN_AI_KINDS,
6
+ W as MIN_VIEW_WIDTH,
7
+ V as SpanPrimitive,
8
8
  O as Trace,
9
- W as allCollapsed,
10
- u as ancestorIds,
11
- N as attribute,
12
- A as attributeText,
13
- x as axisTicks,
14
- v as barGeometry,
15
- r as buildSpanTree,
16
- n as clampView,
17
- T as collapseAllIds,
18
- g as collapseOneLevel,
19
- s as deriveSpanTree,
20
- L as expandOneLevel,
21
- p as filterSpans,
22
- E as footerTotals,
23
- F as formatDuration,
9
+ m as allCollapsed,
10
+ l as ancestorIds,
11
+ E as attribute,
12
+ _ as attributeText,
13
+ k as axisTicks,
14
+ b as barGeometry,
15
+ n as buildSpanTree,
16
+ T as clampView,
17
+ g as collapseAllIds,
18
+ s as collapseOneLevel,
19
+ x as deriveSpanTree,
20
+ p as expandOneLevel,
21
+ c as filterSpans,
22
+ F as footerTotals,
23
+ N as formatDuration,
24
24
  B as formatTick,
25
- _ as genAIKind,
26
- c as isFullView,
25
+ L as genAIKind,
26
+ u as isFullView,
27
27
  w as labeledTicks,
28
- k as niceStep,
29
- P as normalizeSpans,
30
- I as panView,
31
- D as peerService,
32
- d as spanDecorationIcon,
33
- V as spanDuration,
34
- R as spanPills,
35
- l as spanTimelineBarVars,
28
+ A as layoutTickLabels,
29
+ P as niceStep,
30
+ f as normalizeSpans,
31
+ r as panView,
32
+ v as peerService,
33
+ R as spanDecorationIcon,
34
+ D as spanDuration,
35
+ G as spanPills,
36
+ t as spanTimelineBarVars,
36
37
  z as traceBulletInset,
37
- t as traceRange,
38
- b as useSpan,
39
- y as useSpanTree,
40
- o as viewFraction,
41
- S as viewToRange,
42
- G as visibleSpans,
43
- e as zoomView
38
+ o as traceRange,
39
+ C as useSpan,
40
+ S as useSpanTree,
41
+ I as viewFraction,
42
+ K as viewToRange,
43
+ e as visibleSpans,
44
+ d as zoomView
44
45
  };
package/dist/index.js CHANGED
@@ -2,184 +2,183 @@
2
2
  import { t as s } from "./chunks/cn-ChIgwEl3.js";
3
3
  import { t as r } from "./chunks/is-react-component-DSnjtBmo.js";
4
4
  import { t as e } from "./chunks/resolve-variant-CcD8iG5l.js";
5
- import { n as i, t as S } from "./chunks/link-provider-DXzDQ08N.js";
6
- import { BAR_RISE_PX as n, BLUR_PX as m, EASE_POP as T, EASE_STACK as I, FADE_ENTRANCE as A, FADE_SWAP as R, PRESS_SCALE as p, PRESS_SCALE_ROW as l, RISE_PX as C, SPRING_ENTRANCE as B, SPRING_PRESS as f, SPRING_PRESS_INLINE as N, SPRING_PRESS_QUICK as u, SPRING_SETTLE as P, TRAVEL_LINEAR as D, fadeThroughBlur as L, riseIn as c } from "./motion.js";
5
+ import { n as E, t as S } from "./chunks/link-provider-DXzDQ08N.js";
6
+ import { BAR_RISE_PX as n, BLUR_PX as m, EASE_POP as I, EASE_STACK as T, FADE_ENTRANCE as p, FADE_SWAP as A, PRESS_SCALE as R, PRESS_SCALE_ROW as l, RISE_PX as C, SPRING_ENTRANCE as B, SPRING_PRESS as f, SPRING_PRESS_INLINE as N, SPRING_PRESS_QUICK as P, SPRING_SETTLE as u, TRAVEL_LINEAR as L, fadeThroughBlur as c, riseIn as D } from "./motion.js";
7
7
  import { n as V, r as d, t as U } from "./chunks/use-press-pulse-IbNstUT0.js";
8
- import { n as g, t as M } from "./chunks/use-copy-D6JwKUll.js";
8
+ import { n as b, t as F } from "./chunks/use-copy-D6JwKUll.js";
9
9
  import "./utils.js";
10
- import { a as h, c as v, d as k, i as w, l as W, n as x, o as H, r as z, s as K, t as X, u as y } from "./chunks/button-CdqS_t5a.js";
11
- import { a as Z, c as j, i as J, l as Q, n as q, o as $, r as aa, s as sa, t as ta } from "./chunks/error-D0yoFxCv.js";
12
- import { A as oa, B as ea, C as Ea, D as ia, E as Sa, F as _a, I as na, L as ma, M as Ta, N as Ia, O as Aa, P as Ra, R as pa, S as la, T as Ca, _ as Ba, a as fa, b as Na, c as ua, d as Pa, f as Da, g as La, h as ca, i as Oa, j as Va, k as da, l as Ua, m as Ga, n as ga, o as Ma, p as Fa, r as ba, s as ha, t as va, u as ka, v as wa, w as Wa, x as xa, y as Ha, z as za } from "./chunks/trace-Ba1RMBfk.js";
13
- import { n as Xa, t as ya } from "./chunks/copy-button-B_B15mEi.js";
14
- import { a as Za, c as ja, d as Ja, i as Qa, l as qa, n as $a, o as as, r as ss, s as ts, t as rs, u as os } from "./chunks/sidebar-DRPe5CAh.js";
15
- import { t as Es } from "./chunks/input-DjvZoF8v.js";
16
- import { i as Ss, n as _s, r as ns, t as ms } from "./chunks/filter-bar-BsvdXwzc.js";
17
- import { a as Is } from "./chunks/data-table-DcwCgXJU.js";
18
- import { n as Rs, t as ps } from "./chunks/code-block-BuDIo8Q0.js";
19
- import { n as Cs, t as Bs } from "./chunks/stat-hnNqjWVG.js";
20
- import { t as Ns } from "./chunks/close-button-GvqWbLl0.js";
21
- import { a as Ps, i as Ds, n as Ls, o as cs, r as Os, t as Vs } from "./chunks/date-range-picker-DwFDUNRL.js";
22
- import { t as Us } from "./chunks/input-group-fc9_jD4d.js";
23
- import { n as gs, t as Ms } from "./chunks/card-DhDwtSi9.js";
24
- import { n as bs, t as hs } from "./chunks/dialog-BwfUFn6B.js";
25
- import { i as ks, n as ws, r as Ws, t as xs } from "./chunks/status-view-C8tabjDu.js";
26
- import { a as zs, c as Ks, d as Xs, f as ys, i as Ys, l as Zs, m as js, n as Js, o as Qs, p as qs, r as $s, s as at, t as st, u as tt } from "./chunks/basic-page-CogcwGx3.js";
27
- import { i as ot, n as et, r as Et, t as it } from "./chunks/legend-C0mU7dqd.js";
10
+ import { a as h, c as k, d as v, i as w, l as W, n as x, o as H, r as y, s as z, t as K, u as X } from "./chunks/button-CdqS_t5a.js";
11
+ import { a as Z, c as j, i as J, l as Q, n as q, o as $, r as aa, s as sa, t as ta } from "./chunks/error-BAQgnde7.js";
12
+ import { A as oa, B as ea, C as ia, D as Ea, E as Sa, F as _a, I as na, L as ma, M as Ia, N as Ta, O as pa, P as Aa, R as Ra, S as la, T as Ca, V as Ba, _ as fa, a as Na, b as Pa, c as ua, d as La, f as ca, g as Da, h as Oa, i as Va, j as da, k as Ua, l as Ga, m as ba, n as Fa, o as Ma, p as ga, r as ha, s as ka, t as va, u as wa, v as Wa, w as xa, x as Ha, y as ya, z as za } from "./chunks/trace-Hku-rImp.js";
13
+ import { n as Xa, t as Ya } from "./chunks/date-picker-DnQuw-B1.js";
14
+ import { n as ja, t as Ja } from "./chunks/copy-button-B_B15mEi.js";
15
+ import { a as qa, c as $a, d as as, i as ss, l as ts, n as rs, o as os, r as es, s as is, t as Es, u as Ss } from "./chunks/sidebar-DRPe5CAh.js";
16
+ import { t as ns } from "./chunks/input-DjvZoF8v.js";
17
+ import { i as Is, n as Ts, r as ps, t as As } from "./chunks/filter-bar-D9lBBr4z.js";
18
+ import { a as ls } from "./chunks/data-table-BeUwsjmX.js";
19
+ import { n as Bs, t as fs } from "./chunks/code-block-BuDIo8Q0.js";
20
+ import { n as Ps, t as us } from "./chunks/stat-hnNqjWVG.js";
21
+ import { t as cs } from "./chunks/calendar-4OFiCLAv.js";
22
+ import { t as Os } from "./chunks/close-button-GvqWbLl0.js";
23
+ import { t as ds } from "./chunks/input-group-fc9_jD4d.js";
24
+ import { n as Gs, t as bs } from "./chunks/card-DhDwtSi9.js";
25
+ import { n as Ms, t as gs } from "./chunks/dialog-BwfUFn6B.js";
26
+ import { i as ks, n as vs, r as ws, t as Ws } from "./chunks/status-view-C8tabjDu.js";
27
+ import { a as Hs, c as ys, d as zs, f as Ks, i as Xs, l as Ys, m as Zs, n as js, o as Js, p as Qs, r as qs, s as $s, t as at, u as st } from "./chunks/basic-page-DlLTmGnH.js";
28
+ import { i as rt, n as ot, r as et, t as it } from "./chunks/legend-C0mU7dqd.js";
28
29
  import "./components/chart.js";
29
- import { t as nt } from "./chunks/bar-chart-DIALC2_z.js";
30
- import { t as Tt } from "./chunks/line-chart-VuMYKzW3.js";
31
- import { i as At, n as Rt, r as pt, t as lt } from "./chunks/log-list-BERiO4UJ.js";
32
- import { t as Bt } from "./chunks/description-list-C-mwe4ki.js";
30
+ import { t as _t } from "./chunks/bar-chart-DIALC2_z.js";
31
+ import { t as mt } from "./chunks/line-chart-VuMYKzW3.js";
32
+ import { i as Tt, n as pt, r as At, t as Rt } from "./chunks/log-list-BERiO4UJ.js";
33
+ import { t as Ct } from "./chunks/description-list-C-mwe4ki.js";
33
34
  export {
34
- st as AUTO_SAVE_DELAY_MS,
35
+ at as AUTO_SAVE_DELAY_MS,
35
36
  n as BAR_RISE_PX,
36
- Js as BASIC_PAGE_CALLOUT,
37
- $s as BASIC_PAGE_CARD,
38
- Ys as BASIC_PAGE_ITEM,
39
- zs as BASIC_PAGE_ITEM_PANEL,
40
- Qs as BASIC_PAGE_ITEM_PANEL_DIVIDED,
41
- at as BASIC_PAGE_ROW,
37
+ js as BASIC_PAGE_CALLOUT,
38
+ qs as BASIC_PAGE_CARD,
39
+ Xs as BASIC_PAGE_ITEM,
40
+ Hs as BASIC_PAGE_ITEM_PANEL,
41
+ Js as BASIC_PAGE_ITEM_PANEL_DIVIDED,
42
+ $s as BASIC_PAGE_ROW,
42
43
  m as BLUR_PX,
43
- X as BUTTON_COLORS,
44
+ K as BUTTON_COLORS,
44
45
  x as BUTTON_SHAPES,
45
- z as BUTTON_SIZES,
46
+ y as BUTTON_SIZES,
46
47
  w as BUTTON_VARIANTS,
47
- nt as BarChart,
48
- Ks as BasicPage,
48
+ _t as BarChart,
49
+ ys as BasicPage,
49
50
  h as Button,
50
51
  H as ButtonLink,
51
- Ms as CARD_SURFACE,
52
- Et as CHART_SLOTS,
53
- Zs as CONDENSE_BAR_ENTER,
54
- tt as CONDENSE_BAR_RISE_PX,
55
- Xs as CONDENSE_BAR_TRAVEL,
52
+ bs as CARD_SURFACE,
53
+ et as CHART_SLOTS,
54
+ Ys as CONDENSE_BAR_ENTER,
55
+ st as CONDENSE_BAR_RISE_PX,
56
+ zs as CONDENSE_BAR_TRAVEL,
56
57
  U as CONTROL_PRESS_SCALE,
57
58
  V as CONTROL_PRESS_SPRING,
58
- ya as COPY_BUTTON_SIZES,
59
- M as COPY_FEEDBACK_MS,
60
- gs as Card,
59
+ Ja as COPY_BUTTON_SIZES,
60
+ F as COPY_FEEDBACK_MS,
61
+ cs as Calendar,
62
+ Gs as Card,
61
63
  it as ChartLegend,
62
- et as ChartSwatch,
63
- Ns as CloseButton,
64
- ps as CodeBlock,
65
- Xa as CopyButton,
66
- Vs as DateRangePicker,
67
- Bt as DescriptionList,
68
- hs as Dialog,
69
- T as EASE_POP,
70
- I as EASE_STACK,
71
- K as EFFECT_BUTTON_SIZES,
72
- v as EffectButton,
64
+ ot as ChartSwatch,
65
+ Os as CloseButton,
66
+ fs as CodeBlock,
67
+ ja as CopyButton,
68
+ Ya as DatePicker,
69
+ Ct as DescriptionList,
70
+ gs as Dialog,
71
+ I as EASE_POP,
72
+ T as EASE_STACK,
73
+ z as EFFECT_BUTTON_SIZES,
74
+ k as EffectButton,
73
75
  W as EffectButtonLink,
74
76
  ta as Error,
75
77
  q as ErrorView,
76
- A as FADE_ENTRANCE,
77
- R as FADE_SWAP,
78
- ms as FILTER_DATE_PRESETS,
79
- la as FULL_VIEW,
80
- _s as FilterBar,
78
+ p as FADE_ENTRANCE,
79
+ A as FADE_SWAP,
80
+ As as FILTER_DATE_PRESETS,
81
+ ia as FULL_VIEW,
82
+ Ts as FilterBar,
81
83
  aa as GENERIC_ERROR_TITLE,
82
- Da as GEN_AI_KINDS,
83
- Es as Input,
84
- Us as InputGroup,
85
- Tt as LineChart,
84
+ ga as GEN_AI_KINDS,
85
+ ns as Input,
86
+ ds as InputGroup,
87
+ mt as LineChart,
86
88
  S as LinkProvider,
87
- lt as LogList,
88
- Ls as MAX_DATE_RANGE_MS,
89
- Ea as MIN_VIEW_WIDTH,
90
- p as PRESS_SCALE,
89
+ Rt as LogList,
90
+ xa as MIN_VIEW_WIDTH,
91
+ R as PRESS_SCALE,
91
92
  l as PRESS_SCALE_ROW,
92
93
  C as RISE_PX,
93
- rs as SIDEBAR_HEADER_INSET,
94
- $a as SIDEBAR_ITEM,
95
- ss as SIDEBAR_ITEM_ACTIVE,
96
- Qa as SIDEBAR_ITEM_INACTIVE,
97
- Za as SIDEBAR_ROOT,
98
- as as SIDEBAR_ROOT_BASE,
99
- ts as SIDEBAR_ROOT_INSET,
100
- ja as SIDEBAR_SUBMENU_CHEVRON,
101
- qa as SIDEBAR_SUBMENU_LIST_INDENT,
102
- os as SIDEBAR_SUBMENU_TRIGGER_CHILD_ACTIVE,
94
+ Es as SIDEBAR_HEADER_INSET,
95
+ rs as SIDEBAR_ITEM,
96
+ es as SIDEBAR_ITEM_ACTIVE,
97
+ ss as SIDEBAR_ITEM_INACTIVE,
98
+ qa as SIDEBAR_ROOT,
99
+ os as SIDEBAR_ROOT_BASE,
100
+ is as SIDEBAR_ROOT_INSET,
101
+ $a as SIDEBAR_SUBMENU_CHEVRON,
102
+ ts as SIDEBAR_SUBMENU_LIST_INDENT,
103
+ Ss as SIDEBAR_SUBMENU_TRIGGER_CHILD_ACTIVE,
103
104
  B as SPRING_ENTRANCE,
104
105
  f as SPRING_PRESS,
105
106
  N as SPRING_PRESS_INLINE,
106
- u as SPRING_PRESS_QUICK,
107
- P as SPRING_SETTLE,
108
- xs as STATUS_VIEW,
109
- ws as STATUS_VIEW_COPY,
110
- Ws as STATUS_VIEW_SIZES,
111
- Ja as Sidebar,
112
- Ha as SpanPrimitive,
113
- Bs as Stat,
114
- Cs as StatGroup,
107
+ P as SPRING_PRESS_QUICK,
108
+ u as SPRING_SETTLE,
109
+ Ws as STATUS_VIEW,
110
+ vs as STATUS_VIEW_COPY,
111
+ ws as STATUS_VIEW_SIZES,
112
+ as as Sidebar,
113
+ Pa as SpanPrimitive,
114
+ us as Stat,
115
+ Ps as StatGroup,
115
116
  ks as StatusView,
116
- D as TRAVEL_LINEAR,
117
+ L as TRAVEL_LINEAR,
117
118
  va as Trace,
118
- Wa as allCollapsed,
119
- Ca as ancestorIds,
120
- Fa as attribute,
121
- Ga as attributeText,
122
- Oa as axisTicks,
123
- fa as barGeometry,
124
- Sa as buildSpanTree,
125
- y as buttonVariants,
119
+ Ca as allCollapsed,
120
+ Sa as ancestorIds,
121
+ ba as attribute,
122
+ Oa as attributeText,
123
+ Va as axisTicks,
124
+ Na as barGeometry,
125
+ Ea as buildSpanTree,
126
+ X as buttonVariants,
126
127
  J as capitalizeFirst,
127
- ot as chartColor,
128
- ia as clampView,
128
+ rt as chartColor,
129
+ pa as clampView,
129
130
  s as cn,
130
- Aa as collapseAllIds,
131
- da as collapseOneLevel,
132
- Is as createColumns,
133
- Os as dateRangeError,
134
- oa as deriveSpanTree,
131
+ Ua as collapseAllIds,
132
+ oa as collapseOneLevel,
133
+ ls as createColumns,
134
+ da as deriveSpanTree,
135
135
  Z as describeError,
136
- k as effectButtonVariants,
137
- Va as expandOneLevel,
138
- L as fadeThroughBlur,
136
+ v as effectButtonVariants,
137
+ Ia as expandOneLevel,
138
+ c as fadeThroughBlur,
139
139
  Ta as filterSpans,
140
- ga as footerTotals,
141
- ys as formToasts,
142
- Ds as formatDateRangeLabel,
140
+ Fa as footerTotals,
141
+ Ks as formToasts,
142
+ Xa as formatDateLabel,
143
143
  Ma as formatDuration,
144
- ns as formatFilterValue,
145
- ha as formatTick,
146
- Ps as fromDateTimeLocalValue,
147
- ca as genAIKind,
144
+ ps as formatFilterValue,
145
+ ka as formatTick,
146
+ Da as genAIKind,
148
147
  $ as httpReasonPhrase,
149
148
  sa as httpStatusExplanation,
150
- Ss as isFilterSet,
151
- Ia as isFullView,
149
+ Is as isFilterSet,
150
+ Aa as isFullView,
152
151
  j as isProblem,
153
152
  r as isReactComponent,
154
153
  ua as labeledTicks,
155
- Rt as logStatusColor,
156
- pt as logStatusLabel,
157
- Ua as niceStep,
158
- ka as normalizeSpans,
159
- Ra as panView,
154
+ Ga as layoutTickLabels,
155
+ pt as logStatusColor,
156
+ At as logStatusLabel,
157
+ wa as niceStep,
158
+ La as normalizeSpans,
159
+ _a as panView,
160
160
  Q as parseProblem,
161
- La as peerService,
161
+ fa as peerService,
162
162
  e as resolveVariant,
163
- c as riseIn,
164
- Ba as spanDecorationIcon,
165
- Pa as spanDuration,
166
- wa as spanPills,
167
- _a as spanTimelineBarVars,
168
- cs as toDateTimeLocalValue,
169
- Rs as tokenizeJson,
170
- ba as traceBulletInset,
171
- na as traceRange,
172
- At as truncateMiddle,
173
- qs as useAutoSave,
174
- js as useCondense,
175
- g as useCopy,
176
- bs as useDialogPending,
177
- i as useLinkComponent,
163
+ D as riseIn,
164
+ Wa as spanDecorationIcon,
165
+ ca as spanDuration,
166
+ ya as spanPills,
167
+ na as spanTimelineBarVars,
168
+ Bs as tokenizeJson,
169
+ ha as traceBulletInset,
170
+ ma as traceRange,
171
+ Tt as truncateMiddle,
172
+ Qs as useAutoSave,
173
+ Zs as useCondense,
174
+ b as useCopy,
175
+ Ms as useDialogPending,
176
+ E as useLinkComponent,
178
177
  d as usePressPulse,
179
- Na as useSpan,
180
- xa as useSpanTree,
181
- ma as viewFraction,
182
- pa as viewToRange,
183
- za as visibleSpans,
184
- ea as zoomView
178
+ Ha as useSpan,
179
+ la as useSpanTree,
180
+ Ra as viewFraction,
181
+ za as viewToRange,
182
+ ea as visibleSpans,
183
+ Ba as zoomView
185
184
  };
@@ -40,11 +40,11 @@ import "./primitives/toggle.js";
40
40
  import "./primitives/toggle-group.js";
41
41
  import "./primitives/toolbar.js";
42
42
  import "./primitives/tooltip.js";
43
+ export * from "@base-ui/react/popover";
43
44
  export * from "@base-ui/react/field";
44
45
  export * from "@base-ui/react/separator";
45
46
  export * from "@base-ui/react/dialog";
46
47
  export * from "@base-ui/react/scroll-area";
47
- export * from "@base-ui/react/popover";
48
48
  export * from "@base-ui/react/collapsible";
49
49
  export * from "@base-ui/react/avatar";
50
50
  export * from "@base-ui/react/form";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { a as s } from "../chunks/data-table-DcwCgXJU.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-CogcwGx3.js";
2
+ import { a as s } from "../chunks/data-table-BeUwsjmX.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-DlLTmGnH.js";
4
4
  export {
5
5
  D as AUTO_SAVE_DELAY_MS,
6
6
  B as BASIC_PAGE_CALLOUT,
@@ -0,0 +1,36 @@
1
+ import { DayPickerProps } from 'react-day-picker';
2
+ export type CalendarProps = DayPickerProps & {
3
+ /**
4
+ * The word on the button back to today, used as its label and its tooltip.
5
+ * @default "Today"
6
+ */
7
+ todayLabel?: string;
8
+ };
9
+ /**
10
+ * Calendar built on React DayPicker — a month of days to read or to choose
11
+ * from. Pass `mode` to make it selectable (`single`, `multiple`, `range`);
12
+ * without one it is a static month. Every DayPicker prop passes through, so
13
+ * `numberOfMonths`, `disabled`, `startMonth` / `endMonth`, `captionLayout`,
14
+ * and the locale props all work as documented upstream.
15
+ *
16
+ * Pho supplies the whole class map, so the library's stylesheet is neither
17
+ * imported nor needed. `classNames` and `components` merge over Pho's,
18
+ * element by element.
19
+ *
20
+ * The caption is clickable: month and year each open a jump list, so a date
21
+ * two years out is two taps rather than twenty-four. Pass
22
+ * `captionLayout="label"` for a caption that only reads, and `startMonth` /
23
+ * `endMonth` to say how far the year list should reach. Between the month
24
+ * arrows sits a way back to today's month.
25
+ *
26
+ * Selection follows DayPicker's own contract: hand it `onSelect` and the
27
+ * calendar is controlled, so `selected` has to come with it. Leave both off
28
+ * and it keeps the selection itself.
29
+ *
30
+ * For a calendar behind a field — a trigger that shows the chosen date and
31
+ * opens this in a popover — use `DatePicker`.
32
+ */
33
+ export declare function Calendar({ className, classNames, components, showOutsideDays, captionLayout, startMonth, endMonth, todayLabel, ...props }: CalendarProps): import("react").JSX.Element;
34
+ export declare namespace Calendar {
35
+ var displayName: string;
36
+ }
@@ -0,0 +1,2 @@
1
+ export { Calendar, type CalendarProps } from './calendar';
2
+ export type { DateRange, Matcher } from 'react-day-picker';
@@ -77,13 +77,13 @@ declare const features: {
77
77
  columnMeta: DataTableColumnMeta;
78
78
  };
79
79
  export type DataTableFeatures = typeof features;
80
- /** Body row height — header stays `h-10` on every size. */
80
+ /** Body row height — the header keeps its own `h-10` on every size. */
81
81
  export declare const DATA_TABLE_SIZES: {
82
82
  sm: {
83
83
  classes: string;
84
84
  description: string;
85
85
  };
86
- md: {
86
+ base: {
87
87
  classes: string;
88
88
  description: string;
89
89
  };
@@ -218,10 +218,12 @@ export interface DataTableProps<TData extends RowData> extends Omit<ComponentPro
218
218
  */
219
219
  layout?: "auto" | "fixed";
220
220
  /**
221
- * Body row height. `md` (the default) is 48px — one line of body type.
222
- * `sm` is 40px, the header's own height, for a dense list scanned more
223
- * than read. `lg` is 56px, for a two-line cell (a number and a caption)
224
- * that would crowd `md`. The header row stays 40px on every size.
221
+ * Body row height and the type that comes with it. `base` (the default)
222
+ * is 48px rows at 14px — one line of body type. `sm` is 40px at 13px,
223
+ * the header's own height, for a dense list scanned more than read.
224
+ * `lg` is 56px at 16px, for a two-line cell (a number and a caption)
225
+ * that would crowd `base`. The header row keeps its 40px on every size
226
+ * and follows the type.
225
227
  */
226
228
  size?: DataTableSize;
227
229
  ref?: Ref<HTMLDivElement>;
@@ -0,0 +1,110 @@
1
+ import { ReactNode } from 'react';
2
+ import { DateRange, PropsBase } from 'react-day-picker';
3
+ import { InputSize } from '../input';
4
+ /** The trigger wears Input's sizes so the two line up in one form. */
5
+ export type DatePickerSize = InputSize;
6
+ /**
7
+ * How fine the time is asked for, and read back. Omit it for a date alone.
8
+ * The value is always a `Date`; the granularity says which of its parts the
9
+ * viewer sets, and everything below is zeroed.
10
+ */
11
+ export type DatePickerTime = "hour" | "minute" | "second";
12
+ /**
13
+ * The shape to type, in this locale's own order — `mm/dd/yyyy`,
14
+ * `yyyy-mm-dd`, `dd.mm.yyyy`. Lowercase, the way a browser's own date field
15
+ * writes it, so the two paths read alike.
16
+ */
17
+ export declare function dateFieldMask(locales?: Intl.LocalesArgument, time?: DatePickerTime): string;
18
+ /**
19
+ * The figures in the field — `09/12/2026`, or `09/10/2026 – 09/13/2026` for a
20
+ * span, in the viewer's locale. An empty or half-finished range prints just
21
+ * the day that is settled; nothing selected prints nothing. Pass `time` to
22
+ * print the clock too, at the precision that was asked for.
23
+ *
24
+ * Figures rather than words (`Sep 12, 2026`) because the field is typed into:
25
+ * a month's name is the one part of a date nobody wants to spell.
26
+ */
27
+ export declare function formatDateLabel(value: Date | DateRange | undefined, locales?: Intl.LocalesArgument, time?: DatePickerTime): string;
28
+ /**
29
+ * A window the page offers by name — `Last 7 days` — beside the calendar.
30
+ * Pass a function for anything measured from now, so it is resolved at the
31
+ * click rather than at render.
32
+ */
33
+ export interface DatePickerPreset<T> {
34
+ label: string;
35
+ value: T | (() => T);
36
+ }
37
+ interface DatePickerBaseProps {
38
+ /** Field label (associated for accessibility). */
39
+ label?: ReactNode;
40
+ /** Helper text below the field; rendered in the error color when `invalid`. */
41
+ hint?: ReactNode;
42
+ /**
43
+ * What the field shows until something is chosen.
44
+ * @default the shape to type, in this locale's order (`mm/dd/yyyy`)
45
+ */
46
+ placeholder?: string;
47
+ /** Render the invalid state (error ring + error-colored hint). */
48
+ invalid?: boolean;
49
+ disabled?: boolean;
50
+ /** Marks the label with the required asterisk. */
51
+ required?: boolean;
52
+ /** Size variant. @default "md" */
53
+ size?: DatePickerSize;
54
+ /**
55
+ * Ask for a time as well as a day, this fine. `hour` sets the hour and
56
+ * zeroes the rest, `minute` the hour and minute, `second` all three. Omit
57
+ * it and the value is midnight on the chosen day.
58
+ */
59
+ time?: DatePickerTime;
60
+ /** Locale for the trigger's words. Defaults to the viewer's. */
61
+ locales?: Intl.LocalesArgument;
62
+ /**
63
+ * Everything else React DayPicker takes — `disabled` days, `startMonth` /
64
+ * `endMonth`, `numberOfMonths`, `weekStartsOn`, `captionLayout`.
65
+ */
66
+ calendarProps?: PropsBase;
67
+ /** Id for the trigger, if the page needs its own. */
68
+ id?: string;
69
+ /** Class applied to the trigger. */
70
+ className?: string;
71
+ }
72
+ export interface DatePickerSingleProps extends DatePickerBaseProps {
73
+ /** @default "single" */
74
+ mode?: "single";
75
+ value?: Date;
76
+ defaultValue?: Date;
77
+ onValueChange?: (value: Date | undefined) => void;
78
+ /** Named days offered beside the calendar. */
79
+ presets?: DatePickerPreset<Date>[];
80
+ }
81
+ export interface DatePickerRangeProps extends DatePickerBaseProps {
82
+ mode: "range";
83
+ value?: DateRange;
84
+ defaultValue?: DateRange;
85
+ onValueChange?: (value: DateRange | undefined) => void;
86
+ /** Named windows offered beside the calendar — `Last 7 days`, and so on. */
87
+ presets?: DatePickerPreset<DateRange>[];
88
+ }
89
+ export type DatePickerProps = DatePickerSingleProps | DatePickerRangeProps;
90
+ /**
91
+ * Date Picker — a field that shows the chosen date and opens a `Calendar` to
92
+ * change it. `mode="range"` picks a span instead of a day; the popover stays
93
+ * open until both ends are down.
94
+ *
95
+ * The value is a `Date` (or a `{ from, to }` range), never a string: pass
96
+ * `value` to control it, `defaultValue` to let it keep its own. Clearing is
97
+ * built in — clicking the chosen day again unsets it.
98
+ *
99
+ * `time` asks for the clock as well, to the hour, the minute, or the second.
100
+ *
101
+ * On a touch device the field hands off to the system picker — the OS wheel or
102
+ * dialog, which people already know — as long as the rules the page set are
103
+ * ones it can enforce. A weekday rule or a predicate keeps the calendar, which
104
+ * can; so does `mode="range"`, which no system picker offers.
105
+ */
106
+ export declare function DatePicker(props: DatePickerProps): import("react").JSX.Element;
107
+ export declare namespace DatePicker {
108
+ var displayName: string;
109
+ }
110
+ export {};
@@ -0,0 +1,2 @@
1
+ export { DatePicker, formatDateLabel, type DatePickerProps, type DatePickerSingleProps, type DatePickerRangeProps, type DatePickerSize, } from './date-picker';
2
+ export type { DateRange } from 'react-day-picker';
@@ -2,4 +2,4 @@ export { Trace, traceBulletInset, footerTotals, type TraceWaterfallProps, type T
2
2
  export { SpanPrimitive, useSpan, useSpanTree, type SpanTreeContextValue, type SpanProviderProps, type SpanChildrenProps, type SpanRootProps, type SpanIndentProps, type SpanCollapseToggleProps, type SpanStatusIndicatorProps, type SpanTypeBadgeProps, type SpanNameProps, type SpanTimelineProps, type SpanTimelineBarProps, } from './span-primitive';
3
3
  export { deriveSpanTree, visibleSpans, buildSpanTree, ancestorIds, collapseAllIds, collapseOneLevel, expandOneLevel, allCollapsed, traceRange, clampView, viewToRange, zoomView, panView, viewFraction, isFullView, spanTimelineBarVars, filterSpans, FULL_VIEW, MIN_VIEW_WIDTH, type SpanData, type SpanStatus, type SpanKind, type SpanItemState, type SpanTree, type SpanTimelineRange, type SpanView, } from './span-tree';
4
4
  export { spanDecorationIcon, spanPills, genAIKind, peerService, attribute, attributeText, GEN_AI_KINDS, type SpanPill, type SpanDecorationIcon, type GenAIKind, } from './decorations';
5
- export { normalizeSpans, spanDuration, barGeometry, axisTicks, niceStep, formatDuration, formatTick, labeledTicks, type AxisTick, type TraceWaterfallSpan, type TraceSpanStatus, type TraceSpanKind, type TraceRange, } from './layout';
5
+ export { normalizeSpans, spanDuration, barGeometry, axisTicks, niceStep, formatDuration, formatTick, labeledTicks, layoutTickLabels, type AxisTick, type TickLabel, type TraceWaterfallSpan, type TraceSpanStatus, type TraceSpanKind, type TraceRange, } from './layout';