@photon-ai/pho-ui 4.11.0 → 4.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.
Files changed (71) hide show
  1. package/dist/chunks/animated-height-zr7BmFY1.js +56 -0
  2. package/dist/chunks/animated-height-zr7BmFY1.js.map +1 -0
  3. package/dist/chunks/basic-page-6dDfY33L.js +2197 -0
  4. package/dist/chunks/basic-page-6dDfY33L.js.map +1 -0
  5. package/dist/chunks/box-search-C9EVZgcb.js +56 -0
  6. package/dist/chunks/box-search-C9EVZgcb.js.map +1 -0
  7. package/dist/chunks/{chat-B0WIgEyM.js → chat-Bu8UyIbT.js} +207 -205
  8. package/dist/chunks/chat-Bu8UyIbT.js.map +1 -0
  9. package/dist/chunks/{checkbox-CLPmblNA.js → checkbox-CwvoEJhd.js} +2 -2
  10. package/dist/chunks/{checkbox-CLPmblNA.js.map → checkbox-CwvoEJhd.js.map} +1 -1
  11. package/dist/chunks/choice-card-_Ocs0iUj.js +17 -0
  12. package/dist/chunks/choice-card-_Ocs0iUj.js.map +1 -0
  13. package/dist/chunks/chrome-Ds7WykBJ.js +14 -0
  14. package/dist/chunks/chrome-Ds7WykBJ.js.map +1 -0
  15. package/dist/chunks/{command-iYvU6Mhf.js → command-D5g49VqR.js} +3 -3
  16. package/dist/chunks/{command-iYvU6Mhf.js.map → command-D5g49VqR.js.map} +1 -1
  17. package/dist/chunks/{data-table-B1dmrN6r.js → data-table-hzZb7Otx.js} +58 -56
  18. package/dist/chunks/{data-table-B1dmrN6r.js.map → data-table-hzZb7Otx.js.map} +1 -1
  19. package/dist/chunks/{dialog-MPvem7yV.js → dialog-ChS0tdHa.js} +120 -116
  20. package/dist/chunks/dialog-ChS0tdHa.js.map +1 -0
  21. package/dist/chunks/{filter-bar-B-oYYBsU.js → filter-bar-C4sPEjw1.js} +63 -66
  22. package/dist/chunks/filter-bar-C4sPEjw1.js.map +1 -0
  23. package/dist/chunks/ghost-search-8PzP73zS.js +50 -0
  24. package/dist/chunks/ghost-search-8PzP73zS.js.map +1 -0
  25. package/dist/chunks/{input-DjvZoF8v.js → input-fFWvPJOf.js} +2 -1
  26. package/dist/chunks/{input-DjvZoF8v.js.map → input-fFWvPJOf.js.map} +1 -1
  27. package/dist/chunks/{trace-D1fOFzJt.js → trace-DyjsBY-S.js} +15 -13
  28. package/dist/chunks/{trace-D1fOFzJt.js.map → trace-DyjsBY-S.js.map} +1 -1
  29. package/dist/components/chat.js +1 -1
  30. package/dist/components/checkbox.js +1 -1
  31. package/dist/components/command.js +1 -1
  32. package/dist/components/data-table.js +4 -3
  33. package/dist/components/dialog.js +1 -1
  34. package/dist/components/field.js +34 -29
  35. package/dist/components/field.js.map +1 -1
  36. package/dist/components/filter-bar.js +1 -1
  37. package/dist/components/input.js +1 -1
  38. package/dist/components/radio-group.js +64 -59
  39. package/dist/components/radio-group.js.map +1 -1
  40. package/dist/components/scope.js +418 -0
  41. package/dist/components/scope.js.map +1 -0
  42. package/dist/components/trace.js +1 -1
  43. package/dist/index.js +176 -175
  44. package/dist/motion.js +61 -36
  45. package/dist/motion.js.map +1 -1
  46. package/dist/sections/basic-page.js +2 -2
  47. package/dist/src/components/chat/chat.d.ts +7 -4
  48. package/dist/src/components/dialog/dialog.d.ts +9 -1
  49. package/dist/src/components/field/field.d.ts +11 -1
  50. package/dist/src/components/input-group/box-search.d.ts +29 -0
  51. package/dist/src/components/radio-group/radio-card.d.ts +11 -4
  52. package/dist/src/components/scope/index.d.ts +1 -0
  53. package/dist/src/components/scope/scope.d.ts +98 -0
  54. package/dist/src/motion/index.d.ts +52 -0
  55. package/dist/src/sections/basic-page/basic-page.d.ts +145 -15
  56. package/dist/src/sections/basic-page/index.d.ts +1 -1
  57. package/dist/src/utils/animated-height.d.ts +16 -7
  58. package/dist/src/utils/choice-card.d.ts +8 -1
  59. package/dist/src/utils/ghost-search.d.ts +19 -3
  60. package/package.json +5 -1
  61. package/dist/chunks/animated-height-I44sUq0n.js +0 -48
  62. package/dist/chunks/animated-height-I44sUq0n.js.map +0 -1
  63. package/dist/chunks/basic-page-B5FsORRi.js +0 -1885
  64. package/dist/chunks/basic-page-B5FsORRi.js.map +0 -1
  65. package/dist/chunks/chat-B0WIgEyM.js.map +0 -1
  66. package/dist/chunks/choice-card-BVNP1NB6.js +0 -17
  67. package/dist/chunks/choice-card-BVNP1NB6.js.map +0 -1
  68. package/dist/chunks/dialog-MPvem7yV.js.map +0 -1
  69. package/dist/chunks/filter-bar-B-oYYBsU.js.map +0 -1
  70. package/dist/chunks/ghost-search-CNVs9k1o.js +0 -34
  71. package/dist/chunks/ghost-search-CNVs9k1o.js.map +0 -1
package/dist/index.js CHANGED
@@ -3,204 +3,205 @@ 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
5
  import { n as S, t as E } from "./chunks/link-provider-DXzDQ08N.js";
