@mechane-ai/elements 0.10.0 → 0.11.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 (40) hide show
  1. package/dist/ai.js +56 -40
  2. package/dist/{categorical-values-DLRE4EEW.js → categorical-values-FYc43JCa.js} +2 -2
  3. package/dist/{chart-frame-et6f6Vhg.js → chart-frame-Bczk5sWj.js} +1 -1
  4. package/dist/{chart-input-CdLkFomi.js → chart-input-CbzVN76m.js} +2 -2
  5. package/dist/charts/cartesian.js +6 -6
  6. package/dist/charts/distribution.js +2 -2
  7. package/dist/charts/graph.js +2 -2
  8. package/dist/charts/hierarchy.js +3 -3
  9. package/dist/charts/matrix.js +2 -2
  10. package/dist/charts/timeline.js +15 -14
  11. package/dist/charts.js +1 -1
  12. package/dist/{code-block-D77maJBB.js → code-block-B7xzM3tD.js} +1 -1
  13. package/dist/collections.js +71 -38
  14. package/dist/content/code.js +1 -1
  15. package/dist/content/diff.js +2 -2
  16. package/dist/content/link.js +1 -1
  17. package/dist/content/markdown.js +2 -2
  18. package/dist/content/tree.js +2 -2
  19. package/dist/{content-link-BpSZeTNK.js → content-link-CatGOrbo.js} +1 -1
  20. package/dist/content.js +3 -3
  21. package/dist/elements.css +120 -50
  22. package/dist/feedback.js +1 -1
  23. package/dist/forms/dates.js +1 -1
  24. package/dist/forms.js +1 -1
  25. package/dist/index.js +1 -1
  26. package/dist/layout.js +1 -1
  27. package/dist/navigation/commands.js +1 -1
  28. package/dist/packages/ai/src/conversation.d.ts +14 -2
  29. package/dist/packages/ai/src/index.d.ts +1 -1
  30. package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
  31. package/dist/packages/collections/src/index.d.ts +1 -0
  32. package/dist/packages/collections/src/inspector.d.ts +6 -3
  33. package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
  34. package/dist/{pierre-tree-BFxEuxwb.js → pierre-tree-D47uA7lb.js} +2 -2
  35. package/dist/{src-Be7NLG8c.js → src-C_heP5kL.js} +82 -60
  36. package/dist/{src-sU9b0oZW.js → src-D05isEh_.js} +739 -255
  37. package/dist/{src-CBspCKfO.js → src-DXsGTJgv.js} +1 -1
  38. package/dist/tokens.js +24 -24
  39. package/package.json +1 -1
  40. package/packages/foundations/src/tokens.stylex.ts +48 -48
package/dist/content.js CHANGED
@@ -1,7 +1,7 @@
1
- import { C as e, E as t, _ as n, g as r } from "./src-sU9b0oZW.js";
1
+ import { C as e, E as t, _ as n, g as r } from "./src-D05isEh_.js";
2
2
  import { t as i } from "./viewer-styles-CpHqp5Qv.js";
3
- import { t as a } from "./code-block-D77maJBB.js";
4
- import { t as o } from "./content-link-BpSZeTNK.js";
3
+ import { t as a } from "./code-block-B7xzM3tD.js";
4
+ import { t as o } from "./content-link-CatGOrbo.js";
5
5
  import * as s from "@stylexjs/stylex";
6
6
  import { useCallback as c, useEffect as l, useRef as u, useState as d } from "react";
7
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
package/dist/elements.css CHANGED
@@ -83,30 +83,30 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
83
83
  }
84
84
 
