@mechane-ai/elements 0.9.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 (78) hide show
  1. package/NOTICE +24 -0
  2. package/README.md +7 -1
  3. package/dist/ai.js +153 -133
  4. package/dist/{categorical-values-DYRiw5Qd.js → categorical-values-FYc43JCa.js} +4 -4
  5. package/dist/{chart-frame-RL1hCWBC.js → chart-frame-Bczk5sWj.js} +22 -14
  6. package/dist/{chart-input-Bm3ot1yD.js → chart-input-CbzVN76m.js} +2 -2
  7. package/dist/charts/cartesian.js +529 -450
  8. package/dist/charts/distribution.js +302 -261
  9. package/dist/charts/graph.js +137 -103
  10. package/dist/charts/hierarchy.js +7 -7
  11. package/dist/charts/matrix.js +187 -174
  12. package/dist/charts/timeline.js +119 -92
  13. package/dist/charts.js +1 -1
  14. package/dist/code-block-B7xzM3tD.js +180 -0
  15. package/dist/collections.js +319 -242
  16. package/dist/content/code.js +1 -1
  17. package/dist/content/diff.js +81 -63
  18. package/dist/content/link.js +1 -1
  19. package/dist/content/markdown.js +115 -96
  20. package/dist/content/tree.js +43 -38
  21. package/dist/{content-link-BrPrpBof.js → content-link-CatGOrbo.js} +6 -2
  22. package/dist/content.js +172 -153
  23. package/dist/{assets/stylex.css → elements.css} +585 -229
  24. package/dist/feedback.js +1 -1
  25. package/dist/forms/dates.js +25 -25
  26. package/dist/forms.js +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/layout.js +239 -192
  29. package/dist/navigation/commands.js +45 -42
  30. package/dist/{navigation-yxK3iQXo.js → navigation-D2_sGy3C.js} +2 -2
  31. package/dist/navigation.js +10 -10
  32. package/dist/overlays.js +1 -1
  33. package/dist/packages/ai/src/conversation.d.ts +14 -2
  34. package/dist/packages/ai/src/index.d.ts +1 -1
  35. package/dist/packages/charts/src/cartesian/bar-chart.d.ts +5 -0
  36. package/dist/packages/charts/src/cartesian/index.d.ts +2 -2
  37. package/dist/packages/charts/src/chart-frame.d.ts +3 -0
  38. package/dist/packages/charts/src/chart-theme.d.ts +2 -1
  39. package/dist/packages/charts/src/distribution/distribution-plot.d.ts +22 -2
  40. package/dist/packages/charts/src/timeline/waterfall.d.ts +3 -2
  41. package/dist/packages/collections/src/collection-scroll.d.ts +2 -1
  42. package/dist/packages/collections/src/index.d.ts +1 -0
  43. package/dist/packages/collections/src/inspector.d.ts +6 -3
  44. package/dist/packages/content/src/diff/pierre-diff.d.ts +2 -1
  45. package/dist/packages/content/src/viewer-styles.d.ts +64 -0
  46. package/dist/packages/core/src/agent-avatar-glyphs.d.ts +1 -1
  47. package/dist/packages/core/src/index.d.ts +1 -1
  48. package/dist/packages/core/src/surfaces.d.ts +5 -0
  49. package/dist/packages/feedback/src/index.d.ts +4 -1
  50. package/dist/packages/feedback/src/toast.d.ts +5 -27
  51. package/dist/packages/forms/src/field-styles.d.ts +9 -0
  52. package/dist/packages/forms/src/selection-styles.d.ts +18 -2
  53. package/dist/packages/foundations/src/overlay-styles.d.ts +3 -1
  54. package/dist/packages/foundations/src/popup-styles.d.ts +7 -0
  55. package/dist/packages/foundations/src/tokens.stylex.d.ts +9 -0
  56. package/dist/packages/layout/src/frame.stylex.d.ts +1 -0
  57. package/dist/packages/layout/src/sidebar.d.ts +3 -1
  58. package/dist/packages/overlays/src/alert-dialog.d.ts +5 -2
  59. package/dist/packages/overlays/src/dialog.d.ts +7 -3
  60. package/dist/pierre-diff--zsiHCCB.js +71 -0
  61. package/dist/pierre-theme-D9hnHv3Z.js +126 -0
  62. package/dist/{pierre-tree-CRk09rx7.js → pierre-tree-D47uA7lb.js} +3 -3
  63. package/dist/{src-Cc0Sadzr.js → src-C_heP5kL.js} +295 -221
  64. package/dist/src-Cs0dRc4X.js +617 -0
  65. package/dist/src-D05isEh_.js +1652 -0
  66. package/dist/src-DXsGTJgv.js +969 -0
  67. package/dist/tokens.js +33 -25
  68. package/dist/viewer-styles-CpHqp5Qv.js +70 -0
  69. package/package.json +2 -1
  70. package/packages/foundations/src/tokens.stylex.ts +55 -48
  71. package/styles.css +1 -1
  72. package/dist/code-block-B30xQKqg.js +0 -175
  73. package/dist/pierre-diff-CZdzgiYm.js +0 -66
  74. package/dist/pierre-theme-BpESNIsV.js +0 -96
  75. package/dist/popup-styles-CvtZDE2t.js +0 -135
  76. package/dist/src-CfDf8TY8.js +0 -466
  77. package/dist/src-DuuAmS-c.js +0 -360
  78. package/dist/src-elMBQ2Dh.js +0 -1087