6
- import { BAR_RISE_PX as n, BLUR_PX as m, EASE_POP as A, EASE_STACK as I, FADE_ENTRANCE as T, FADE_SWAP as p, PRESS_SCALE as R, PRESS_SCALE_ROW as l, RISE_PX as C, SPAN_SCALE as u, SPRING_ENTRANCE as B, SPRING_PRESS as f, SPRING_PRESS_INLINE as N, SPRING_PRESS_QUICK as L, SPRING_SETTLE as P, TRAVEL_LINEAR as c, fadeThroughBlur as D, riseIn as O } from "./motion.js";
7
- import { n as V, r as g, t as h } from "./chunks/use-press-pulse-IbNstUT0.js";
8
- import { n as U, t as M } from "./chunks/use-copy-D6JwKUll.js";
6
+ import { BAR_RISE_PX as n, BLUR_PX as m, EASE_POP as A, EASE_STACK as I, FADE_ENTRANCE as T, FADE_SWAP as p, PRESS_SCALE as R, PRESS_SCALE_ROW as l, RISE_PX as C, SPAN_SCALE as u, SPRING_ENTRANCE as B, SPRING_PRESS as f, SPRING_PRESS_INLINE as N, SPRING_PRESS_QUICK as L, SPRING_SETTLE as P, TRAVEL_LINEAR as c, fadeThroughBlur as D, revealIn as O, riseIn as d } from "./motion.js";
7
+ import { n as g, r as h, t as G } from "./chunks/use-press-pulse-IbNstUT0.js";
8
+ import { n as M, t as b } from "./chunks/use-copy-D6JwKUll.js";
9
9
  import "./utils.js";