85
85
  :root, .x6mvf7n {
86
- --xervi70: #993029;
87
- --x1scgmo8: #994a29;
88
- --xu5wby9: #992949;
89
- --x1lp5jki: #992968;
90
- --x1y31bxi: #992990;
91
- --xzwo5h9: #7f2999;
92
- --xt4yqhf: #612999;
93
- --x15jwn1l: #432999;
94
- --x1mq9snr: #292999;
95
- --x1uo55dg: #294799;
96
- --xiuxd98: #296199;
97
- --x1ge60hr: #277693;
98
- --x30ad9v: #22797f;
99
- --xjm3f38: #217b72;
100
- --xclnw48: #217d63;
101
- --x1deadh4: #217d51;
102
- --xh5lcut: #227f3f;
103
- --xhi6zkb: #227f2a;
104
- --xwl956u: #327d21;
105
- --xibm5mh: #4c7b21;
106
- --xyheekc: #64751f;
107
- --x1d3dkqv: #7b7021;
108
- --xh8xsxd: #8d6725;
109
- --x9u8ejr: #995829;
86
+ --xervi70: #e3291c;
87
+ --x1scgmo8: #e1571c;
88
+ --xu5wby9: #e31c54;
89
+ --x1lp5jki: #e31c8d;
90
+ --x1y31bxi: #e31cd2;
91
+ --xzwo5h9: #b51ce3;
92
+ --xt4yqhf: #801ce3;
93
+ --x15jwn1l: #4a1ce3;
94
+ --x1mq9snr: #1c1ce3;
95
+ --x1uo55dg: #1c51e3;
96
+ --xiuxd98: #1c80e3;
97
+ --x1ge60hr: #178db8;
98
+ --x30ad9v: #13919a;
99
+ --xjm3f38: #129487;
100
+ --xclnw48: #139671;
101
+ --x1deadh4: #139858;
102
+ --xh5lcut: #13983d;
103
+ --xhi6zkb: #13981e;
104
+ --xwl956u: #2b9813;
105
+ --xibm5mh: #519412;
106
+ --xyheekc: #748d11;
107
+ --x1d3dkqv: #948412;
108
+ --xh8xsxd: #b17816;
109
+ --x9u8ejr: #d1661a;
110
110
  }
111
111
 
112
112
  :root, .x1e8hs47 {
@@ -189,30 +189,30 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
189
189
  }
190
190
 
191
191
  .x1on89sr.x1on89sr, .x1on89sr.x1on89sr:root {
192
- --xervi70: #e7938d;
193
- --x1uo55dg: #8da5e7;
194
- --xiuxd98: #8dbae7;
195
- --x1ge60hr: #8dcfe7;
196
- --x30ad9v: #8de1e7;
197
- --xjm3f38: #8de7de;
198
- --xclnw48: #8de7ce;
199
- --x1deadh4: #8de7bc;
200
- --xh5lcut: #8de7aa;
201
- --xhi6zkb: #8de795;
202
- --xwl956u: #9ee78d;
203
- --x1scgmo8: #e7a88d;
204
- --xibm5mh: #b9e78d;
205
- --xyheekc: #d5e78d;
206
- --x1d3dkqv: #e7dc8d;
207
- --xh8xsxd: #e7c68d;
208
- --x9u8ejr: #e7b38d;
209
- --xu5wby9: #e78da7;
210
- --x1lp5jki: #e78dc0;
211
- --x1y31bxi: #e78ddf;
212
- --xzwo5h9: #d28de7;
213
- --xt4yqhf: #ba8de7;
214
- --x15jwn1l: #a28de7;
215
- --x1mq9snr: #8d8de7;
192
+ --xervi70: #f07d75;
193
+ --x1uo55dg: #7596f0;
194
+ --xiuxd98: #75b3f0;
195
+ --x1ge60hr: #75cff0;
196
+ --x30ad9v: #75e8f0;
197
+ --xjm3f38: #75f0e3;
198
+ --xclnw48: #75f0cd;
199
+ --x1deadh4: #75f0b5;
200
+ --xh5lcut: #75f09c;
201
+ --xhi6zkb: #75f080;
202
+ --xwl956u: #8cf075;
203
+ --x1scgmo8: #f09a75;
204
+ --xibm5mh: #b0f075;
205
+ --xyheekc: #d7f075;
206
+ --x1d3dkqv: #f0e175;
207
+ --xh8xsxd: #f0c375;
208
+ --x9u8ejr: #f0a875;
209
+ --xu5wby9: #f07598;
210
+ --x1lp5jki: #f075bb;
211
+ --x1y31bxi: #f075e6;
212
+ --xzwo5h9: #d375f0;
213
+ --xt4yqhf: #b375f0;
214
+ --x15jwn1l: #9275f0;
215
+ --x1mq9snr: #7575f0;
216
216
  }