@@ -1,6 +1,6 @@
1
- import { l as e } from "../src-Cc0Sadzr.js";
2
- import { s as t } from "../src-CfDf8TY8.js";
3
- import { n } from "../navigation-yxK3iQXo.js";
1
+ import { l as e } from "../src-C_heP5kL.js";
2
+ import { s as t } from "../src-Cs0dRc4X.js";
3
+ import { n } from "../navigation-D2_sGy3C.js";
4
4
  import "@stylexjs/stylex";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
6
  import { Autocomplete as a } from "@base-ui/react/autocomplete";
@@ -36,45 +36,48 @@ function u({ open: n, onOpenChange: o, title: s, commands: c, trigger: u, placeh
36
36
  return /* @__PURE__ */ i(t.Root, {
37
37
  open: n,
38
38
  onOpenChange: o,
39
- children: [u !== void 0 && /* @__PURE__ */ r(t.Trigger, { render: u }), /* @__PURE__ */ i(t.Portal, { children: [/* @__PURE__ */ r(t.Backdrop, {}), /* @__PURE__ */ r(t.Popup, { children: /* @__PURE__ */ i("div", {
40
- className: "x78zum5 xdt5ytf x1n8ia3y",
41
- children: [/* @__PURE__ */ r(t.Title, { children: s }), /* @__PURE__ */ i(a.Root, {
42
- items: c,
43
- itemToStringValue: (e) => e.label,
44
- inline: !0,
45
- open: !0,
46
- autoHighlight: "always",
47
- children: [
48
- /* @__PURE__ */ r(a.Input, {
49
- "aria-label": d,
50
- placeholder: d,
51
- render: /* @__PURE__ */ r(e, {})
52
- }),
53
- /* @__PURE__ */ r(a.List, {
54
- className: "x1717udv x1ghz6dp x1sslpiy x1odjw0f xish69e",
55
- children: (e) => /* @__PURE__ */ i(a.Item, {
56
- value: e,
57
- disabled: e.disabled,
58
- className: "x78zum5 x6s0dn4 xaml1ju x1uey4wk xwu7q15 xn9t2bk x5g2kb4 x1ok0vyi xbixft xpvm0e4 x1hz01jw xtqrqnz x1778rvt x1ypdohk xf2ykmf xd12npn xwj21n9 x1m8qfh3",
59
- onClick: () => {
60
- o(!1), e.onSelect();
61
- },
62
- children: [/* @__PURE__ */ i("span", {
63
- className: "x98rzlu xeuugli",
64
- children: [e.label, e.description !== void 0 && /* @__PURE__ */ r("span", {
65
- className: "x1lliihq x153jb6y xy8obcc xas2l8k",
66
- children: e.description
67
- })]
68
- }), e.shortcut !== void 0 && /* @__PURE__ */ r(l, { shortcut: e.shortcut })]
69
- }, e.id)
70
- }),
71
- /* @__PURE__ */ r(a.Empty, {
72
- className: "x1c8xbx5 x153jb6y xtqrqnz xjl7jj",
73
- children: f
74
- })
75
- ]
76
- })]
77
- }) })] })]
39
+ children: [u !== void 0 && /* @__PURE__ */ r(t.Trigger, { render: u }), /* @__PURE__ */ i(t.Portal, { children: [/* @__PURE__ */ r(t.Backdrop, { motion: "none" }), /* @__PURE__ */ r(t.Popup, {
40
+ motion: "none",
41
+ children: /* @__PURE__ */ i("div", {
42
+ className: "x78zum5 xdt5ytf x1n8ia3y",
43
+ children: [/* @__PURE__ */ r(t.Title, { children: s }), /* @__PURE__ */ i(a.Root, {
44
+ items: c,
45
+ itemToStringValue: (e) => e.label,
46
+ inline: !0,
47
+ open: !0,
48
+ autoHighlight: "always",
49
+ children: [
50
+ /* @__PURE__ */ r(a.Input, {
51
+ "aria-label": d,
52
+ placeholder: d,
53
+ render: /* @__PURE__ */ r(e, {})
54
+ }),
55
+ /* @__PURE__ */ r(a.List, {
56
+ className: "x1717udv x1ghz6dp x1sslpiy x1odjw0f xish69e",
57
+ children: (e) => /* @__PURE__ */ i(a.Item, {
58
+ value: e,
59
+ disabled: e.disabled,
60
+ className: "x78zum5 x9f619 x6s0dn4 xaml1ju x1uey4wk xwu7q15 xn9t2bk x5g2kb4 x1ok0vyi xbixft xpvm0e4 x1hz01jw xj57cvi xtqrqnz x1778rvt x1ypdohk xf2ykmf x1480za7 xd12npn xwj21n9 x1m8qfh3",
61
+ onClick: () => {
62
+ o(!1), e.onSelect();
63
+ },
64
+ children: [/* @__PURE__ */ i("span", {
65
+ className: "x98rzlu xeuugli xj0a0fe",
66
+ children: [e.label, e.description !== void 0 && /* @__PURE__ */ r("span", {
67
+ className: "x1lliihq x153jb6y xy8obcc xas2l8k",
68
+ children: e.description
69
+ })]
70
+ }), e.shortcut !== void 0 && /* @__PURE__ */ r(l, { shortcut: e.shortcut })]
71
+ }, e.id)
72
+ }),
73
+ /* @__PURE__ */ r(a.Empty, {
74
+ className: "x1c8xbx5 x153jb6y xtqrqnz xjl7jj",
75
+ children: f
76
+ })
77
+ ]
78
+ })]
79
+ })
80
+ })] })]
78
81
  });
79
82
  }
80
83
  export { u as CommandPalette, l as ShortcutHint, c as useCommandShortcuts };
@@ -4,7 +4,7 @@ import { jsx as t } from "react/jsx-runtime";
4
4
  import { ChevronRight as n } from "lucide-react";
5
5
  // packages/navigation/src/navigation.tsx
6
6
  function r(n) {
7
- return /* @__PURE__ */ t("nav", { ...e({ className: "x1hz01jw xtqrqnz x1778rvt x153jb6y" }, n) });
7
+ return /* @__PURE__ */ t("nav", { ...e({ className: "x1hz01jw xj57cvi xtqrqnz x1778rvt x153jb6y" }, n) });
8
8
  }
9
9
  function i(n) {
10
10
  return /* @__PURE__ */ t("ol", { ...e({ className: "x78zum5 x1a02dak x6s0dn4 x1hnptsi x3ct3a4 x1717udv x1ghz6dp" }, n) });
@@ -27,7 +27,7 @@ function s() {
27
27
  });
28
28
  }