10
- import { a as v, c as k, d as w, i as W, l as y, n as H, o as K, r as x, s as z, t as X, u as Y } from "./chunks/button-C9VqBBIr.js";
11
- import { a as j, c as J, i as Q, l as q, n as $, o as aa, r as sa, s as ta, t as ra } from "./chunks/error-D5SzZ0ev.js";
12
- import { t as ea } from "./chunks/chat-B0WIgEyM.js";
13
- import { A as Sa, B as Ea, C as _a, D as na, E as ma, F as Aa, I as Ia, L as Ta, M as pa, N as Ra, O as la, P as Ca, R as ua, S as Ba, T as fa, V as Na, _ as La, a as Pa, b as ca, c as Da, d as Oa, f as da, g as Va, h as ga, i as ha, j as Ga, k as Ua, l as Ma, m as ba, n as Fa, o as va, p as ka, r as wa, s as Wa, t as ya, u as Ha, v as Ka, w as xa, x as za, y as Xa, z as Ya } from "./chunks/trace-D1fOFzJt.js";
14
- import { a as ja, c as Ja, d as Qa, i as qa, l as $a, n as as, o as ss, r as ts, s as rs, t as os, u as es } from "./chunks/code-block-CbcE994O.js";
15
- import { n as Ss, t as Es } from "./chunks/date-picker-CZbcNIe-.js";
16
- import { n as ns, t as ms } from "./chunks/copy-button-D8XyP0oR.js";
17
- import { a as Is, c as Ts, d as ps, i as Rs, l as ls, n as Cs, o as us, r as Bs, s as fs, t as Ns, u as Ls } from "./chunks/sidebar-BP39w1iA.js";
18
- import { t as cs } from "./chunks/input-DjvZoF8v.js";
19
- import { i as Os, n as ds, r as Vs, t as gs } from "./chunks/filter-bar-B-oYYBsU.js";
20
- import { i as Gs } from "./chunks/data-table-B1dmrN6r.js";
21
- import { n as Ms, t as bs } from "./chunks/stat-hnNqjWVG.js";
22
- import { t as vs } from "./chunks/calendar-4OFiCLAv.js";
23
- import { t as ws } from "./chunks/close-button-GvqWbLl0.js";
24
- import { t as ys } from "./chunks/input-group-fc9_jD4d.js";
25
- import { n as Ks, t as xs } from "./chunks/card-N-tvFsuV.js";
26
- import { n as Xs, t as Ys } from "./chunks/dialog-MPvem7yV.js";
27
- import { i as js, n as Js, r as Qs, t as qs } from "./chunks/status-view-C8tabjDu.js";
28
- import { t as at } from "./chunks/description-list-8qm83WZB.js";
29
- import { a as tt, c as rt, d as ot, f as et, i as it, l as St, m as Et, n as _t, o as nt, p as mt, r as At, s as It, t as Tt, u as pt } from "./chunks/basic-page-B5FsORRi.js";
30
- import { a as lt, i as Ct, n as ut, o as Bt, r as ft, s as Nt, t as Lt } from "./chunks/chart-Dx3rjeFn.js";
10
+ import { a as k, c as w, d as W, i as y, l as H, n as K, o as x, r as z, s as X, t as Y, u as Z } from "./chunks/button-C9VqBBIr.js";
11
+ import { a as J, c as Q, i as q, l as $, n as aa, o as sa, r as ta, s as ra, t as oa } from "./chunks/error-D5SzZ0ev.js";
12
+ import { t as ia } from "./chunks/chat-Bu8UyIbT.js";
13
+ import { A as Ea, B as _a, C as na, D as ma, E as Aa, F as Ia, I as Ta, L as pa, M as Ra, N as la, O as Ca, P as ua, R as Ba, S as fa, T as Na, V as La, _ as Pa, a as ca, b as Da, c as Oa, d as da, f as Va, g as ga, h as ha, i as Ga, j as Ua, k as Ma, l as ba, m as Fa, n as va, o as ka, p as wa, r as Wa, s as ya, t as Ha, u as Ka, v as xa, w as za, x as Xa, y as Ya, z as Za } from "./chunks/trace-DyjsBY-S.js";
14
+ import { a as Ja, c as Qa, d as qa, i as $a, l as as, n as ss, o as ts, r as rs, s as os, t as es, u as is } from "./chunks/code-block-CbcE994O.js";
15
+ import { n as Es, t as _s } from "./chunks/date-picker-CZbcNIe-.js";
16
+ import { n as ms, t as As } from "./chunks/copy-button-D8XyP0oR.js";
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
+ 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-C4sPEjw1.js";
20
+ import { i as Us } from "./chunks/data-table-hzZb7Otx.js";
21
+ import { n as bs, t as Fs } from "./chunks/stat-hnNqjWVG.js";
22
+ import { t as ks } from "./chunks/calendar-4OFiCLAv.js";
23
+ import { t as Ws } from "./chunks/close-button-GvqWbLl0.js";
24
+ import { t as Hs } from "./chunks/input-group-fc9_jD4d.js";
25
+ import { n as xs, t as zs } from "./chunks/card-N-tvFsuV.js";
26
+ import { n as Ys, t as Zs } from "./chunks/dialog-ChS0tdHa.js";
27
+ import { i as Js, n as Qs, r as qs, t as $s } from "./chunks/status-view-C8tabjDu.js";
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";
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
- import { t as Dt } from "./chunks/bar-chart-By5gWQqP.js";
33
- import { t as dt } from "./chunks/line-chart-CAe09fqr.js";
34
- import { i as gt, n as ht, r as Gt, t as Ut } from "./chunks/log-list-tNuCFGlP.js";
35
- import { n as bt, t as Ft } from "./chunks/bubble-eaoLJP4N.js";
36
- import { n as kt, r as wt, t as Wt } from "./chunks/message-Dz2-numf.js";
32
+ import { t as Ot } from "./chunks/bar-chart-By5gWQqP.js";
33
+ import { t as Vt } from "./chunks/line-chart-CAe09fqr.js";
34
+ import { i as ht, n as Gt, r as Ut, t as Mt } from "./chunks/log-list-tNuCFGlP.js";
35
+ import { n as Ft, t as vt } from "./chunks/bubble-eaoLJP4N.js";
36
+ import { n as wt, r as Wt, t as yt } from "./chunks/message-Dz2-numf.js";
37
37
  export {
38
- Tt as AUTO_SAVE_DELAY_MS,
38
+ pt as AUTO_SAVE_DELAY_MS,
39
39
  n as BAR_RISE_PX,
40
- _t as BASIC_PAGE_CALLOUT,
41
- At as BASIC_PAGE_CARD,
42
- it as BASIC_PAGE_ITEM,
43
- tt as BASIC_PAGE_ITEM_PANEL,
44
- nt as BASIC_PAGE_ITEM_PANEL_DIVIDED,
45
- It as BASIC_PAGE_ROW,
40
+ nt as BASIC_PAGE_CALLOUT,
41
+ It as BASIC_PAGE_CARD,
42
+ St as BASIC_PAGE_ITEM,
43
+ rt as BASIC_PAGE_ITEM_PANEL,
44
+ mt as BASIC_PAGE_ITEM_PANEL_DIVIDED,
45
+ Tt as BASIC_PAGE_ROW,
46
46
  m as BLUR_PX,
47
- Ft as BUBBLE_VARIANTS,
48
- X as BUTTON_COLORS,
49
- H as BUTTON_SHAPES,
50
- x as BUTTON_SIZES,
51
- W as BUTTON_VARIANTS,
52
- Dt as BarChart,
53
- rt as BasicPage,
54
- bt as Bubble,
55
- v as Button,
56
- K as ButtonLink,
57
- xs as CARD_SURFACE,
58
- Bt as CHART_SLOTS,
59
- $a as CODE_GRAMMARS,
60
- Ja as CODE_TOKEN_CLASS,
61
- St as CONDENSE_BAR_ENTER,
62
- pt as CONDENSE_BAR_RISE_PX,
63
- ot as CONDENSE_BAR_TRAVEL,
64
- h as CONTROL_PRESS_SCALE,
65
- V as CONTROL_PRESS_SPRING,
66
- ms as COPY_BUTTON_SIZES,
67
- M as COPY_FEEDBACK_MS,
68
- vs as Calendar,
69
- Ks as Card,
70
- Lt as Chart,
71
- ut as ChartBar,
72
- Ct as ChartLegend,
73
- ft as ChartLine,
74
- lt as ChartSwatch,
75
- ea as Chat,
76
- ws as CloseButton,
77
- os as CodeBlock,
78
- ns as CopyButton,
79
- Es as DatePicker,
80
- at as DescriptionList,
81
- Ys as Dialog,
47
+ vt as BUBBLE_VARIANTS,
48
+ Y as BUTTON_COLORS,
49
+ K as BUTTON_SHAPES,
50
+ z as BUTTON_SIZES,
51
+ y as BUTTON_VARIANTS,
52
+ Ot as BarChart,
53
+ ot as BasicPage,
54
+ Ft as Bubble,
55
+ k as Button,
56
+ x as ButtonLink,
57
+ zs as CARD_SURFACE,
58
+ ft as CHART_SLOTS,
59
+ as as CODE_GRAMMARS,
60
+ Qa as CODE_TOKEN_CLASS,
61
+ Et as CONDENSE_BAR_ENTER,
62
+ Rt as CONDENSE_BAR_RISE_PX,
63
+ et as CONDENSE_BAR_TRAVEL,
64
+ G as CONTROL_PRESS_SCALE,
65
+ g as CONTROL_PRESS_SPRING,
66
+ As as COPY_BUTTON_SIZES,
67
+ b as COPY_FEEDBACK_MS,
68
+ ks as Calendar,
69
+ xs as Card,
70
+ Pt as Chart,
71
+ Bt as ChartBar,
72
+ ut as ChartLegend,
73
+ Nt as ChartLine,
74
+ Ct as ChartSwatch,
75
+ ia as Chat,
76
+ Ws as CloseButton,
77
+ es as CodeBlock,
78
+ ms as CopyButton,
79
+ _s as DatePicker,
80
+ st as DescriptionList,
81
+ Zs as Dialog,
82
82
  A as EASE_POP,
83
83
  I as EASE_STACK,
84
- z as EFFECT_BUTTON_SIZES,
85
- k as EffectButton,
86
- y as EffectButtonLink,
87
- ra as Error,
88
- $ as ErrorView,
84
+ X as EFFECT_BUTTON_SIZES,
85
+ w as EffectButton,
86
+ H as EffectButtonLink,
87
+ oa as Error,
88
+ aa as ErrorView,
89
89
  T as FADE_ENTRANCE,
90
90
  p as FADE_SWAP,
91
- gs as FILTER_DATE_PRESETS,
92
- _a as FULL_VIEW,
93
- ds as FilterBar,
94
- sa as GENERIC_ERROR_TITLE,
95
- ka as GEN_AI_KINDS,
96
- cs as Input,
97
- ys as InputGroup,
98
- es as LANGUAGE_ALIASES,
99
- dt as LineChart,
91
+ hs as FILTER_DATE_PRESETS,
92
+ na as FULL_VIEW,
93
+ Vs as FilterBar,
94
+ ta as GENERIC_ERROR_TITLE,
95
+ wa as GEN_AI_KINDS,
96
+ Ds as Input,
97
+ Hs as InputGroup,
98
+ is as LANGUAGE_ALIASES,
99
+ Vt as LineChart,
100
100
  E as LinkProvider,
101
- Ut as LogList,
102
- xa as MIN_VIEW_WIDTH,
103
- wt as Message,
101
+ Mt as LogList,
102
+ za as MIN_VIEW_WIDTH,
103
+ Wt as Message,
104
104
  R as PRESS_SCALE,
105
105
  l as PRESS_SCALE_ROW,
106
106
  C as RISE_PX,
107
- Ns as SIDEBAR_HEADER_INSET,
108
- Cs as SIDEBAR_ITEM,
109
- Bs as SIDEBAR_ITEM_ACTIVE,
110
- Rs as SIDEBAR_ITEM_INACTIVE,
111
- Is as SIDEBAR_ROOT,
112
- us as SIDEBAR_ROOT_BASE,
113
- fs as SIDEBAR_ROOT_INSET,
114
- Ts as SIDEBAR_SUBMENU_CHEVRON,
115
- ls as SIDEBAR_SUBMENU_LIST_INDENT,
116
- Ls as SIDEBAR_SUBMENU_TRIGGER_CHILD_ACTIVE,
107
+ Ls as SIDEBAR_HEADER_INSET,
108
+ us as SIDEBAR_ITEM,
109
+ fs as SIDEBAR_ITEM_ACTIVE,
110
+ ls as SIDEBAR_ITEM_INACTIVE,
111
+ Ts as SIDEBAR_ROOT,
112
+ Bs as SIDEBAR_ROOT_BASE,
113
+ Ns as SIDEBAR_ROOT_INSET,
114
+ ps as SIDEBAR_SUBMENU_CHEVRON,
115
+ Cs as SIDEBAR_SUBMENU_LIST_INDENT,
116
+ Ps as SIDEBAR_SUBMENU_TRIGGER_CHILD_ACTIVE,
117
117
  u as SPAN_SCALE,
118
118
  B as SPRING_ENTRANCE,
119
119
  f as SPRING_PRESS,
120
120
  N as SPRING_PRESS_INLINE,
121
121
  L as SPRING_PRESS_QUICK,
122
122
  P as SPRING_SETTLE,
123
- qs as STATUS_VIEW,
124
- Js as STATUS_VIEW_COPY,
125
- Qs as STATUS_VIEW_SIZES,
126
- ps as Sidebar,
127
- ca as SpanPrimitive,
128
- bs as Stat,
129
- Ms as StatGroup,
130
- js as StatusView,
123
+ $s as STATUS_VIEW,
124
+ Qs as STATUS_VIEW_COPY,
125
+ qs as STATUS_VIEW_SIZES,
126
+ Rs as Sidebar,
127
+ Da as SpanPrimitive,
128
+ Fs as Stat,
129
+ bs as StatGroup,
130
+ Js as StatusView,
131
131
  c as TRAVEL_LINEAR,
132
- ya as Trace,
133
- fa as allCollapsed,
134
- ma as ancestorIds,
135
- ba as attribute,
136
- ga as attributeText,
137
- ha as axisTicks,
138
- Pa as barGeometry,
139
- na as buildSpanTree,
140
- Y as buttonVariants,
141
- Q as capitalizeFirst,
142
- Nt as chartColor,
143
- la as clampView,
132
+ Ha as Trace,
133
+ Na as allCollapsed,
134
+ Aa as ancestorIds,
135
+ Fa as attribute,
136
+ ha as attributeText,
137
+ Ga as axisTicks,
138
+ ca as barGeometry,
139
+ ma as buildSpanTree,
140
+ Z as buttonVariants,
141
+ q as capitalizeFirst,
142
+ Lt as chartColor,
143
+ Ca as clampView,
144
144
  s as cn,
145
- Ua as collapseAllIds,
146
- Sa as collapseOneLevel,
147
- Gs as createColumns,
148
- Ga as deriveSpanTree,
149
- j as describeError,
150
- w as effectButtonVariants,
151
- pa as expandOneLevel,
145
+ Ma as collapseAllIds,
146
+ Ea as collapseOneLevel,
147
+ Us as createColumns,
148
+ Ua as deriveSpanTree,
149
+ J as describeError,
150
+ W as effectButtonVariants,
151
+ Ra as expandOneLevel,
152
152
  D as fadeThroughBlur,
153
- Ra as filterSpans,
154
- Fa as footerTotals,
155
- et as formToasts,
156
- Ss as formatDateLabel,
157
- va as formatDuration,
158
- Vs as formatFilterValue,
159
- Wa as formatTick,
160
- Va as genAIKind,
161
- ts as highlight,
162
- qa as highlightSync,
163
- aa as httpReasonPhrase,
164
- ta as httpStatusExplanation,
165
- Os as isFilterSet,
166
- Ca as isFullView,
167
- ja as isLanguageReady,
168
- J as isProblem,
153
+ la as filterSpans,
154
+ va as footerTotals,
155
+ it as formToasts,
156
+ Es as formatDateLabel,
157
+ ka as formatDuration,
158
+ gs as formatFilterValue,
159
+ ya as formatTick,
160
+ ga as genAIKind,
161
+ rs as highlight,
162
+ $a as highlightSync,
163
+ sa as httpReasonPhrase,
164
+ ra as httpStatusExplanation,
165
+ ds as isFilterSet,
166
+ ua as isFullView,
167
+ Ja as isLanguageReady,
168
+ Q as isProblem,
169
169
  r as isReactComponent,
170
- Da as labeledTicks,
171
- Ma as layoutTickLabels,
172
- ht as logStatusColor,
173
- Gt as logStatusLabel,
174
- Wt as messageStatusKey,
175
- Ha as niceStep,
176
- Oa as normalizeSpans,
177
- Aa as panView,
178
- q as parseProblem,
179
- La as peerService,
180
- ss as preloadLanguage,
181
- Qa as resolveGrammar,
170
+ Oa as labeledTicks,
171
+ ba as layoutTickLabels,
172
+ Gt as logStatusColor,
173
+ Ut as logStatusLabel,
174
+ yt as messageStatusKey,
175
+ Ka as niceStep,
176
+ da as normalizeSpans,
177
+ Ia as panView,
178
+ $ as parseProblem,
179
+ Pa as peerService,
180
+ ts as preloadLanguage,
181
+ qa as resolveGrammar,
182
182
  e as resolveVariant,
183
- O as riseIn,
184
- kt as shouldShowMessageStatus,
185
- Ka as spanDecorationIcon,
186
- da as spanDuration,
187
- Xa as spanPills,
188
- Ia as spanTimelineBarVars,
189
- as as tokenizeJson,
190
- wa as traceBulletInset,
191
- Ta as traceRange,
192
- gt as truncateMiddle,
193
- mt as useAutoSave,
194
- Et as useCondense,
195
- U as useCopy,
196
- Xs as useDialogPending,
197
- rs as useHighlight,
183
+ O as revealIn,
184
+ d as riseIn,
185
+ wt as shouldShowMessageStatus,
186
+ xa as spanDecorationIcon,
187
+ Va as spanDuration,
188
+ Ya as spanPills,
189
+ Ta as spanTimelineBarVars,
190
+ ss as tokenizeJson,
191
+ Wa as traceBulletInset,
192
+ pa as traceRange,
193
+ ht as truncateMiddle,
194
+ At as useAutoSave,
195
+ _t as useCondense,
196
+ M as useCopy,
197
+ Ys as useDialogPending,
198
+ os as useHighlight,
198
199
  S as useLinkComponent,
199
- g as usePressPulse,
200
- za as useSpan,
201
- Ba as useSpanTree,
202
- ua as viewFraction,
203
- Ya as viewToRange,
204
- Ea as visibleSpans,
205
- Na as zoomView
200
+ h as usePressPulse,
201
+ Xa as useSpan,
202
+ fa as useSpanTree,
203
+ Ba as viewFraction,
204
+ Za as viewToRange,
205
+ _a as visibleSpans,
206
+ La as zoomView
206
207
  };