217
217
 
218
218
  .x8g9w8d.x8g9w8d, .x8g9w8d.x8g9w8d:root {
@@ -940,6 +940,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
940
940
  column-gap: var(--x1qq5i99);
941
941
  }
942
942
 
943
+ .x9vvk8s {
944
+ container-name: inspector;
945
+ }
946
+
943
947
  .x14ut1dr {
944
948
  container-name: toolbar;
945
949
  }
@@ -1132,6 +1136,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1132
1136
  grid-template-columns: 16px minmax(0, 1fr);
1133
1137
  }
1134
1138
 
1139
+ .x4ruv2j {
1140
+ grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
1141
+ }
1142
+
1135
1143
  .xezdspq {
1136
1144
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
1137
1145
  }
@@ -1156,8 +1164,8 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1156
1164
  grid-template-columns: minmax(110px, 1fr) minmax(120px, 2fr) minmax(110px, 1fr);
1157
1165
  }
1158
1166
 
1159
- .x135t7h {
1160
- grid-template-columns: repeat(auto-fill,minmax(var(--x1hdxzrk),1fr));
1167
+ .xf46oua {
1168
+ grid-template-columns: repeat(auto-fill,minmax(var(--xymjgzc),1fr));
1161
1169
  }
1162
1170
 
1163
1171
  .xpuu00s {
@@ -1492,6 +1500,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1492
1500
  text-overflow: ellipsis;
1493
1501
  }
1494
1502
 
1503
+ .xn80e1m {
1504
+ text-transform: capitalize;
1505
+ }
1506
+
1495
1507
  .xda060z {
1496
1508
  text-underline-offset: 3px;
1497
1509
  }
@@ -1776,6 +1788,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1776
1788
  outline-offset: 2px;
1777
1789
  }
1778
1790
 
1791
+ .x12ijfkc:focus-visible {
1792
+ outline-offset: 4px;
1793
+ }
1794
+
1779
1795
  .x17c0hmk:focus-visible {
1780
1796
  outline-offset: calc(-1 * var(--xxx3t85));
1781
1797
  }
@@ -1916,6 +1932,16 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1916
1932
  text-decoration-line: underline;
1917
1933
  }
1918
1934
 
1935
+ @container inspector (width <= 860px) {
1936
+ .xdctr63.xdctr63 {
1937
+ border-inline-start-width: 0;
1938
+ }
1939
+
1940
+ .x1yamub6.x1yamub6 {
1941
+ display: flex;
1942
+ }
1943
+ }
1944
+
1919
1945
  @container (width <= 420px) {
1920
1946
  .x1mf2q18.x1mf2q18 {
1921
1947
  display: none;
@@ -1933,6 +1959,20 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
1933
1959
  grid-template-columns: minmax(0, 1fr);
1934
1960
  }
1935
1961
  }
1962
+
1963
+ @container inspector (width <= 860px) {
1964
+ .x1y7acmc.x1y7acmc {
1965
+ grid-template-columns: minmax(0, 1fr);
1966
+ }
1967
+
1968
+ .xhuqrux.xhuqrux {
1969
+ padding-inline-start: 0;
1970
+ }
1971
+
1972
+ .x7cfggw.x7cfggw {
1973
+ position: static;
1974
+ }
1975
+ }
1936
1976
  }