29
29
  function c(n) {
30
- return /* @__PURE__ */ t("kbd", { ...e({ className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x14w6jbu xt970qd xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi x1r7kqkb x153jb6y xiard35 xy8obcc xas2l8k xuxw1ft" }, n) });
30
+ return /* @__PURE__ */ t("kbd", { ...e({ className: "x3nfvp2 x6s0dn4 xl56j7k xt4ypqs x14w6jbu xt970qd xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi x1r7kqkb x153jb6y xiard35 xj57cvi xy8obcc xas2l8k xuxw1ft" }, n) });
31
31
  }
32
32
  var l = {
33
33
  Root: r,
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./navigation-yxK3iQXo.js";
1
+ import { n as e, t } from "./navigation-D2_sGy3C.js";
2
2
  import { t as n } from "./style-composition-uYlczSsB.js";
3
3
  import { mergeProps as r } from "@base-ui/react/merge-props";
4
4
  import "@stylexjs/stylex";
@@ -10,15 +10,15 @@ function o({ items: e, selectedId: t, onNavigate: n, label: r = "Page sections",
10
10
  "aria-label": r,
11
11
  tabIndex: 0,
12
12
  ...{
13
- 0: { className: "x78zum5 x1j825kq xeuugli xw2csxc xso031l x1q0q8m5 x1qndepd x1hz01jw x12myhf4 x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
14
- 1: { className: "x78zum5 x1j825kq xeuugli xw2csxc x1q0q8m5 x1qndepd x1hz01jw x12myhf4 x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal x1qhh985" }
13
+ 0: { className: "x78zum5 xxhr3t xeuugli xw2csxc xso031l x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
14
+ 1: { className: "x78zum5 xxhr3t xeuugli xw2csxc x1q0q8m5 x1qndepd x1hz01jw xtqrqnz xj57cvi x1778rvt xvmahel x13qnu6 x9v5kkp x19rmrnh x1bqaal x1qhh985" }
15
15
  }[!!a | 0],
16
16
  children: e.map((e) => /* @__PURE__ */ i("a", {
17
17
  href: e.href,
18
18
  "aria-current": e.id === t ? "page" : void 0,
19
19
  ...{
20
- 0: { className: "x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk xlxy82 x1q0q8m5 x16stqrj xkrqix3 xuxw1ft x153jb6y x1mkgjtd x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
21
- 1: { className: "x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk xlxy82 x1q0q8m5 xkrqix3 xuxw1ft x1mkgjtd x13qnu6 x9v5kkp x19rmrnh x1bqaal xbixft xdjqune" }
20
+ 0: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x153jb6y x1mkgjtd x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x13qnu6 x9v5kkp x19rmrnh x1bqaal" },
21
+ 1: { className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 x2lah0s xid9utz xn9t2bk x1doqdfy xkrqix3 xuxw1ft x1mkgjtd x1s9zmfe x1kl8fbi x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 x13qnu6 x9v5kkp x19rmrnh x1bqaal xbixft xtawafa" }
22
22
  }[e.id === t | 0],
23
23
  onClick: (t) => {
24
24
  if (n === void 0 || t.defaultPrevented || t.button !== 0) return;
@@ -31,7 +31,7 @@ function o({ items: e, selectedId: t, onNavigate: n, label: r = "Page sections",
31
31
  }
32
32
  // packages/navigation/src/skip-link.tsx
33
33
  function s(e) {
34
- return /* @__PURE__ */ i("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 xkwijxb x174j0rr x1mvvolr x9f619 xvv7f4i x1ok0vyi xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
34
+ return /* @__PURE__ */ i("a", { ...r({ className: "xixxii4 x1ridm32 x12hha37 xkwijxb x174j0rr x1mvvolr x9f619 xvv7f4i xj0a0fe x1ok0vyi xpvm0e4 xbixft x1hz01jw xk4h15q xtqrqnz x1778rvt xvmahel xujl8zx x1wfrlr2 x1tkds87 x1de710j x1gnsi0 x1cm8ssg" }, e) });
35
35
  }
36
36
  // packages/navigation/src/tabs.tsx
37
37
  function c({ className: e, style: t, ...r }) {
@@ -40,7 +40,7 @@ function c({ className: e, style: t, ...r }) {
40
40
  ...n({
41
41
  className: e,
42
42
  style: t,
43
- styles: { className: "x1hz01jw xvmahel xeuugli" }
43
+ styles: { className: "x1hz01jw xj57cvi xtqrqnz x1778rvt xbixft xvmahel xeuugli xsg5m96 x7bu0ch x18eqmq0" }
44
44
  })
45
45
  });
46
46
  }
@@ -50,7 +50,7 @@ function l({ className: e, style: t, ...r }) {
50
50
  ...n({
51
51
  className: e,
52
52
  style: t,
53
- styles: { className: "x78zum5 x1j825kq xso031l x1q0q8m5 x1qndepd xw2csxc" }
53
+ styles: { className: "x78zum5 xxhr3t xeuugli xso031l x1q0q8m5 x1qndepd xw2csxc x16yzcw2 x1mxyneg xyjviii x1y2jzqp x12ub8kb xxwvzwo x1ci5vm9" }
54
54
  })
55
55
  });
56
56
  }
@@ -60,7 +60,7 @@ function u({ className: e, style: t, ...r }) {
60
60
  ...n({
61
61
  className: e,
62
62
  style: t,
63
- styles: { className: "x1hz01jw xvmahel xc342km xid9utz xn9t2bk xnjsko4 xjbqb8w xlxy82 x1q0q8m5 x16stqrj x153jb6y x1ypdohk x12myhf4 x1778rvt xuxw1ft x1wlwa7r x1wu4q4p x11v428d xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x1bqaal" }
63
+ styles: { className: "x1n2onr6 x9f619 x2lah0s x1hz01jw xj57cvi xvmahel xc342km xid9utz xn9t2bk x1doqdfy xjbqb8w x153jb6y x1ypdohk xtqrqnz x1778rvt xuxw1ft x1wlwa7r xyg3wme xoqm7u7 x1s928wv x1j6awrg x1ccaobo x1xrz1ek x3cntg4 xyhc2n1 x11v428d x1gkyb9z xv7chyw x1pgiufq xrzcr2b x1nten1d x1wzsryr x1hjdyp1 x1i5oxzy xx75q12 x7dn452 xwj21n9 x1m8qfh3 x13qnu6 x9v5kkp x19rmrnh x1bqaal" }
64
64
  })
65
65
  });
66
66
  }
@@ -70,7 +70,7 @@ function d({ className: e, style: t, ...r }) {
70
70
  ...n({
71
71
  className: e,
72
72
  style: t,
73
- styles: { className: "x1o3kwql x1k57tk5" }
73
+ styles: { className: "x1o3kwql xeuugli x1k57tk5 xcqfl4l xwqq6z6 x13qnu6 x9v5kkp x19rmrnh x7s97pk" }
74
74
  })
75
75
  });
76
76
  }
package/dist/overlays.js CHANGED
@@ -1 +1 @@
1
- export { o as AlertDialog, s as Dialog, a as Drawer, i as Menu, r as Popover, n as Preview, t as Tooltip } from "./src-CfDf8TY8.js";
1
+ export { o as AlertDialog, s as Dialog, a as Drawer, i as Menu, r as Popover, n as Preview, t as Tooltip } from "./src-Cs0dRc4X.js";
@@ -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';
@@ -22,4 +22,9 @@ export type BarChartProps = {
22
22
  readonly selection?: ChartSelection | undefined;
23
23
  readonly height?: number | undefined;
24
24
  };
25
+ export type BarChartPlaceholderProps = Pick<BarChartProps, 'description' | 'height'> & {
26
+ readonly title?: string | undefined;
27
+ readonly series?: ReadonlyArray<Pick<BarSeries, 'id' | 'label' | 'tone'>> | undefined;
28
+ };
29
+ export declare function BarChartPlaceholder({ title, description, series, height, }: BarChartPlaceholderProps): ReactNode;
25
30
  export declare function BarChart({ title, description, categories, series, domain, mode, formatValue, selection, height, }: BarChartProps): ReactNode;
@@ -1,5 +1,5 @@
1
- export type { BarSeries, BarChartProps } from './bar-chart.tsx';
2
- export { BarChart } from './bar-chart.tsx';
1
+ export type { BarSeries, BarChartProps, BarChartPlaceholderProps } from './bar-chart.tsx';
2
+ export { BarChart, BarChartPlaceholder } from './bar-chart.tsx';
3
3
  export type { BreakdownBarProps } from './breakdown-bar.tsx';
4
4
  export { BreakdownBar } from './breakdown-bar.tsx';
5
5
  export type { ScatterPoint, ScatterRange, ScatterRangeSelection, ScatterPlotProps } from './scatter-plot.tsx';
@@ -28,6 +28,9 @@ export declare function ChartDatumButton({ label, selected, onSelect, children,
28
28
  readonly onSelect?: (() => void) | undefined;
29
29
  readonly children: ReactNode;
30
30
  }): ReactNode;
31
+ export declare function ChartReadout({ children }: {
32
+ readonly children: ReactNode;
33
+ }): ReactNode;
31
34
  export declare function ChartDataDisclosure({ children, label, }: {
32
35
  readonly children: ReactNode;
33
36
  readonly label?: string | undefined;
@@ -26,6 +26,7 @@ export declare const chartStyles: Readonly<{
26
26
  readonly fill: stylex.StyleXClassNameFor<"fill", string>;
27
27
  readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
28
28
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
29
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
29
30
  readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
30
31
  }>;
31
32
  readonly mark: Readonly<{
@@ -43,7 +44,7 @@ export declare const chartStyles: Readonly<{
43
44
  readonly outlineColor: stylex.StyleXVar<string>;
44
45
  readonly outlineStyle: "solid";
45
46
  readonly outlineWidth: stylex.StyleXVar<string>;
46
- readonly outlineOffset: 2;
47
+ readonly outlineOffset: `calc(-1 * ${stylex.StyleXVar<string>})`;
47
48
  }>;
48
49
  }>;
49
50
  }>;
@@ -8,7 +8,7 @@ export declare const distributionStyles: Readonly<{
8
8
  readonly plot: Readonly<{
9
9
  readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
10
10
  readonly display: stylex.StyleXClassNameFor<"display", "grid">;
11
- readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "max-content minmax(0, 1fr)">;
11
+ readonly gridTemplateColumns: stylex.StyleXClassNameFor<"gridTemplateColumns", "minmax(0, max-content) minmax(0, 1fr)">;
12
12
  readonly gap: stylex.StyleXClassNameFor<"gap", string>;
13
13
  }>;
14
14
  readonly yAxis: Readonly<{
@@ -21,6 +21,11 @@ export declare const distributionStyles: Readonly<{
21
21
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
22
22
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
23
23
  readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
24
+ readonly maxWidth: stylex.StyleXClassNameFor<"maxWidth", 120>;
25
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
26
+ }>;
27
+ readonly plotArea: Readonly<{
28
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
24
29
  }>;
25
30
  readonly svg: Readonly<{
26
31
  readonly display: stylex.StyleXClassNameFor<"display", "block">;
@@ -42,6 +47,17 @@ export declare const distributionStyles: Readonly<{
42
47
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
43
48
  readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
44
49
  }>;
50
+ readonly tick: Readonly<{
51
+ readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 0">;
52
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
53
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
54
+ }>;
55
+ readonly middleTick: Readonly<{
56
+ readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "center">;
57
+ }>;
58
+ readonly endTick: Readonly<{
59
+ readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
60
+ }>;
45
61
  readonly axisNames: Readonly<{
46
62
  readonly gridColumn: stylex.StyleXClassNameFor<"gridColumn", "1 / -1">;
47
63
  readonly display: stylex.StyleXClassNameFor<"display", "flex">;
@@ -57,15 +73,19 @@ export declare const distributionStyles: Readonly<{
57
73
  readonly values: Readonly<{
58
74
  readonly display: stylex.StyleXClassNameFor<"display", "grid">;
59
75
  readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
76
+ readonly containerType: stylex.StyleXClassNameFor<"containerType", "inline-size">;
60
77
  }>;
61
78
  readonly value: Readonly<{
62
79
  readonly display: stylex.StyleXClassNameFor<"display", "flex">;
80
+ readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
63
81
  readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
64
- readonly gap: stylex.StyleXClassNameFor<"gap", string>;
82
+ readonly columnGap: stylex.StyleXClassNameFor<"columnGap", string>;
83
+ readonly rowGap: stylex.StyleXClassNameFor<"rowGap", string>;
65
84
  readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
66
85
  readonly width: stylex.StyleXClassNameFor<"width", "100%">;
67
86
  }>;
68
87
  readonly summary: Readonly<{
88
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
69
89
  readonly fontVariantNumeric: stylex.StyleXClassNameFor<"fontVariantNumeric", "tabular-nums">;
70
90
  readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
71
91
  readonly textAlign: stylex.StyleXClassNameFor<"textAlign", "end">;
@@ -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 {};
@@ -15,5 +15,6 @@ export type CollectionScrollProps = {
15
15
  readonly onEndReached?: (() => void) | undefined;
16
16
  readonly fill?: boolean;
17
17
  readonly endPosition?: 'start' | 'end';
18
+ readonly label?: string;
18
19
  };
19
- export declare function CollectionScroll({ children, endContent, onEndReached, fill, endPosition, }: CollectionScrollProps): ReactNode;
20
+ export declare function CollectionScroll({ children, endContent, onEndReached, fill, endPosition, label, }: CollectionScrollProps): ReactNode;
@@ -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 {};
@@ -5,10 +5,11 @@ type PierreDiffProps = {
5
5
  readonly files: ReadonlyArray<FileDiffMetadata>;
6
6
  readonly layout: 'unified' | 'split';
7
7
  readonly wrap: boolean;
8
+ readonly showUnchanged: boolean;
8
9
  readonly annotations: ReadonlyArray<DiffAnnotation>;
9
10
  readonly maxHeight: number;
10
11
  readonly label: string;
11
12
  };
12
13
  export declare function prepareDiff(source: DiffSource): ReadonlyArray<FileDiffMetadata>;
13
- export declare function PierreDiff({ files, layout, wrap, annotations, maxHeight, label }: PierreDiffProps): ReactNode;
14
+ export declare function PierreDiff({ files, layout, wrap, showUnchanged, annotations, maxHeight, label, }: PierreDiffProps): ReactNode;
14
15
  export {};
@@ -0,0 +1,64 @@
1
+ import * as stylex from '@stylexjs/stylex';
2
+ export declare const viewerStyles: Readonly<{
3
+ readonly root: Readonly<{
4
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
5
+ readonly borderWidth: stylex.StyleXClassNameFor<"borderWidth", 1>;
6
+ readonly borderStyle: stylex.StyleXClassNameFor<"borderStyle", "solid">;
7
+ readonly borderColor: stylex.StyleXClassNameFor<"borderColor", string>;
8
+ readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
9
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
10
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
11
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
12
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
13
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
14
+ }>;
15
+ readonly header: Readonly<{
16
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
17
+ readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
18
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
19
+ readonly justifyContent: stylex.StyleXClassNameFor<"justifyContent", "space-between">;
20
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
21
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
22
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
23
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
24
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
25
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
26
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
27
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
28
+ readonly borderBlockEndWidth: stylex.StyleXClassNameFor<"borderBlockEndWidth", 1>;
29
+ readonly borderBlockEndStyle: stylex.StyleXClassNameFor<"borderBlockEndStyle", "solid">;
30
+ readonly borderBlockEndColor: stylex.StyleXClassNameFor<"borderBlockEndColor", string>;
31
+ }>;
32
+ readonly label: Readonly<{
33
+ readonly flex: stylex.StyleXClassNameFor<"flex", "1 1 24ch">;
34
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
35
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
36
+ }>;
37
+ readonly actions: Readonly<{
38
+ readonly display: stylex.StyleXClassNameFor<"display", "flex">;
39
+ readonly flexWrap: stylex.StyleXClassNameFor<"flexWrap", "wrap">;
40
+ readonly alignItems: stylex.StyleXClassNameFor<"alignItems", "center">;
41
+ readonly gap: stylex.StyleXClassNameFor<"gap", string>;
42
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
43
+ }>;
44
+ readonly scrollRegion: Readonly<{
45
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
46
+ readonly outlineStyle: stylex.StyleXClassNameFor<"outlineStyle", "none">;
47
+ readonly ':focus-visible': stylex.StyleXClassNameFor<":focus-visible", {
48
+ readonly outlineWidth: stylex.StyleXVar<string>;
49
+ readonly outlineStyle: "solid";
50
+ readonly outlineColor: stylex.StyleXVar<string>;
51
+ readonly outlineOffset: `calc(-1 * ${stylex.StyleXVar<string>})`;
52
+ }>;
53
+ }>;
54
+ readonly note: Readonly<{
55
+ readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
56
+ readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
57
+ readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
58
+ readonly color: stylex.StyleXClassNameFor<"color", string>;
59
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
60
+ readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
61
+ readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
62
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
63
+ }>;
64
+ }>;
@@ -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>>;
@@ -7,5 +7,5 @@ export type { AgentAppearance, AgentAvatarColor, AgentAvatarProps, AgentAvatarSi
7
7
  export { AgentAvatar, agentAppearance, agentAvatarColors } from './agent-avatar.tsx';
8
8
  export { CopyValue } from './copy-value.tsx';
9
9
  export { Accordion, Collapsible } from './disclosure.tsx';
10
- export { Panel, Row, Stack, Columns, Divider } from './surfaces.tsx';
10
+ export { Panel, SurfaceLink, Row, Stack, Columns, Divider } from './surfaces.tsx';
11
11
  export { Text, Heading, Subheading, Muted, Identifier, Prose, Badge, Status } from './text.tsx';
@@ -1,7 +1,11 @@
1
1
  import type { ComponentProps, ReactNode } from 'react';
2
+ import type { PlacementStyle } from '../../foundations/src/style-composition.ts';
2
3
  type PanelProps = ComponentProps<'section'> & {
3
4
  readonly padded?: boolean;
4
5
  };
6
+ type SurfaceLinkProps = ComponentProps<'a'> & {
7
+ readonly xstyle?: PlacementStyle;
8
+ };
5
9
  type RowProps = ComponentProps<'div'> & {
6
10
  readonly between?: boolean;
7
11
  };
@@ -11,6 +15,7 @@ type StackProps = ComponentProps<'div'> & {
11
15
  type ColumnsProps = ComponentProps<'div'>;
12
16
  type DividerProps = ComponentProps<'hr'>;
13
17
  export declare function Panel({ padded, ...props }: PanelProps): ReactNode;
18
+ export declare function SurfaceLink({ xstyle, ...props }: SurfaceLinkProps): ReactNode;
14
19
  export declare function Row({ between, ...props }: RowProps): ReactNode;
15
20
  export declare function Stack({ compact, ...props }: StackProps): ReactNode;
16
21
  export declare function Columns(props: ColumnsProps): ReactNode;
@@ -4,6 +4,9 @@ export type { ProgressProps, MeterProps } from './progress.tsx';
4
4
  export { Progress, Meter } from './progress.tsx';
5
5
  export type { SkeletonProps, SkeletonTextProps, SpinnerProps } from './skeleton.tsx';
6
6
  export { Skeleton, SkeletonText, Spinner } from './skeleton.tsx';
7
- export { Toast } from './toast.tsx';
7
+ export type { ExternalToast as ToastOptions } from 'sonner';
8
+ export { toast } from 'sonner';
9
+ export type { ToasterProps } from './toast.tsx';
10
+ export { Toaster } from './toast.tsx';
8
11
  export type { AsyncRegionProps, ContentRevealProps } from './async-region.tsx';
9
12
  export { AsyncRegion, ContentReveal } from './async-region.tsx';
@@ -1,28 +1,6 @@
1
- import { Toast as BaseToast } from '@base-ui/react/toast';
2
- import type { ComponentProps, ReactNode } from 'react';
3
- type ToastViewportProps = ComponentProps<typeof BaseToast.Viewport>;
4
- type ToastRootProps = ComponentProps<typeof BaseToast.Root>;
5
- type ToastContentProps = ComponentProps<typeof BaseToast.Content>;
6
- type ToastTitleProps = ComponentProps<typeof BaseToast.Title>;
7
- type ToastDescriptionProps = ComponentProps<typeof BaseToast.Description>;
8
- type ToastCloseProps = ComponentProps<typeof BaseToast.Close>;
9
- declare function ToastViewport({ className, style, ...props }: ToastViewportProps): ReactNode;
10
- declare function ToastRoot({ className, style, ...props }: ToastRootProps): ReactNode;
11
- declare function ToastContent({ className, style, ...props }: ToastContentProps): ReactNode;
12
- declare function ToastTitle({ className, style, ...props }: ToastTitleProps): ReactNode;
13
- declare function ToastDescription({ className, style, ...props }: ToastDescriptionProps): ReactNode;
14
- declare function ToastClose(props: ToastCloseProps): ReactNode;
15
- export declare const Toast: {
16
- Provider: import("react").FC<import("@base-ui/react").ToastProviderProps>;
17
- Portal: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ToastPortalProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
- Viewport: typeof ToastViewport;
19
- Root: typeof ToastRoot;
20
- Content: typeof ToastContent;
21
- Title: typeof ToastTitle;
22
- Description: typeof ToastDescription;
23
- Close: typeof ToastClose;
24
- Action: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").ToastActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
25
- useManager: typeof BaseToast.useToastManager;
26
- createManager: typeof BaseToast.createToastManager;
1
+ import type { ReactNode } from 'react';
2
+ import type { ToasterProps as SonnerToasterProps } from 'sonner';
3
+ export type ToasterProps = Pick<SonnerToasterProps, 'id' | 'position' | 'hotkey' | 'expand' | 'duration' | 'visibleToasts' | 'closeButton' | 'offset' | 'mobileOffset' | 'dir' | 'swipeDirections' | 'containerAriaLabel'> & {
4
+ readonly closeButtonAriaLabel?: string;
27
5
  };
28
- export {};
6
+ export declare function Toaster({ closeButton, closeButtonAriaLabel, offset, mobileOffset, ...props }: ToasterProps): ReactNode;
@@ -6,27 +6,35 @@ export declare const fieldStyles: Readonly<{
6
6
  readonly gap: stylex.StyleXClassNameFor<"gap", string>;
7
7
  readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
8
8
  readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
9
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
10
+ readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
9
11
  }>;
10
12
  readonly label: Readonly<{
11
13
  readonly color: stylex.StyleXClassNameFor<"color", string>;
14
+ readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
12
15
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
16
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
13
17
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
18
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
14
19
  }>;
15
20
  readonly description: Readonly<{
16
21
  readonly margin: stylex.StyleXClassNameFor<"margin", 0>;
17
22
  readonly color: stylex.StyleXClassNameFor<"color", string>;
18
23
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
19
24
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
25
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
20
26
  }>;
21
27
  readonly error: Readonly<{
22
28
  readonly color: stylex.StyleXClassNameFor<"color", string>;
23
29
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
24
30
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;
31
+ readonly overflowWrap: stylex.StyleXClassNameFor<"overflowWrap", "anywhere">;
25
32
  }>;
26
33
  readonly input: Readonly<{
27
34
  readonly display: stylex.StyleXClassNameFor<"display", "block">;
28
35
  readonly boxSizing: stylex.StyleXClassNameFor<"boxSizing", "border-box">;
29
36
  readonly width: stylex.StyleXClassNameFor<"width", "100%">;
37
+ readonly minWidth: stylex.StyleXClassNameFor<"minWidth", 0>;
30
38
  readonly minHeight: stylex.StyleXClassNameFor<"minHeight", string>;
31
39
  readonly backgroundColor: stylex.StyleXClassNameFor<"backgroundColor", string>;
32
40
  readonly color: stylex.StyleXClassNameFor<"color", string>;
@@ -37,6 +45,7 @@ export declare const fieldStyles: Readonly<{
37
45
  readonly paddingBlock: stylex.StyleXClassNameFor<"paddingBlock", string>;
38
46
  readonly paddingInline: stylex.StyleXClassNameFor<"paddingInline", string>;
39
47
  readonly fontFamily: stylex.StyleXClassNameFor<"fontFamily", string>;
48
+ readonly fontWeight: stylex.StyleXClassNameFor<"fontWeight", string>;
40
49
  readonly WebkitFontSmoothing: stylex.StyleXClassNameFor<"WebkitFontSmoothing", "antialiased">;
41
50
  readonly fontSize: stylex.StyleXClassNameFor<"fontSize", string>;
42
51
  readonly lineHeight: stylex.StyleXClassNameFor<"lineHeight", string>;