package/dist/motion.js CHANGED
@@ -1,43 +1,43 @@
1
1
  "use client";
2
- var r = {
2
+ var t = {
3
3
  type: "spring",
4
4
  stiffness: 400,
5
5
  damping: 40
6
- }, s = {
6
+ }, e = {
7
7
  type: "spring",
8
8
  stiffness: 640,
9
9
  damping: 50
10
- }, n = {
10
+ }, s = {
11
11
  type: "spring",
12
12
  stiffness: 200,
13
13
  damping: 30,
14
14
  mass: 0.1
15
- }, S = {
15
+ }, p = {
16
16
  type: "spring",
17
17
  stiffness: 700,
18
18
  damping: 32,
19
19
  mass: 0.06
20
- }, p = {
20
+ }, o = {
21
21
  type: "spring",
22
22
  stiffness: 1100,
23
23
  damping: 40,
24
24
  mass: 0.04
25
- }, t = {
25
+ }, r = {
26
26
  duration: 0.25,
27
27
  ease: "easeOut"
28
- }, e = {
28
+ }, n = {
29
29
  duration: 0.2,
30
30
  ease: "easeOut"
31
- }, E = {
31
+ }, S = {
32
32
  duration: 0.2,
33
33
  ease: "linear"
34
- }, _ = "cubic-bezier(0.34, 1.3, 0.64, 1)", R = "cubic-bezier(0.22, 1, 0.36, 1)", f = 12, u = -8, P = 0.9, v = 0.96, o = 0.97, y = 1;
35
- function A(a) {
36
- const i = a ? "blur(0px)" : "blur(1px)";
34
+ }, E = "cubic-bezier(0.34, 1.3, 0.64, 1)", u = "cubic-bezier(0.22, 1, 0.36, 1)", _ = 12, g = -8, y = 0.9, R = 0.96, f = 0.97, c = 1;
35
+ function v(i) {
36
+ const a = i ? "blur(0px)" : "blur(1px)";
37
37
  return {
38
38
  initial: {
39
39
  opacity: 0,
40
- filter: i
40
+ filter: a
41
41
  },
42
42
  animate: {
43
43
  opacity: 1,
@@ -45,14 +45,38 @@ function A(a) {
45
45
  },
46
46
  exit: {
47
47
  opacity: 0,
48
- filter: i
48
+ filter: a
49
49
  },
50
- transition: a ? { duration: 0 } : e
50
+ transition: i ? { duration: 0 } : n
51
+ };
52
+ }
53
+ function P(i, a = "0px") {
54
+ return {
55
+ initial: {
56
+ height: 0,
57
+ opacity: 0,
58
+ marginTop: a
59
+ },
60
+ animate: {
61
+ height: "auto",
62
+ opacity: 1,
63
+ marginTop: 0
64
+ },
65
+ exit: {
66
+ height: 0,
67
+ opacity: 0,
68
+ marginTop: a
69
+ },
70
+ transition: i ? { duration: 0 } : {
71
+ height: t,
72
+ marginTop: t,
73
+ opacity: r
74
+ }
51
75
  };
52
76
  }
53
- function c(a) {
77
+ function m(i) {
54
78
  return {
55
- initial: a ? !1 : {
79
+ initial: i ? !1 : {
56
80
  opacity: 0,
57
81
  y: 12
58
82
  },
@@ -61,30 +85,31 @@ function c(a) {
61
85
  y: 0
62
86
  },
63
87
  transition: {
64
- y: r,
65
- opacity: t
88
+ y: t,
89
+ opacity: r
66
90
  }
67
91
  };
68
92
  }
69
93
  export {
70
- u as BAR_RISE_PX,
71
- y as BLUR_PX,
72
- _ as EASE_POP,
73
- R as EASE_STACK,
74
- t as FADE_ENTRANCE,
75
- e as FADE_SWAP,
76
- v as PRESS_SCALE,
77
- o as PRESS_SCALE_ROW,
78
- f as RISE_PX,
79
- P as SPAN_SCALE,
80
- r as SPRING_ENTRANCE,
81
- n as SPRING_PRESS,
82
- p as SPRING_PRESS_INLINE,
83
- S as SPRING_PRESS_QUICK,
84
- s as SPRING_SETTLE,
85
- E as TRAVEL_LINEAR,
86
- A as fadeThroughBlur,
87
- c as riseIn
94
+ g as BAR_RISE_PX,
95
+ c as BLUR_PX,
96
+ E as EASE_POP,
97
+ u as EASE_STACK,
98
+ r as FADE_ENTRANCE,
99
+ n as FADE_SWAP,
100
+ R as PRESS_SCALE,
101
+ f as PRESS_SCALE_ROW,
102
+ _ as RISE_PX,
103
+ y as SPAN_SCALE,
104
+ t as SPRING_ENTRANCE,
105
+ s as SPRING_PRESS,
106
+ o as SPRING_PRESS_INLINE,
107
+ p as SPRING_PRESS_QUICK,
108
+ e as SPRING_SETTLE,
109
+ S as TRAVEL_LINEAR,
110
+ v as fadeThroughBlur,
111
+ P as revealIn,
112
+ m as riseIn
88
113
  };
89
114
 
90
115
  //# sourceMappingURL=motion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"motion.js","names":[],"sources":["../src/motion/index.ts"],"sourcesContent":["/**\n * The motion vocabulary — every animation in Pho speaks it. Five springs,\n * three timings, two CSS eases, and a handful of distances cover the\n * system; components import from here and add nothing of their own.\n *\n * The grammar:\n * - **Arrive** on `SPRING_ENTRANCE` with `FADE_ENTRANCE` — content\n * surfaces, it doesn't slide in.\n * - **Swap** on `FADE_SWAP`, displacement on `TRAVEL_LINEAR` — crossfades\n * ease out, travel is linear.\n * - **Press** on the press springs — deeper mass for bigger surfaces.\n * - **Follow** on `SPRING_SETTLE` — heights and reflows chase content.\n */\n\n/**\n * Pages arrive on this — the `Stack` entrance, `Reveal`, `Title` / `Header`\n * enter, the Title ↔ Back morph, `Alert` / `Footer` height reveals.\n * Measured off a 60fps iOS push: ~330ms, a long gentle glide, everything\n * co-landing; essentially critically damped (overshoot would flash\n * clipped content).\n */\nexport const SPRING_ENTRANCE = {\n type: \"spring\",\n stiffness: 400,\n damping: 40,\n} as const;\n\n/**\n * Layout follows content on this — `AnimatedHeight`, a command palette's\n * rows gliding into new places. Stiffer than the entrance: reflow should\n * settle before it reads as motion.\n */\nexport const SPRING_SETTLE = {\n type: \"spring\",\n stiffness: 640,\n damping: 50,\n} as const;\n\n/**\n * The press pulse for full-size surfaces — `Button`, a sidebar row.\n * Framer source: `spring-physics 200 30 0.1`.\n */\nexport const SPRING_PRESS = {\n type: \"spring\",\n stiffness: 200,\n damping: 30,\n mass: 0.1,\n} as const;\n\n/** The press pulse for small controls — toggles, checks; quick and light. */\nexport const SPRING_PRESS_QUICK = {\n type: \"spring\",\n stiffness: 700,\n damping: 32,\n mass: 0.06,\n} as const;\n\n/** The press pulse for inline triggers — a `Select` sitting in text. */\nexport const SPRING_PRESS_INLINE = {\n type: \"spring\",\n stiffness: 1100,\n damping: 40,\n mass: 0.04,\n} as const;\n\n/** The fade that rides `SPRING_ENTRANCE` — spans most of the glide. */\nexport const FADE_ENTRANCE = { duration: 0.25, ease: \"easeOut\" } as const;\n\n/**\n * The swap — crossfading faces, a condensed bar arriving, a saved word,\n * an aside changing pages. Fades ease out.\n */\nexport const FADE_SWAP = { duration: 0.2, ease: \"easeOut\" } as const;\n\n/**\n * Displacement — a bar's rise, a drawer's scope swap. Travel is linear:\n * the eye reads speed changes as personality, and furniture has none.\n * (A search box's width is a reflow, not travel: it rides the page\n * spring, as a menu opens.)\n */\nexport const TRAVEL_LINEAR = { duration: 0.2, ease: \"linear\" } as const;\n\n/** CSS pop-in for floating layers (menus, select popups) — slight overshoot. */\nexport const EASE_POP = \"cubic-bezier(0.34, 1.3, 0.64, 1)\";\n\n/** CSS stack glide — toasts trading places (Kumo's curve). */\nexport const EASE_STACK = \"cubic-bezier(0.22, 1, 0.36, 1)\";\n\n/** Rise distance for entrances — content surfaces from just below. */\nexport const RISE_PX = 12;\n\n/** Rise distance for the condensed bar — it comes from nearer still. */\nexport const BAR_RISE_PX = -8;\n\n/**\n * How far a view that widens starts inside its frame, and one that\n * narrows starts outside it — a chart's range switch. A tenth: enough to\n * read as the picture opening or closing, never as a zoom.\n */\nexport const SPAN_SCALE = 0.9;\n\n/** Press depth for small controls. */\nexport const PRESS_SCALE = 0.96;\n\n/** Press depth for rows and full-size surfaces — shallower. */\nexport const PRESS_SCALE_ROW = 0.97;\n\n/** The blur budget — one breath of blur, everywhere it is used. */\nexport const BLUR_PX = 1;\n\n/**\n * The crossfade recipe — fade with a breath of blur, both ways. Spread\n * onto a motion element inside `AnimatePresence`:\n *\n * <motion.div {...fadeThroughBlur(reduceMotion)} />\n *\n * Under reduced motion the swap is instant and never blurs.\n */\nexport function fadeThroughBlur(reduceMotion?: boolean | null) {\n const away = reduceMotion ? \"blur(0px)\" : `blur(${BLUR_PX}px)`;\n return {\n initial: { opacity: 0, filter: away },\n animate: { opacity: 1, filter: \"blur(0px)\" },\n exit: { opacity: 0, filter: away },\n transition: reduceMotion ? ({ duration: 0 } as const) : FADE_SWAP,\n } as const;\n}\n\n/**\n * The entrance recipe — rise `RISE_PX` on `SPRING_ENTRANCE` while\n * `FADE_ENTRANCE` brings the ink. What `Stack` and `Reveal` do; spread it\n * onto a motion element for content that should arrive the same way.\n */\nexport function riseIn(reduceMotion?: boolean | null) {\n return {\n initial: reduceMotion ? false : ({ opacity: 0, y: RISE_PX } as const),\n animate: { opacity: 1, y: 0 } as const,\n transition: { y: SPRING_ENTRANCE, opacity: FADE_ENTRANCE } as const,\n } as const;\n}\n"],"mappings":";AAqBA,IAAa,IAAkB;AAAA,EAC7B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AACX,GAOa,IAAgB;AAAA,EAC3B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AACX,GAMa,IAAe;AAAA,EAC1B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAqB;AAAA,EAChC,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAsB;AAAA,EACjC,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAgB;AAAA,EAAE,UAAU;AAAA,EAAM,MAAM;AAAU,GAMlD,IAAY;AAAA,EAAE,UAAU;AAAA,EAAK,MAAM;AAAU,GAQ7C,IAAgB;AAAA,EAAE,UAAU;AAAA,EAAK,MAAM;AAAS,GAGhD,IAAW,oCAGX,IAAa,kCAGb,IAAU,IAGV,IAAc,IAOd,IAAa,KAGb,IAAc,MAGd,IAAkB,MAGlB,IAAU;AAUvB,SAAgB,EAAgB,GAA+B;AAC7D,QAAM,IAAO,IAAe,cAAc;AAC1C,SAAO;AAAA,IACL,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAK;AAAA,IACpC,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAY;AAAA,IAC3C,MAAM;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAK;AAAA,IACjC,YAAY,IAAgB,EAAE,UAAU,EAAE,IAAc;AAAA,EAC1D;AACF;AAOA,SAAgB,EAAO,GAA+B;AACpD,SAAO;AAAA,IACL,SAAS,IAAe,KAAS;AAAA,MAAE,SAAS;AAAA,MAAG,GAAA;AAAA,IAAW;AAAA,IAC1D,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,GAAG;AAAA,IAAE;AAAA,IAC5B,YAAY;AAAA,MAAE,GAAG;AAAA,MAAiB,SAAS;AAAA,IAAc;AAAA,EAC3D;AACF"}
1
+ {"version":3,"file":"motion.js","names":[],"sources":["../src/motion/index.ts"],"sourcesContent":["/**\n * The motion vocabulary — every animation in Pho speaks it. Five springs,\n * three timings, two CSS eases, and a handful of distances cover the\n * system; components import from here and add nothing of their own.\n *\n * The grammar:\n * - **Arrive** on `SPRING_ENTRANCE` with `FADE_ENTRANCE` — content\n * surfaces, it doesn't slide in.\n * - **Swap** on `FADE_SWAP`, displacement on `TRAVEL_LINEAR` — crossfades\n * ease out, travel is linear.\n * - **Press** on the press springs — deeper mass for bigger surfaces.\n * - **Follow** on `SPRING_SETTLE` — heights and reflows chase content.\n */\n\n/**\n * Pages arrive on this — the `Stack` entrance, `Reveal`, `Title` / `Header`\n * enter, the Title ↔ Back morph, `Alert` / `Footer` height reveals.\n * Measured off a 60fps iOS push: ~330ms, a long gentle glide, everything\n * co-landing; essentially critically damped (overshoot would flash\n * clipped content).\n */\nexport const SPRING_ENTRANCE = {\n type: \"spring\",\n stiffness: 400,\n damping: 40,\n} as const;\n\n/**\n * Layout follows content on this — `AnimatedHeight`, a command palette's\n * rows gliding into new places. Stiffer than the entrance: reflow should\n * settle before it reads as motion.\n */\nexport const SPRING_SETTLE = {\n type: \"spring\",\n stiffness: 640,\n damping: 50,\n} as const;\n\n/**\n * The press pulse for full-size surfaces — `Button`, a sidebar row.\n * Framer source: `spring-physics 200 30 0.1`.\n */\nexport const SPRING_PRESS = {\n type: \"spring\",\n stiffness: 200,\n damping: 30,\n mass: 0.1,\n} as const;\n\n/** The press pulse for small controls — toggles, checks; quick and light. */\nexport const SPRING_PRESS_QUICK = {\n type: \"spring\",\n stiffness: 700,\n damping: 32,\n mass: 0.06,\n} as const;\n\n/** The press pulse for inline triggers — a `Select` sitting in text. */\nexport const SPRING_PRESS_INLINE = {\n type: \"spring\",\n stiffness: 1100,\n damping: 40,\n mass: 0.04,\n} as const;\n\n/** The fade that rides `SPRING_ENTRANCE` — spans most of the glide. */\nexport const FADE_ENTRANCE = { duration: 0.25, ease: \"easeOut\" } as const;\n\n/**\n * The swap — crossfading faces, a condensed bar arriving, a saved word,\n * an aside changing pages. Fades ease out.\n */\nexport const FADE_SWAP = { duration: 0.2, ease: \"easeOut\" } as const;\n\n/**\n * Displacement — a bar's rise, a drawer's scope swap. Travel is linear:\n * the eye reads speed changes as personality, and furniture has none.\n * (A search box's width is a reflow, not travel: it rides the page\n * spring, as a menu opens.)\n */\nexport const TRAVEL_LINEAR = { duration: 0.2, ease: \"linear\" } as const;\n\n/** CSS pop-in for floating layers (menus, select popups) — slight overshoot. */\nexport const EASE_POP = \"cubic-bezier(0.34, 1.3, 0.64, 1)\";\n\n/** CSS stack glide — toasts trading places (Kumo's curve). */\nexport const EASE_STACK = \"cubic-bezier(0.22, 1, 0.36, 1)\";\n\n/** Rise distance for entrances — content surfaces from just below. */\nexport const RISE_PX = 12;\n\n/** Rise distance for the condensed bar — it comes from nearer still. */\nexport const BAR_RISE_PX = -8;\n\n/**\n * How far a view that widens starts inside its frame, and one that\n * narrows starts outside it — a chart's range switch. A tenth: enough to\n * read as the picture opening or closing, never as a zoom.\n */\nexport const SPAN_SCALE = 0.9;\n\n/** Press depth for small controls. */\nexport const PRESS_SCALE = 0.96;\n\n/** Press depth for rows and full-size surfaces — shallower. */\nexport const PRESS_SCALE_ROW = 0.97;\n\n/** The blur budget — one breath of blur, everywhere it is used. */\nexport const BLUR_PX = 1;\n\n/**\n * The crossfade recipe — fade with a breath of blur, both ways. Spread\n * onto a motion element inside `AnimatePresence`:\n *\n * <motion.div {...fadeThroughBlur(reduceMotion)} />\n *\n * Under reduced motion the swap is instant and never blurs.\n */\nexport function fadeThroughBlur(reduceMotion?: boolean | null) {\n const away = reduceMotion ? \"blur(0px)\" : `blur(${BLUR_PX}px)`;\n return {\n initial: { opacity: 0, filter: away },\n animate: { opacity: 1, filter: \"blur(0px)\" },\n exit: { opacity: 0, filter: away },\n transition: reduceMotion ? ({ duration: 0 } as const) : FADE_SWAP,\n } as const;\n}\n\n/**\n * The presence recipe — `BasicPage.Reveal`'s: a block opens from no height\n * on `SPRING_ENTRANCE` while `FADE_ENTRANCE` brings the ink, and closes the\n * same way. Spread onto a keyed motion element inside `AnimatePresence`,\n * clipped while it moves so what hasn't opened stays out of sight:\n *\n * <motion.div {...revealIn(reduceMotion)} />\n *\n * `collapseGap` is a flex gap the block trades against its height (a\n * negative margin as it closes), so neighbours glide to where they end up\n * instead of snapping by the gap when it unmounts. Under reduced motion the\n * block snaps.\n */\nexport function revealIn(reduceMotion?: boolean | null, collapseGap = \"0px\") {\n return {\n initial: { height: 0, opacity: 0, marginTop: collapseGap },\n animate: { height: \"auto\", opacity: 1, marginTop: 0 },\n exit: { height: 0, opacity: 0, marginTop: collapseGap },\n transition: reduceMotion\n ? ({ duration: 0 } as const)\n : ({\n height: SPRING_ENTRANCE,\n marginTop: SPRING_ENTRANCE,\n opacity: FADE_ENTRANCE,\n } as const),\n } as const;\n}\n\n/**\n * The entrance recipe — rise `RISE_PX` on `SPRING_ENTRANCE` while\n * `FADE_ENTRANCE` brings the ink. What `Stack` and `Reveal` do; spread it\n * onto a motion element for content that should arrive the same way.\n */\nexport function riseIn(reduceMotion?: boolean | null) {\n return {\n initial: reduceMotion ? false : ({ opacity: 0, y: RISE_PX } as const),\n animate: { opacity: 1, y: 0 } as const,\n transition: { y: SPRING_ENTRANCE, opacity: FADE_ENTRANCE } as const,\n } as const;\n}\n"],"mappings":";AAqBA,IAAa,IAAkB;AAAA,EAC7B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AACX,GAOa,IAAgB;AAAA,EAC3B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AACX,GAMa,IAAe;AAAA,EAC1B,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAqB;AAAA,EAChC,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAsB;AAAA,EACjC,MAAM;AAAA,EACN,WAAW;AAAA,EACX,SAAS;AAAA,EACT,MAAM;AACR,GAGa,IAAgB;AAAA,EAAE,UAAU;AAAA,EAAM,MAAM;AAAU,GAMlD,IAAY;AAAA,EAAE,UAAU;AAAA,EAAK,MAAM;AAAU,GAQ7C,IAAgB;AAAA,EAAE,UAAU;AAAA,EAAK,MAAM;AAAS,GAGhD,IAAW,oCAGX,IAAa,kCAGb,IAAU,IAGV,IAAc,IAOd,IAAa,KAGb,IAAc,MAGd,IAAkB,MAGlB,IAAU;AAUvB,SAAgB,EAAgB,GAA+B;AAC7D,QAAM,IAAO,IAAe,cAAc;AAC1C,SAAO;AAAA,IACL,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAK;AAAA,IACpC,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAY;AAAA,IAC3C,MAAM;AAAA,MAAE,SAAS;AAAA,MAAG,QAAQ;AAAA,IAAK;AAAA,IACjC,YAAY,IAAgB,EAAE,UAAU,EAAE,IAAc;AAAA,EAC1D;AACF;AAeA,SAAgB,EAAS,GAA+B,IAAc,OAAO;AAC3E,SAAO;AAAA,IACL,SAAS;AAAA,MAAE,QAAQ;AAAA,MAAG,SAAS;AAAA,MAAG,WAAW;AAAA,IAAY;AAAA,IACzD,SAAS;AAAA,MAAE,QAAQ;AAAA,MAAQ,SAAS;AAAA,MAAG,WAAW;AAAA,IAAE;AAAA,IACpD,MAAM;AAAA,MAAE,QAAQ;AAAA,MAAG,SAAS;AAAA,MAAG,WAAW;AAAA,IAAY;AAAA,IACtD,YAAY,IACP,EAAE,UAAU,EAAE,IACd;AAAA,MACC,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,SAAS;AAAA,IACX;AAAA,EACN;AACF;AAOA,SAAgB,EAAO,GAA+B;AACpD,SAAO;AAAA,IACL,SAAS,IAAe,KAAS;AAAA,MAAE,SAAS;AAAA,MAAG,GAAA;AAAA,IAAW;AAAA,IAC1D,SAAS;AAAA,MAAE,SAAS;AAAA,MAAG,GAAG;AAAA,IAAE;AAAA,IAC5B,YAAY;AAAA,MAAE,GAAG;AAAA,MAAiB,SAAS;AAAA,IAAc;AAAA,EAC3D;AACF"}
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { i as s } from "../chunks/data-table-B1dmrN6r.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-B5FsORRi.js";
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";
4
4
  export {
5
5
  D as AUTO_SAVE_DELAY_MS,
6
6
  B as BASIC_PAGE_CALLOUT,
@@ -54,7 +54,7 @@ export declare function paneSwapMotion(direction: ChatPaneDirection, reduceMotio
54
54
  transition: {
55
55
  duration: number;
56
56
  x?: undefined;
57
- opacity?: undefined;
57
+ readonly opacity?: undefined;
58
58
  filter?: undefined;
59
59
  };
60
60
  } | {
@@ -86,7 +86,7 @@ export declare function paneSwapMotion(direction: ChatPaneDirection, reduceMotio
86
86
  readonly duration: 0.2;
87
87
  readonly ease: "easeOut";
88
88
  };
89
- duration?: undefined;
89
+ readonly duration?: undefined;
90
90
  };
91
91
  };
92
92
  /**
@@ -119,8 +119,11 @@ declare function Root({ layout, pane: paneProp, defaultPane, onPaneChange, class
119
119
  declare function List({ className, children, id: idProp, ...props }: ComponentProps<"aside">): import("react").JSX.Element;
120
120
  export interface ChatSearchProps extends Omit<InputProps, "size" | "icon" | "label" | "hint" | "labelTrailing"> {
121
121
  }
122
- /** The search row pinned over the conversations — an `sm` `Input`. */
123
- declare function Search({ className, placeholder, ...props }: ChatSearchProps): import("react").JSX.Element;
122
+ /**
123
+ * The search row pinned over the conversations — an `sm` `Input` with a
124
+ * search's quiet focus: no ring, the magnifier takes the ink.
125
+ */
126
+ declare function Search({ className, wrapperClassName, placeholder, ...props }: ChatSearchProps): import("react").JSX.Element;
124
127
  /**
125
128
  * The scrolling part of the list. Put a `ConversationList` in it — or a
126
129
  * `ConversationsLoading`, an `Empty` — and anything that belongs after
@@ -70,6 +70,14 @@ interface ContentProps extends Omit<StyledProps<typeof BaseDialog.Popup>, "title
70
70
  * set, the header close button is never shown — dismiss via the actions.
71
71
  */
72
72
  actions?: ReactNode;
73
+ /**
74
+ * A quiet footnote at the panel's foot — the limit, cost or policy that
75
+ * frames the decision without being it ("You may change these up to five
76
+ * times a week."). Description ink at `text-xs`, at the action row's
77
+ * start with the actions at its end; when the row runs short of room it
78
+ * takes a line of its own above them. One short sentence.
79
+ */
80
+ caption?: ReactNode;
73
81
  /**
74
82
  * Header close control. Only applies when `actions` is absent.
75
83
  * @default true
@@ -83,7 +91,7 @@ interface ContentProps extends Omit<StyledProps<typeof BaseDialog.Popup>, "title
83
91
  * full control, compose the parts directly (`Dialog.Portal` /
84
92
  * `Dialog.Backdrop` / `Dialog.Popup`).
85
93
  */
86
- declare function Content({ icon, title, description, consequences, warning, actions, showClose, children, className, ...props }: ContentProps): import("react").JSX.Element;
94
+ declare function Content({ icon, title, description, consequences, warning, actions, caption, showClose, children, className, ...props }: ContentProps): import("react").JSX.Element;
87
95
  /**
88
96
  * Near-fullscreen popup — the viewport minus a breathing ring, floating over
89
97
  * a backdrop (the page stays visible through the gap, so it dims like any