1937
1977
 
1938
1978
  @layer priority5 {
@@ -2008,6 +2048,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2008
2048
  border-top-style: solid;
2009
2049
  }
2010
2050
 
2051
+ .x972fbf {
2052
+ border-top-width: 0;
2053
+ }
2054
+
2011
2055
  .x178xt8z {
2012
2056
  border-top-width: 1px;
2013
2057
  }
@@ -2164,6 +2208,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2164
2208
  margin-bottom: var(--x1drqizm);
2165
2209
  }
2166
2210
 
2211
+ .x1xxlxpq {
2212
+ margin-bottom: var(--x1qq5i99);
2213
+ }
2214
+
2167
2215
  .x1jfksii {
2168
2216
  margin-bottom: var(--xxhyxt);
2169
2217
  }
@@ -2448,6 +2496,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2448
2496
  padding-bottom: var(--xxhyxt);
2449
2497
  }
2450
2498
 
2499
+ .xexx8yu {
2500
+ padding-top: 0;
2501
+ }
2502
+
2451
2503
  .x14y0u4g {
2452
2504
  padding-top: var(--x13hs181);
2453
2505
  }
@@ -2468,6 +2520,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2468
2520
  right: 0;
2469
2521
  }
2470
2522
 
2523
+ .x14ijc3v {
2524
+ scroll-margin-top: var(--x1qq5i99);
2525
+ }
2526
+
2471
2527
  .x13vifvy {
2472
2528
  top: 0;
2473
2529
  }
@@ -2484,6 +2540,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2484
2540
  top: var(--x1drqizm);
2485
2541
  }
2486
2542
 
2543
+ .xqfmuo8 {
2544
+ top: var(--x1qq5i99);
2545
+ }
2546
+
2487
2547
  .x1m7q2ru {
2488
2548
  top: var(--x1xijsos);
2489
2549
  }
@@ -2679,6 +2739,16 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
2679
2739
  .x15x95ik:empty {
2680
2740
  min-height: 0;
2681
2741
  }
2742
+
2743
+ @container inspector (width <= 860px) {
2744
+ .x1mg79u0.x1mg79u0 {
2745
+ border-top-width: 1px;
2746
+ }
2747
+
2748
+ .xdz7uhd.xdz7uhd {
2749
+ padding-top: var(--x1qq5i99);
2750
+ }
2751
+ }
2682
2752
  }
2683
2753
 
2684
2754
  @layer priority6 {
package/dist/feedback.js CHANGED
@@ -1 +1 @@
1
- export { t as AsyncRegion, n as ContentReveal, d as EmptyState, s as Loading, a as Meter, f as Notice, o as Progress, c as Skeleton, l as SkeletonText, u as Spinner, r as Toaster, i as toast } from "./src-CBspCKfO.js";
1
+ export { t as AsyncRegion, n as ContentReveal, d as EmptyState, s as Loading, a as Meter, f as Notice, o as Progress, c as Skeleton, l as SkeletonText, u as Spinner, r as Toaster, i as toast } from "./src-DXsGTJgv.js";
@@ -1,4 +1,4 @@
1
- import { C as e, E as t } from "../src-sU9b0oZW.js";
1
+ import { C as e, E as t } from "../src-D05isEh_.js";
2
2
  import { r as n } from "../src-Cs0dRc4X.js";
3
3
  import "@stylexjs/stylex";
4
4
  import { useState as r } from "react";
package/dist/forms.js CHANGED
@@ -1 +1 @@
1
- export { g as AgentAvatarPicker, r as Checkbox, _ as Combobox, c as Field, d as Fieldset, f as FilePicker, l as Input, p as InputGroup, m as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, h as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-Be7NLG8c.js";
1
+ export { g as AgentAvatarPicker, r as Checkbox, _ as Combobox, c as Field, d as Fieldset, f as FilePicker, l as Input, p as InputGroup, m as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, h as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-C_heP5kL.js";
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-sU9b0oZW.js";
1
+ export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-D05isEh_.js";
package/dist/layout.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as e } from "./src-Cs0dRc4X.js";
2
- import { C as t, i as n, n as r, w as i } from "./src-sU9b0oZW.js";
2
+ import { C as t, i as n, n as r, w as i } from "./src-D05isEh_.js";
3
3
  import { mergeProps as a } from "@base-ui/react/merge-props";
4
4
  import * as o from "@stylexjs/stylex";
5
5
  import { createContext as s, useContext as c, useEffect as l, useId as u, useRef as d, useState as f } from "react";
@@ -1,4 +1,4 @@
1
- import { l as e } from "../src-Be7NLG8c.js";
1
+ import { l as e } from "../src-C_heP5kL.js";
2
2
  import { s as t } from "../src-Cs0dRc4X.js";
3
3
  import { n } from "../navigation-D2_sGy3C.js";
4
4
  import "@stylexjs/stylex";
@@ -1,8 +1,9 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode, RefObject } from 'react';
2
2
  export type ConversationRootProps = {
3
3
  readonly children: ReactNode;
4
4
  readonly initialPosition?: 'start' | 'end';
5
5
  readonly follow?: boolean;
6
+ readonly viewportRef?: RefObject<HTMLDivElement | null> | undefined;
6
7
  };
7
8
  export type ConversationViewportProps = {
8
9
  readonly label: string;
@@ -20,16 +21,27 @@ export type ConversationItemProps = {
20
21
  export type ConversationJumpProps = {
21
22
  readonly label?: string;
22
23
  };
23
- declare function ConversationRoot({ children, initialPosition, follow }: ConversationRootProps): ReactNode;
24
+ export type ConversationControlsProps = {
25
+ readonly children: ReactNode;
26
+ };
27
+ export type ConversationLatestButtonProps = {
28
+ readonly label: string;
29
+ readonly onActivate?: () => void;
30
+ };
31
+ declare function ConversationRoot({ children, initialPosition, follow, viewportRef, }: ConversationRootProps): ReactNode;
24
32
  declare function ConversationViewport({ label, children, scrollRestorationId }: ConversationViewportProps): ReactNode;
25
33
  declare function ConversationContent({ children, streaming }: ConversationContentProps): ReactNode;
26
34
  declare function ConversationItem({ messageId, children }: ConversationItemProps): ReactNode;
35
+ declare function ConversationControls({ children }: ConversationControlsProps): ReactNode;
27
36
  declare function ConversationJumpToLatest({ label }: ConversationJumpProps): ReactNode;
37
+ declare function ConversationLatestButton({ label, onActivate }: ConversationLatestButtonProps): ReactNode;
28
38
  export declare const Conversation: {
29
39
  Root: typeof ConversationRoot;
30
40
  Viewport: typeof ConversationViewport;
31
41
  Content: typeof ConversationContent;
32
42
  Item: typeof ConversationItem;
43
+ Controls: typeof ConversationControls;
44
+ LatestButton: typeof ConversationLatestButton;
33
45
  JumpToLatest: typeof ConversationJumpToLatest;
34
46
  };
35
47
  export {};
@@ -1,6 +1,6 @@
1
1
  export type { ApprovalProps } from './approval.tsx';
2
2
  export { Approval } from './approval.tsx';
3
- export type { ConversationRootProps, ConversationViewportProps, ConversationContentProps, ConversationItemProps, ConversationJumpProps, } from './conversation.tsx';
3
+ export type { ConversationRootProps, ConversationViewportProps, ConversationContentProps, ConversationItemProps, ConversationJumpProps, ConversationControlsProps, ConversationLatestButtonProps, } from './conversation.tsx';
4
4
  export { Conversation } from './conversation.tsx';
5
5
  export type { MessageKind, MessageProps, MessageAttachmentProps } from './message.tsx';
6
6
  export { Message, MessageAttachment } from './message.tsx';
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode, Ref } from 'react';
2
2
  type WaterfallGeometry = {
3
3
  readonly kind: 'interval';
4
4
  readonly start: number;
@@ -27,8 +27,9 @@ type WaterfallProps = {
27
27
  readonly summaryLabel: string;
28
28
  readonly emptyLabel: string;
29
29
  readonly selectedId: string | undefined;
30
+ readonly selectedRef?: Ref<HTMLButtonElement> | undefined;
30
31
  readonly onSelect: (id: string) => void;
31
32
  readonly formatOffset: (offset: number) => string;
32
33
  };
33
- export declare function Waterfall({ items, start, end, label, rowLabel, summaryLabel, emptyLabel, selectedId, onSelect, formatOffset, }: WaterfallProps): ReactNode;
34
+ export declare function Waterfall({ items, start, end, label, rowLabel, summaryLabel, emptyLabel, selectedId, selectedRef, onSelect, formatOffset, }: WaterfallProps): ReactNode;
34
35
  export {};
@@ -4,6 +4,7 @@ export type { DataTableColumn, DataTableSort, DataTableWindow, DataTableProps, D
4
4
  export { DataTable, DataTableText } from './data-table.tsx';
5
5
  export type { CollectionEndProps, CollectionScrollProps } from './collection-scroll.tsx';
6
6
  export { CollectionEnd, CollectionScroll } from './collection-scroll.tsx';
7
+ export type { InspectorProps } from './inspector.tsx';
7
8
  export { Inspector, Details } from './inspector.tsx';
8
9
  export { ListFooter } from './list-footer.tsx';
9
10
  export { MetricGrid, Metric } from './metrics.tsx';
@@ -1,8 +1,11 @@
1
- import type { ComponentProps, ReactNode } from 'react';
2
- type InspectorProps = ComponentProps<'div'> & {
1
+ import type { ComponentProps, ReactNode, RefObject } from 'react';
2
+ export type InspectorProps = ComponentProps<'div'> & {
3
3
  readonly master: ReactNode;
4
4
  readonly detail: ReactNode;
5
5
  readonly label: string;
6
+ readonly masterLabel: string;
7
+ readonly revealKey?: string | undefined;
8
+ readonly returnFocusRef?: RefObject<HTMLElement | null>;
6
9
  };
7
10
  type DetailItem = {
8
11
  readonly label: string;
@@ -11,6 +14,6 @@ type DetailItem = {
11
14
  type DetailsProps = ComponentProps<'dl'> & {
12
15
  readonly items: ReadonlyArray<DetailItem>;
13
16
  };
14
- export declare function Inspector({ master, detail, label, ...props }: InspectorProps): ReactNode;
17
+ export declare function Inspector({ master, detail, label, masterLabel, revealKey, returnFocusRef, ...props }: InspectorProps): ReactNode;
15
18
  export declare function Details({ items, ...props }: DetailsProps): ReactNode;
16
19
  export {};
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
2
  export declare const seededAgentAvatarShapes: readonly ["spark", "facet", "orbit", "loop", "clover", "petal", "wheel", "compass", "grid", "steps", "chevron", "wave", "ripple", "arch", "bridge", "peak", "zigzag", "helix", "kite", "cube", "prism", "frame", "brackets", "diamond", "hexagon", "signal", "crest", "bolt", "link", "split", "aster", "portal"];
3
- export declare const agentAvatarShapes: readonly ["spark", "facet", "orbit", "loop", "clover", "petal", "wheel", "compass", "grid", "steps", "chevron", "wave", "ripple", "arch", "bridge", "peak", "zigzag", "helix", "kite", "cube", "prism", "frame", "brackets", "diamond", "hexagon", "signal", "crest", "bolt", "link", "split", "aster", "portal"];
3
+ export declare const agentAvatarShapes: readonly ["spark", "facet", "orbit", "loop", "clover", "petal", "wheel", "compass", "grid", "steps", "chevron", "wave", "ripple", "arch", "bridge", "peak", "zigzag", "helix", "kite", "cube", "prism", "frame", "brackets", "diamond", "hexagon", "signal", "crest", "bolt", "link", "split", "aster", "portal", "rosette", "blossom", "pinwheel", "lantern", "lattice", "mosaic", "dahlia", "lotus", "mandala", "braid", "gem", "eclipse", "gyre", "crossweave", "tessera", "triad"];
4
4
  export type AgentAvatarShape = (typeof agentAvatarShapes)[number];
5
5
  export declare const agentAvatarGlyphs: Readonly<Record<AgentAvatarShape, ReactNode>>;
@@ -1,5 +1,5 @@
1
- import { c as e } from "./src-sU9b0oZW.js";
2
- import { l as t } from "./src-Be7NLG8c.js";
1
+ import { c as e } from "./src-D05isEh_.js";
2
+ import { l as t } from "./src-C_heP5kL.js";
3
3
  import { conditions as n } from "./tokens.js";
4
4
  import { r } from "./pierre-theme-D9hnHv3Z.js";
5
5
  import * as i from "@stylexjs/stylex";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./style-composition-uYlczSsB.js";
2
- import { b as t, i as n, s as r, v as i, x as a } from "./src-sU9b0oZW.js";
2
+ import { b as t, i as n, s as r, v as i, x as a } from "./src-D05isEh_.js";
3
3
  import { mergeProps as o } from "@base-ui/react/merge-props";
4
4
  import * as s from "@stylexjs/stylex";
5
5
  import { useId as c } from "react";
@@ -471,65 +471,87 @@ function J({ value: e, onValueChange: n, disabled: r = !1 }) {
471
471
  let o = c(), s = c();
472
472
  return /* @__PURE__ */ u("div", {
473
473
  className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
474
- children: [/* @__PURE__ */ u("div", {
475
- className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
476
- children: [/* @__PURE__ */ l("span", {
477
- id: o,
478
- className: "x153jb6y xy8obcc xas2l8k xk4h15q",
479
- children: "Shape"
480
- }), /* @__PURE__ */ l(g, {
481
- "aria-labelledby": o,
482
- value: e.shape,
483
- onValueChange: (t) => n({
484
- ...e,
485
- shape: t
486
- }),
487
- disabled: r,
488
- className: "xrvj5dj x135t7h x11iowk6 xunmzkg",
489
- children: a.map((t) => /* @__PURE__ */ l(h.Root, {
490
- value: t,
491
- "aria-label": t,
492
- title: t,
493
- className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x1udcv4t xidce53 xaeotn9 xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d x1ok0vyi xjbqb8w x1ypdohk x1bn55bi xgm7wsc x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
494
- children: /* @__PURE__ */ l(i, {
495
- seed: t,
496
- appearance: {
497
- ...e,
498
- shape: t
499
- }
500
- })
501
- }, t))
502
- })]
503
- }), /* @__PURE__ */ u("div", {
504
- className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
505
- children: [/* @__PURE__ */ l("span", {
506
- id: s,
507
- className: "x153jb6y xy8obcc xas2l8k xk4h15q",
508
- children: "Color"
509
- }), /* @__PURE__ */ l(g, {
510
- "aria-labelledby": s,
511
- value: e.color,
512
- onValueChange: (t) => n({
513
- ...e,
514
- color: t
515
- }),
516
- disabled: r,
517
- className: "xrvj5dj x135t7h x11iowk6 xunmzkg",
518
- children: t.map((t) => /* @__PURE__ */ l(h.Root, {
519
- value: t,
520
- "aria-label": t,
521
- title: t,
522
- className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 x1udcv4t xidce53 xaeotn9 xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d x1ok0vyi xjbqb8w x1ypdohk x1bn55bi xgm7wsc x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
523
- children: /* @__PURE__ */ l(i, {
524
- seed: t,
525
- appearance: {
526
- ...e,
527
- color: t
528
- }
529
- })
530
- }, t))
531
- })]
532
- })]
474
+ children: [
475
+ /* @__PURE__ */ u("div", {
476
+ className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli",
477
+ children: [/* @__PURE__ */ l(i, {
478
+ seed: "preview",
479
+ appearance: e,
480
+ size: "lg"
481
+ }), /* @__PURE__ */ u("div", {
482
+ className: "x78zum5 xdt5ytf xeuugli",
483
+ children: [/* @__PURE__ */ l("span", {
484
+ className: "xbixft xtqrqnz xk4h15q x1778rvt xn80e1m",
485
+ children: e.shape
486
+ }), /* @__PURE__ */ l("span", {
487
+ className: "x153jb6y xy8obcc xas2l8k xn80e1m",
488
+ children: e.color
489
+ })]
490
+ })]
491
+ }),
492
+ /* @__PURE__ */ u("div", {
493
+ className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
494
+ children: [/* @__PURE__ */ l("span", {
495
+ id: o,
496
+ className: "x153jb6y xy8obcc xas2l8k xk4h15q",
497
+ children: "Shape"
498
+ }), /* @__PURE__ */ l(g, {
499
+ "aria-labelledby": o,
500
+ value: e.shape,
501
+ onValueChange: (t) => n({
502
+ ...e,
503
+ shape: t
504
+ }),
505
+ disabled: r,
506
+ className: "xrvj5dj xf46oua x11iowk6 xunmzkg",
507
+ children: a.map((t) => /* @__PURE__ */ l(h.Root, {
508
+ value: t,
509
+ "aria-label": t,
510
+ title: t,
511
+ className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 xelkyza xidce53 x1uey4wk xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
512
+ children: /* @__PURE__ */ l(i, {
513
+ seed: t,
514
+ appearance: {
515
+ ...e,
516
+ shape: t
517
+ },
518
+ size: "md"
519
+ })
520
+ }, t))
521
+ })]
522
+ }),
523
+ /* @__PURE__ */ u("div", {
524
+ className: "x78zum5 xdt5ytf x1hnptsi xeuugli",
525
+ children: [/* @__PURE__ */ l("span", {
526
+ id: s,
527
+ className: "x153jb6y xy8obcc xas2l8k xk4h15q",
528
+ children: "Color"
529
+ }), /* @__PURE__ */ l(g, {
530
+ "aria-labelledby": s,
531
+ value: e.color,
532
+ onValueChange: (t) => n({
533
+ ...e,
534
+ color: t
535
+ }),
536
+ disabled: r,
537
+ className: "xrvj5dj xf46oua x11iowk6 xunmzkg",
538
+ children: t.map((t) => /* @__PURE__ */ l(h.Root, {
539
+ value: t,
540
+ "aria-label": t,
541
+ title: t,
542
+ className: "x3nfvp2 x6s0dn4 xl56j7k x9f619 xelkyza xidce53 x1uey4wk xwu7q15 x1s01oa9 xmkeg23 x1y0btm7 x9r1u3d xy32g2j xjbqb8w x1ypdohk x1bn55bi xgm7wsc x19fjeqo x1480za7 x13qnu6 x9v5kkp x19rmrnh x7s97pk x1m8qfh3 xwj21n9",
543
+ children: /* @__PURE__ */ l(i, {
544
+ seed: t,
545
+ appearance: {
546
+ ...e,
547
+ color: t
548
+ },
549
+ size: "md"
550
+ })
551
+ }, t))
552
+ })]
553
+ })
554
+ ]
533
555
  });
534
556
  }
535
557
  // packages/forms/src/form-controls.tsx